![Analog Devices ADuCM355 Скачать руководство пользователя страница 220](http://html1.mh-extra.com/html/analog-devices/aducm355/aducm355_hardware-reference-manual_2939808220.webp)
UG-1262
Rev. B | Page 220 of 312
REGISTER DETAILS: DIGITAL INPUTS AND OUTPUTS
Not all bits are accessible to the user on every port. Inaccessible bits are reserved. See Table 255 for more details on the accessible bits.
GPIO PORT CONFIGURATION REGISTERS
Address: 0x40020000, Reset: 0x00000000, Name: GP0CON
Address: 0x40020040, Reset: 0x00000000, Name: GP1CON
Address: 0x40020080, Reset: 0x00000000, Name: GP2CON
Table 259. Bit Descriptions for GP0CON, GP1CON, GP2CON
Bits Bit
Name
Settings
Description
1
Access
[31:30] CON15
Configuration
Bits
R/W
[29:28] CON14
Configuration
Bits
R/W
[27:26] CON13
Configuration
Bits
R/W
[25:24] CON12
Configuration
Bits
R/W
[23:22] CON11
Configuration
Bits
R/W
[21:20] CON10
Configuration
Bits
R/W
[19:18] CON9
Configuration
Bits
R/W
[17:16] CON8
Configuration
Bits
R/W
[15:14] CON7
Configuration
Bits
R/W
[13:12] CON6
Configuration
Bits
R/W
[11:10] CON5
Configuration
Bits
R/W
[9:8]
CON4
Configuration Bits for Port x.4. See Table 255.
R/W
[7:6]
CON3
Configuration Bits for Port x.3. See Table 255.
R/W
[5:4]
CON2
Configuration Bits for Port x.2. See Table 255.
R/W
[3:2]
CON1
Configuration Bits for Port x.1. See Table 255.
R/W
[1:0]
CON0
Configuration Bits for Port x.0. See Table 255.
R/W
1
X is 0 for Port 0, 1 for Port 1, and 2 for Port 2.
GPIO PORT OUTPUT ENABLE REGISTERS
Address: 0x40020004, Reset: 0x0000, Name: GP0OEN
Address: 0x40020044, Reset: 0x0000, Name: GP1OEN
Address: 0x40020084, Reset: 0x0000, Name: GP2OEN
Table 260. Bit Descriptions for GP0OEN, GP1OEN, GP2OEN
Bits Bit
Name Settings Description
Access
[15:0]
OEN
Pin Output Drive Enable.
R/W
0
Disable the output on the corresponding GPIO.
1
Enable the output on the corresponding GPIO.
GPIO PORT INPUT/OUTPUT PULL-UP ENABLE REGISTERS
Address: 0x40020008, Reset: 0x2, Name: GP0PE
Address: 0x40020048, Reset: 0x0002, Name: GP1PE
Address: 0x40020088, Reset: 0x0000, Name: GP2PE
Table 261. Bit Descriptions for GP0PE, GP1PE, GP2PE
Bits Bit
Name Settings Description
Access
[15:0]
PUL
Pin Pull-Up Enable in Input and Output Mode.
R/W
0
Disable the pull-up resistor on the corresponding GPIO.
1
Enable the pull-up resistor on the corresponding GPIO.