![ARTERY AT32F421 GPIO User Manual Download Page 5](http://html1.mh-extra.com/html/artery/at32f421-gpio/at32f421-gpio_user-manual_2977597005.webp)
AT32F421 GPIO user guide
2020.07.30
5
Rev.1.0.0
GPIO features
48-pin package (largest) has 39 multi-function bidirectional I/O ports
All I/O ports can be mapped to 16 external interrupt vectors
Almost all I/O ports are 5V tolerant (except for 4x OSC/OSC32 pins)
All fast IIOs, control registers accessible with fAHB speed
The peripheral function of the I/O pin can be locked through a specific operation to avoid
unwanted writing to I/O registers
Each GPIO pin can be individually configured by software as output (push-pull or open-drain),
input (with or without pull-up or pull-down) or an alternate function peripheral port
Optional current sourcing/sinking strength
Port bit set/clear register (GPIOx_BSRE) and port bit clear register (GPIOx_BRE) provide bit
access ability for the GPIOx_OPTDT register