GD32F10x User Manual
156
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. Basic structure of Output configuration
shows the output configuration.
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.
The schmitt trigger input is disabled.
The port input status register of this I/O port bit is “0”.
Figure 7-4. Basic structure of Analog configuration
shows the analog configuration.
Figure 7-4. Basic structure of Analog configuration
Analog ( Input / Output )
I/O pin
ESD
protection
7.3.7.
Alternate function (AF) configuration
To suit for different device packages, the GPIO supports some alternate functions mapped to
some other pins by software.
Содержание GD32F10 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F10x Arm Cortex M3 32 bit MCU User Manual Revision 2 6 Jun 2022 ...
Страница 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Страница 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Страница 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Страница 427: ...GD32F10x User Manual 427 value ...
Страница 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...