32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F52220/HT32F52230
Features
▄
APB slave interface for register access
▄
EXTI source selection
▄
Configurable pin function for each GPIO, up to sixteen alternative functions on each pin
▄
AFIO lock mechanism
Functional Descriptions
External Interrupt Pin Selection
The GPIO pins are connected to the 16 EXTI lines as shown in the accompanying figure. For
example, the user can set the EXTI0PIN [3:0] field in the ESSR0 register to b0000 to select the
GPIO PA0 pin as EXTI line 0 input. Since not all the pins of the Port A ~ B pins are available in all
package types, please refer to the pin assignment section for detailed pin information. The setting
of the EXTInPIN [3:0] field is invalid when the corresponding pin is not available.
PA0
PB0
PC0
PD0
PE0
PA15
PB15
PC15
PD15
PE15
Figure 21. EXTI Channel Input Selection
Rev. 1.10
EXTIx Pin Selection
EXTI 0 PIN
000
001
010
011
100
EXTI 15 PIN
000
001
010
011
100
131 of 366
EXTI 0
EXTI 15
November 09, 2018
Need help?
Do you have a question about the HT32F52220 and is the answer not in the manual?