UG-549
ADuCM310 Hardware Reference Manual
Rev. C | Page 104 of 192
GPIO Port Registered Data Input Registers
Address: 0x40020010, Reset: 0xXX, Name: GP0IN
Address: 0x40020050, Reset: 0xXX, Name: GP1IN
Address: 0x40020090, Reset: 0xXX, Name: GP2IN
Table 136. Bit Descriptions for GP0IN, GP1IN, and GP2IN
Bits
Bit Name
Description
Reset
Access
[7:0]
IN
Registered data input. Each bit reflects the state of the GPIO pin.
0xX
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 137. Bit Descriptions for GP0OUT, GP1OUT, and GP2OUT
Bits
Bit Name
Description
Reset
Access
[7:0]
OUT
Data out. Do not use the bit-band alias addresses for this register.
0x0000
RW
0: cleared by user to drive the corresponding GPIO low.
1: set by user code to drive the corresponding GPIO high.
GPIO Port Data Out Set Register
Address: 0x40020018, Reset: 0x00, Name: GP0SET
Address: 0x40020058, Reset: 0x00, Name: GP1SET
Address: 0x40020098, Reset: 0x00, Name: GP2SET
Table 138. Bit Descriptions for GP0SET, GP1SET, GP2SET
Bits
Bit Name
Description
Reset
Access
[7:0]
SET
Set the output high. Do not use the bit-band alias addresses for this register.
0x00
W
0: clearing this bit has no effect.
1: set by user code to drive the corresponding GPIO high.
GPIO Port Data Out Clear Registers
Address: 0x4002001C, Reset: 0x00, Name: GP0CLR
Address: 0x4002005C, Reset: 0x00, Name: GP1CLR
Address: 0x4002009C, Reset: 0x00, Name: GP2CLR
Table 139. Bit Descriptions for GP0CLR, GP1CLR, and GP2CLR
Bits
Bit Name
Description
Reset
Access
[7:0]
CLR
Set the output low. Do not use the bit-band alias addresses for this register.
0x00
W
0: clearing this bit has no effect.
1: each bit is set to drive the corresponding GPIO pin low.