GD32F20x User Manual
137
Figure 7-2. Input configuration
shows the input configuration.
Figure 7-2. Input configuration
Vss
Vss
Vdd
/
Vdd_FT
(1)
Vdd
P
o
rt
in
p
u
t
st
a
tu
s
re
g
ist
e
r
Read
Input driver
I/O pin
Schmitt trigger
1. V
dd_FT
dedicated for five-volt tolerant I/Os and is different from V
dd
7.3.5.
Output configuration
When GPIO pin is configured as output:
The schmitt trigger input is enabled.
The weak pull-up and pull-down resistors are disabled.
The output buffer is enabled.
Open Drain Mode: The pad output low level
when a “0” in the output control register.
while the pad leaves Hi-
Z when a “1” in the output control register.
Push-Pull Mode: The pad output low level
when a “0” in the output control register;
while the pad output high level
when a “1” in the output control register.
A read access to the port output control register gets the last written value.
A read access to the port input status register gets the I/O state.
Figure 7-3. Output configuration
shows the output configuration.
Figure 7-3. Output configuration
Vss
Output
Control
V
dd
/V
dd_FT(1)
Port
output
control
register
Write
Read/Write
Output driver
I/O pin
Bit Operation/
Clear Registers
Vdd
Vss
Summary of Contents for GD32F20 Series
Page 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Page 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Page 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Page 385: ...GD32F20x User Manual 385 ...
Page 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...