GD32VF103 User Manual
105
Input
Status
Register
Read
Alternate Function Input
Input driver
Schmitt
trigger
Vss
Vdd
I/O pin
ESD
protection
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 wh
en 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
Vdd
Output
Control
Register
Input
Status
Register
Write
Read/Write
Alternate Function Output
Read
Input driver
Output driver
I/O pin
Schmitt
trigger
Bit Operate
Registers
ESD
protection
Vdd
Vss