AT32F425
Series Reference Manual
2022.03.30
Page 91
Ver 2.01
GPIOx_ODT
0x14
0x0000 0000
GPIOx_SCR
0x18
0x0000 0000
GPIOx_WPR
0x1C
0x0000 0000
GPIOx_MUXL
0x20
0x0000 0000
GPIOx_MUXH
0x24
0x0000 0000
GPIOx_CLR
0x28
0x0000 0000
GPIOx_HDRV
0x3C
0x0000 0000
6.3.1
GPIO configuration register (GPIOx_CFGR) (x=A/B/C/D/F)
Address offset: 0x00
Reset values: 0x28000000 for port A 0x00000000 for other ports
Bit
Register
Reset value
Type
Description
Bit
2y+1: 2y
IOMCy
0x2800 0000 rw
GPIOx mode configuration (y=0~15)
00: Input mode (reset state)
01: General-purpose output mode
10: Multiplexed function mode
11: Analog mode
6.3.2
GPIO output mode register (GPIOx_OMODER)
(x=A/B/C/D/F)
Bit
Register
Reset value
Type
Description
Bit 31: 16 Rserved
0x0000
resd
Always 0.
Bit 15: 0
OM
0x0000
rw
GPIOx output mode configuration (x=0…15)
These field is used to configure the output mode of the
GPIOx:
0: Push-pull (reset state)
1: Open-drain
6.3.3
GPIO drive capability register (GPIOx_ODRVR)
(x=A/B/C/D/F)
Address offset: 0x08
Reset values: 0x0C00 00C0 for port A 0x00000000 for other ports
Bit
Register
Reset value
Type
Description
Bit
2y+1: 2y
ODRVy
0x0000 0000 rw
GPIOx drive capability (y=0…15)
This field is used to configure the IO port drive capability.
x0: Normal sourcing/sinking strength
01: Large sourcing/sinking strength
11: Normal sourcing/sinking strength
6.3.4
GPIO pull-up/pull-down register (GPIOx_PULL)
(x=A/B/C/D/F)
Address offset: 0x0C
Reset values: 0x2400 0000 for port A 0x0000000 for other ports
Bit
Register
Reset value
Type
Description
Bit
2y+1: 2y
PULLy
0x2400 0000 rw
GPIOx pull-up/pull-down configuration (y=0…15)
This field is used to configure the pull-up/pull-down of the
IO port.
00: No pull-up, pull-down
01: Pull-up
10: Pull-down