UG-498
ADuCM320 Hardware Reference Manual
Rev. C | Page 96 of 196
REGISTER SUMMARY: DIGITAL I/O
Table 122. GPIO Register Summary
Address
Name
Description
Reset
RW
0x40020000
GP0CON
GPIO Port 0 configuration
0x0000
RW
0x40020004
GP0OE
GPIO Port 0 output enable
0x00
RW
0x40020008
GP0PUL
GPIO Port 0 pull-up enable
0x00
RW
0x4002000C
GP0IE
GPIO Port 0 input path enable
0xFF
RW
0x40020010
GP0IN
GPIO Port 0 registered data input
0xXX
R
0x40020014
GP0OUT
GPIO Port 0 data output
0x00
RW
0x40020018
GP0SET
GPIO Port 0 data out set
0x00
W
0x4002001C
GP0CLR
GPIO Port 0 data out clear
0x00
W
0x40020020
GP0TGL
GPIO Port 0 pin toggle
0x00
W
0x40020024
GP0ODE
GPIO Port 0 open-drain enable
0x00
RW
0x40020040
GP1CON
GPIO Port 1 configuration
0x0000
RW
0x40020044
GP1OE
GPIO Port 1 output enable
0x00
RW
0x40020048
GP1PUL
GPIO Port 1 pull-up enable
0x00
RW
0x4002004C
GP1IE
GPIO Port 1 input path enable
0xFF
RW
0x40020050
GP1IN
GPIO Port 1 registered data input
0xXX
R
0x40020054
GP1OUT
GPIO Port 1 data output
0x00
RW
0x40020058
GP1SET
GPIO Port 1 data out set
0x00
W
0x4002005C
GP1CLR
GPIO Port 1 data out clear
0x00
W
0x40020060
GP1TGL
GPIO Port 1 pin toggle
0x00
W
0x40020064
GP1ODE
GPIO Port 1 open-drain enable
0x00
RW
0x40020080
GP2CON
GPIO Port 2 configuration
0x0010
RW
0x40020084
GP2OE
GPIO Port 2 output enable
0x00
RW
0x40020088
GP2PUL
GPIO Port 2 pull-up enable
0x08
RW
0x4002008C
GP2IE
GPIO Port 2 input path enable
0xFF
RW
0x40020090
GP2IN
GPIO Port 2 registered data input
0xXX
R
0x40020094
GP2OUT
GPIO Port 2 data output
0x00
RW
0x40020098
GP2SET
GPIO Port 2 data out set
0x00
W
0x4002009C
GP2CLR
GPIO Port 2 data out clear
0x00
W
0x400200A0
GP2TGL
GPIO Port 2 pin toggle
0x00
W
0x400200A4
GP2ODE
GPIO Port 2 open-drain enable
0x00
RW
0x400200C0
GP3CON
GPIO Port 3 configuration
0x0000
RW
0x400200C4
GP3OE
GPIO Port 3 output enable
0x00
RW
0x400200C8
GP3PUL
GPIO Port 3 pull-up enable
0x00
RW
0x400200CC
GP3IE
GPIO Port 3 input path enable
0xFF
RW
0x400200D0
GP3IN
GPIO Port 3 registered data input
0xXX
R
0x400200D4
GP3OUT
GPIO Port 3 data output
0x00
RW
0x400200D8
GP3SET
GPIO Port 3 data out set
0x00
W
0x400200DC
GP3CLR
GPIO Port 3 data out clear
0x00
W
0x400200E0
GP3TGL
GPIO Port 3 pin toggle
0x00
W
0x400200E4
GP3ODE
GPIO Port 3 open-drain enable
0x00
RW
0x40020100
GP4CON
GPIO Port 4 configuration
0x0000
RW
0x40020104
GP4OE
GPIO Port 4 output enable
0x00
RW
0x40020108
GP4PUL
GPIO Port 4 pull-down enable
0x00
RW
0x4002010C
GP4IE
GPIO Port 4 input path enable
0xFF
RW
0x40020110
GP4IN
GPIO Port 4 registered data input
0xXX
R
0x40020114
GP4OUT
GPIO Port 4 data output
0x00
RW
0x40020118
GP4SET
GPIO Port 4 data out set
0x00
W
0x4002011C
GP4CLR
GPIO Port 4 data out clear
0x00
W
0x40020120
GP4TGL
GPIO Port 4 pin toggle
0x00
W
0x40020124
GP4ODE
GPIO Port 4 open-drain enable
0x00
RW
0x40020240
GP5CON
GPIO Port 5 configuration
0x00
RW