Reference Manual ADuCM356
REGISTER DETAILS: DIGITAL INPUTS AND OUTPUTS
analog.com Rev. A | 215 of 312
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.
GPIO PORT INPUT PATH ENABLE REGISTERS
Address: 0x4002000C, Reset: 0x0000, Name: GP0IEN
Address: 0x4002004C, Reset: 0x0002, Name: GP1IEN
Address: 0x4002008C, Reset: 0x0000, Name: GP2IEN
Table 262. Bit Descriptions for GP0IEN, GP1IEN, GP2IEN
Bits Bit Name Settings Description Access
[15:0] IEN Input Path Enable. Must be set for external interrupts and to read the pin value. R/W
0 Disable the input path on the corresponding GPIO.
1 Enable the input path on the corresponding GPIO.
GPIO PORT REGISTERED DATA INPUT REGISTERS
Address: 0x40020010, Reset: 0xXXXX, Name: GP0IN
Address: 0x40020050, Reset: 0xXXXX, Name: GP1IN
Address: 0x40020090, Reset: 0x0XXX, Name: GP2IN
Table 263. Bit Descriptions for GP0IN, GP1IN, GP2IN
Bits Bit Name Settings Description Access
[15:0] IN Registered Data Input. Each bit reflects the state of the GPIO pin. R
GPIO PORT DATA OUTPUT REGISTERS
Address: 0x40020014, Reset: 0x0000, Name: GP0OUT
Address: 0x40020054, Reset: 0x0000, Name: GP1OUT
Address: 0x40020094, Reset: 0x0000, Name: GP2OUT
Table 264. Bit Descriptions for GP0OUT, GP1OUT, GP2OUT
Bits Bit Name Settings Description Access
[15:0] OUT Data Output. Do not use the bit band alias addresses for this register. R/W
0 Cleared by user to drive the corresponding GPIO low.
1 Set by user code to drive the corresponding GPIO high.
GPIO PORT DATA OUTPUT SET REGISTERS
Address: 0x40020018, Reset: 0x0000, Name: GP0SET
Address: 0x40020058, Reset: 0x0000, Name: GP1SET
Address: 0x40020098, Reset: 0x0000, Name: GP2SET
Table 265. Bit Descriptions for GP0SET, GP1SET, GP2SET
Bits Bit Name Settings Description Access
[15:0] SET Set the Output High. Do not use the bit band alias addresses for this register. W