ADuCM320 Hardware Reference Manual
Address
Name
0x40020244
GP5OE
0x40020248
GP5PUL
0x4002024C
GP5IE
0x40020250
GP5IN
0x40020254
GP5OUT
0x40020258
GP5SET
0x4002025C
GP5CLR
0x40020260
GP5TGL
0x40020264
GP5ODE
REGISTER DETAILS: DIGITAL I/O
Note that not all bits are accessible to the user on some ports. Inaccessible bits are reserved and must be ignored. See Table 121 for more
details on the accessible bits.
GPIO Port Configuration Registers
Address: 0x40020000, Reset: See Table 122, Name: GP0CON
Address: 0x40020040, Reset: See Table 122, Name: GP1CON
Address: 0x40020080, Reset: See Table 122, Name: GP2CON
Address: 0x400200C0, Reset: See Table 122, Name: GP3CON
Address: 0x40020100, Reset: See Table 122, Name: GP4CON
Address: 0x40020240, Reset: See Table 122, Name: GP5CON
Table 123. Bit Descriptions for GP0CON, GP1CON, GP2CON, GP3CON, GP4CON, and GP5CON
Bits
Bit Name
[15:14]
CON7
[13:12]
CON6
[11:10]
CON5
[9:8]
CON4
[7:6]
CON3
[5:4]
CON2
[3:2]
CON1
[1:0]
CON0
1
Where x is 0 for Port 0, 1 for Port 1, 2 for Port 2, and 3 for Port 3.
GPIO Port Output Enable Registers
Address: 0x40020004, Reset: 0x00, Name: GP0OE
Address: 0x40020044, Reset: 0x00, Name: GP1OE
Address: 0x40020084, Reset: 0x00, Name: GP2OE
Address: 0x400200C4, Reset: 0x00, Name: GP3OE
Address: 0x40020104, Reset: 0x00, Name: GP4OE
Address: 0x40020244, Reset: 0x00, Name: GP5OE
Table 124. Bit Descriptions for GP0OE, GP1OE, GP2OE, GP3OE, GP4OE, and GP5OE
Bits
Bit Name
[7:0]
OE
Description
GPIO Port 5 output enable
GPIO Port 5 pull-down enable
GPIO Port 5 input path enable
GPIO Port 5 registered data input
GPIO Port 5 data output
GPIO Port 5 data out set
GPIO Port 5 data out clear
GPIO Port 5 pin toggle
GPIO Port 5 open-drain enable
Description
Configuration bits for Port x.7. See Table 121.
Configuration bits for Port x.6. See Table 121.
Configuration bits for Port x.5. See Table 121.
Configuration bits for Port x.4. See Table 121.
Configuration bits for Port x.3. See Table 121.
Configuration bits for Port x.2. See Table 121.
Configuration bits for Port x.1. See Table 121.
Configuration bits for Port x.0. See Table 121.
Description
Pin output drive enable
0: disable the output on the corresponding GPIO
1: enable the output on the corresponding GPIO
Rev. C | Page 97 of 196
Reset
1
See Table 122
See Table 122
See Table 122
See Table 122
See Table 122
See Table 122
See Table 122
See Table 122
UG-498
Reset
RW
0x00
RW
0x0
RW
0xF
RW
0xXX
R
0x0
RW
0x0
W
0x0
W
0x0
W
0x0
RW
Access
RW
RW
RW
RW
RW
RW
RW
RW
Reset
Access
See Table 122
RW
Need help?
Do you have a question about the ADuCM320 and is the answer not in the manual?
Questions and answers