HT32 MCU GPIO User's Guide
D/N: AN0681EN
Introduction
The HT32 MCU's General Purpose Input/Output pins (GPIO) along with the Alternate Function
Input/Output Control Unit (AFIO) provide a range of different pin control interfaces. These MCU
pins can be configured through these interfaces to communicate with external devices via digital or
analog methods. The HT32 MCUs provide a wide array of I/O alternative options to expand the
GPIO's flexibility to provide a range of alternative functions. Additionally, the External
Interrupt/Event Controller (EXTI) can detect signal states via configurations and quickly execute
external interrupt/event handling tasks according to the required conditions.
This application note will introduce the HT32 MCU GPIOs, AFIO and EXTI. It will provide a
detailed explanation of registers and API usage for each function, as well as characteristics for the
related configuration limitations. The application note is aimed at helping users quickly understand
these features, and will also discuss considerations for I/O design, assisting users to complete their
relevant circuit design efficiently.
Terms and Abbreviations:
AFIO: Alternate Function Input / Output Control Unit
CKCU: Clock Control Unit
ESD: Electrostatic Discharge
EFT: Electrical Fast Transient
EXTI: External Interrupt / Event Controller
GPIO: General Purpose Input / Output
NVIC: Nested Vectored Interrupt Controller
POC: Power On Control
AN0681EN V1.00
HT32 MCU GPIO User's Guide
1 / 54
September 6, 2024
Need help?
Do you have a question about the HT32 MCU and is the answer not in the manual?
Questions and answers