![GigaDevice Semiconductor GD32E23 Series User Manual Download Page 117](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32e23-series/gd32e23-series_user-manual_2225794117.webp)
GD32E23x User Manual
117
The output buffer is disabled.
The schmitt trigger input is de-activated.
Read access to the port input status register gets the value “0”.
Figure 6-4. Basic structure of Analog configuration
shows the analog configuration
of the
GPIO pin.
Figure 6-4. Basic structure of Analog configuration
Analog ( Input / Output )
I/O pin
ESD
protection
6.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 activated.
The weak pull-up and pull-down resistors could be chosen.
The data present on the I/O pin is sampled into the port input status register every AHB
clock cycle.
A read access to the port input status register gets the I/O state in Open-Drain mode.
A read access to the port output control register gets the last written value in Push-Pull
mode.
Figure 6-5. Basic structure of Alternate function configuration
function configuration
of the GPIO pin.
Figure 6-5. Basic structure of
Alternate function configuration
Vss
Input driver
Output driver
V
dd
I / O pin
ESD
protect
Alternate Function Output
Alternate Function Input