Portc Configuration Register - Digi NS7520B-1-C36 Hardware Reference Manual

Table of Contents

Advertisement

PORTC Configuration register

Address: FFB0 0028
The PORTC register configures the PORTC general-purpose input/output (GPIO pins).
Each of the PORTC GPIO pins can be individually programmed — as general-purpose
input or output, or special function input or output — as applicable. Table 31
describes the PORTC register; Table 32 shows the different configurations for each
bit.
31
30
15
14
Register bit assignment
Bits
D31:24
D23:16
D15:08
Table 31: PORTC register bit definition
29
28
27
26
CMODE
13
12
11
10
CSF
Access
Mnemonic
Reset
R/W
CMODE
'h10
R/W
CDIR
'h10
R/W
CSF
0
25
24
23
22
21
9
8
7
6
5
Description
PORTC mode
Configures the individual PORTC pins. Each bit in the
CMODE field corresponds to one of the PORTC bits; D31
controls PORTC7, D30 controls PORTC6, and so on.
PORTC data direction
Configures the individual PORTC pins. Each bit in the
CDIR field corresponds to one of the PORTC bits; D23
controls PORTC7, D22 controls PORTC6, and so on.
PORTC special function
Configures the individual PORTC pins. Each bit in the CSF
field correspond to one of the PORTC bits. D15 controls
PORTC7, D14 controls PORTC6, and so on.
w w w . d i g i e m b e d d e d . c o m
G E N M o d u l e
20
19
18
17
16
CDIR
4
3
2
1
0
CDATA
7 7

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NS7520B-1-C36 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Ns7520b seriesNs7520b-1-i46Ns7520b-1-c55

Table of Contents