![ARTERY AT32F435 Series Скачать руководство пользователя страница 116](http://html1.mh-extra.com/html/artery/at32f435-series/at32f435-series_reference-manual_2977592116.webp)
AT32F435/437
Series Reference Manual
2022.11.11
Page 116
Rev 2.03
6
GPIOs and IOMUX
6.1 Introduction
AT32F435 series supports up to 116 bidirectional I/O pins, which are grouped as eight categories,
namely PA0-PA15, PB0-PB15, PC0-PC15, PD0-PD15, PE0-PE15, PF0-PF15, PG0-PG15 and PH0-
PH3. Each of these pins features communication, control and data collection. In addition, their main
features also include:
Supports general-purpose I/O (GPIO) or multiplexed function I/O (IOMUX)
Each pin can be configured by software as floating input, pull-up/pull-down input, analog
input/output, push-pull/open-drain output, multiplexed push-pull/open-drain output
Each pin with individual weak pull-up/pull-down capability
Each pin’s output drive capability is configurable by software
Each pin can be configured as external interrupt input
Each pin can be locked
6.2 Function overview
6.2.1
GPIO structure
Each of the GPIO pins can be configured by software as four input modes (floating, pull-up/pull-down
and analog input) and four output modes (open-drain, push-pull, alternate function push-pull/open-drain
output)
Each I/O port bit can be programmed freely. However, I/O port registers must be accessed by half words
or bytes.
Figure 6-1 GPIO basic structure
IO
ESD
protect
SMT trigger
PU
PD
output data
output enable
input enable
input data
push/pull
strength control
analog input/output
AH
B
b
u
s
G
PI
O
co
n
tro
lle
r
Single IO
Analog
module
6.2.2
GPIO reset status
After power-on or system reset, all pins are configured as floating input mode except JATG-related pins.
JTAG pin configuration are as follows:
PA15/JTDI, PA13/JTMS and PB4/JNTRST in multiplexed pull-up mode;