DocID025202 Rev 7
156/1080
RM0365
General-purpose I/Os (GPIO)
171
registers. In this way, there is no risk of an IRQ occurring between the read and the modify
access.
and
show the basic structures of a standard and a 5 V tolerant I/O port
bit, respectively.
gives the possible port bit configurations.
Figure 17. Basic structure of an I/O port bit
Figure 18. Basic structure of a five-volt tolerant I/O port bit
1. V
DD_FT
is a potential specific to five-volt tolerant I/Os and different from V
DD
.
!LTERNATEFUNCTIONOUTPUT
!LTERNATEFUNCTIONINPUT
0USHPULL
OPENDRAINOR
DISABLED
)NP
U
T
DA
TA
RE
G
IS
TE
R
/UTP
UT
DA
TA
RE
GISTER
2EADWRITE
&ROMONCHIP
PERIPHERAL
4OONCHIP
PERIPHERAL
/UTPUT
CONTROL
!NALOG
ONOFF
0ULL
0ULL
DOWN
ONOFF
)/PIN
6
$$
6
$$
6
33
6
33
TRIGGER
6
33
6
$$
0ROTECTION
DIODE
0ROTECTION
DIODE
ONOFF
)NPUTDRIVER
/UTPUTDRIVER
UP
0-/3
.-/3
2EAD
"
IT
SE
T
RE
SE
T
REG
IST
ER
S
7RITE
!NALOG
AI
!LTERNATEFUNCTIONOUTPUT
!LTERNATEFUNCTIONINPUT
0USHPULL
OPENDRAINOR
DISABLED
/UT
P
UT
DATA
RE
GISTE
R
2EADWRITE
&ROMONCHIP
PERIPHERAL
4OONCHIP
PERIPHERAL
/UTPUT
CONTROL
!NALOG
ONOFF
0ULL
0ULL
ONOFF
)/PIN
6
$$
6
$$
6
33
6
33
44,3CHMITT
TRIGGER
6
33
6$$?&4
0ROTECTION
DIODE
0ROTECTION
DIODE
ONOFF
)NPUTDRIVER
/UTPUTDRIVER
DOWN
UP
0-/3
.-/3
2EAD
"IT
SET
RESET
REGIST
ERS
7RITE
!NALOG
)NPUT
DATA
RE
G
IST
E
R
AIB