![ARTERY AT32F435 Series Reference Manual Download Page 134](http://html1.mh-extra.com/html/artery/at32f435-series/at32f435-series_reference-manual_2977592134.webp)
AT32F435/437
Series Reference Manual
2022.11.11
Page 134
Rev 2.03
Note: Either PA0 or PC13 cannot be used as TAMPER_BPR and WKUP of PWC simultaneously.
6.2.12 External interrupt/wake-up lines
Each pin can be used as an external interrupt input. The corresponding pin should be configured as
input mode.
6.3 GPIO registers
Table 6-10 lists GPIO register map and their reset values. These peripheral registers must be
accessed by bytes (8 bits), half-words (16 bits) or words (32 bits).
Table 6-10 GPIO register m ap and reset value s
Register
Offset
Reset value
GPIOA_CFGR
0x00
0xA800 0000
GPIOx_CFGR(x =B,C,F)
0x00
0x0000 0280(B)
0x0000 0000
GPIOx_OMODER
0x04
0x0000 0000
GPIOx_ODRVR
0x08
0x0000 00C0(B)
0x0000 0000
GPIOA_PULL
0x0C
0x6400 0000(A)
GPIOx_PULL(x = B,C,F)
0x0C
0x0000 0100(B)
0x0000 0000
GPIOx_IDT
0x10
0x0000 XXXX
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..H)
Address offset: 0x00
Reset values: 0xa8000000 for port A 0x0000 0280 for port B 0x00000000 for other ports
Bit
Register
Reset value
Type
Description
Bit
2y+1: 2y
IOMCy
0xA800 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_OMODE) (x=A..H)
Bit
Register
Reset value
Type
Description
Bit 31: 16 Reserved
0x0000
resd
Always 0.
Bit 15: 0
OM
0x0000
rw
GPIOx output mode configuration
These field is used to configure the output mode of the
GPIOx:
0: Push-pull (reset state)
1: Open-drain