EasyManua.ls Logo

GigaDevice Semiconductor GD32F3x0 - Output Configuration; Analog Configuration; Figure 7-3. Basic Structure of Output Configuration

Default Icon
665 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
GD32F3x0 User Manual
128
Figure 7-2. Basic structure of Input configuration
Alternate Function Input
Input driver
Input
Status
Register
Vss
V
dd
I/O pin
ESD
protect
Read
7.3.5. Output configuration
When GPIO pin is configured as output:
The schmitt trigger input is activated.
The weak pull-up and pull-down resistors could be chosen.
The output buffer is enabled:
– Open-Drain mode: The pad outputs “0” 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 outputs “0” when a “0” in the output control register; while
the pad outputs “1” when a “1” in the output control register.
A read access to the port output control register gets the last written value in Push-Pull
mode
A read access to the port input status register gets the I/O state in Open-Drain mode
Figure 7-3. Basic structure of Output configuration shows the output configuration of the
GPIO pin.
Figure 7-3. Basic structure of Output configuration
Read
Vss
Output
Control
Register
Write
Read
/
Write
Alternate Function Output
Registers
Bit Operate
Output driver
V
dd
Input driver
Input
Status
Register
I/O pin
ESD
protect
7.3.6. Analog configuration
When GPIO pin is used as analog configuration:
The weak pull-up and pull-down resistors are disabled.
The output buffer is disabled.

Table of Contents