AT32WB415
Series Reference Manual
2022.04.13
Page 80
Ver 2.00
6
General-purpose I/Os (GPIOs)
6.1 Introduction
AT32WB415 series supports up to 28 bidirectional I/O pins. Each of these pins features communication,
control and data collection.
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’s output drive capability and output signal slope is configureable by software
Each pin can be configured as external interrupt input
Each pin can be locked
6.2 Functional 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 words (32
bits).
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
A
H
B
b
u
s
G
P
IO
c
o
n
tr
o
ll
e
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.