ADuCM310 Hardware Reference Manual
UG-549
Rev. C | Page 105 of 192
GPIO Port Pin Toggle Registers
Address: 0x40020020, Reset: 0x00, Name: GP0TGL
Address: 0x40020060, Reset: 0x00, Name: GP1TGL
Address: 0x400200A0, Reset: 0x00, Name: GP2TGL
Table 140. Bit Descriptions for GP0TGL, GP1TGL, and GP2TGL
Bits
Bit Name
Description
Reset
Access
[7:0]
TGL
Toggle the output of the port pin. Do not use the bit-band alias addresses
for this register.
0x00
W
0: clearing this bit has not effect.
1: set by user code to invert the corresponding GPIO pin.
GPIO Port Open Drain Enable Registers
Address: 0x40020024, Reset: 0x00, Name: GP0ODE
Address: 0x40020064, Reset: 0x00, Name: GP1ODE
Address: 0x400200A4, Reset: 0x00, Name: GP2ODE
Table 141. Bit Descriptions for GP0ODE, GP1ODE, and GP2ODE
Bits
Bit Name
Description
Reset
Access
[7:0]
ODE
Open drain enable.
0x00
RW
0: disable the open-drain output mode on corresponding GPIO.
1: enable the open-drain output mode on corresponding GPIO.