
GD32F403xx User Manual
138
8.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 8-4. Analog configuration
shows the analog configuration.
Figure 8-4. Analog configuration
Analog ( Input / Output )
I/O pin
ESD
protection
8.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.
When be configured as alternate function:
◼
The output buffer is
enabled in Open-Drain or Push-Pull configuration.
◼
The output buffer is driven by the peripheral.
◼
The schmitt trigger input is enabled.
◼
The weak pull-up and pull-down resistors could be chosen when input.
◼
The I/O pin data is stored into the port input status register every APB2 clock.
◼
A read access to the port input status register gets the I/O state.
◼
A read access to the port output control register gets the last written value.
Figure 8-5. Alternate function configuration
shows the alternate function configuration of
the GPIO pin.
Содержание GD32F403 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F403xx Arm Cortex M4 32 bit MCU User Manual Revision 2 6 Jul 2022 ...
Страница 177: ...GD32F403xx UserManual 177 Peripheral Channel 0 Channel 1 Channel 2 Channel 3 Channel 4 SDIO SDIO ...
Страница 217: ...GD32F403xx UserManual 217 ensures that no conversion is in progress ...