
AT32F413
Series Reference Manual
2022.06.27
Page 5
Rev 2.00
Introduction ................................................................................. 84
Function overview ........................................................................ 84
GPIO structure ............................................................................ 84
GPIO reset status ........................................................................ 85
General-purpose input configuration ............................................. 85
Analog input/output configuration ................................................. 85
General-purpose output configuration ........................................... 85
I/O port protection ....................................................................... 85
GPIO registers ............................................................................. 86
GPIO configuration register low (GPIOx_CFGLR) (x=A..F) ............. 86
GPIO configuration register high (GPIOx_CFGHR) (A..F)............... 87
GPIO input data register (GPIOx_IDT) (x=A..F) ............................. 87
GPIO output data register (GPIOx_ODT) (x= A..F) ......................... 87
GPIO set/clear register (GPIOx_SCR) (x=A..F) ............................. 88
GPIO clear register (GPIOx_CLR) (x=A..F) ................................... 88
GPIO write protection register (GPIOx_WPR) (x=A..F) ................... 88
Multiplexed function I/Os (IOMUX) ................................................ 89
Introduction ................................................................................. 89
Function overview ........................................................................ 89
IOMUX structure ......................................................................... 89
Multiplexed input configuration ..................................................... 90
Multiplexed output or bidirectional multiplexed configuration .......... 90
Peripheral multiplexed function configuration ................................ 90
IOMUX map priority ..................................................................... 90
Hardware preemption .............................................................. 91
Debug port priority .................................................................. 91
Other peripheral output priority ................................................ 91
External interrupt/wake-up lines ................................................... 91
IOMUX registers .......................................................................... 92
Event output control register (IOMUX_EVTOUT) ........................... 92
IOMUX remap register (IOMUX_REMAP) ...................................... 93
IOMUX external interrupt configuration register1 (IOMUX_EXINTC1) 95
IOMUX external interrupt configuration register2 (IOMUX_EXINTC2) 96
IOMUX external interrupt configuration register3 (IOMUX_EXINTC3) 96