EasyManua.ls Logo

GigaDevice Semiconductor GD32F3x0 - Alternate Function (AF) Configuration; Figure 7-4. Basic Structure of Analog Configuration; Figure 7-5. Basic Structure of Alternate Function 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
129
The schmitt trigger input is de-activated.
Read access to the port input status register gets the value “0”.
Figure 7-4. Basic structure of Analog configuration shows the analog configuration of the
GPIO pin.
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 to some
other pins by software.
When be configured as Alternate Function:
The output buffer is turned on 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 7-5. Basic structure of Alternate function configuration shows the alternate
function configuration of the GPIO pin.
Figure 7-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

Table of Contents

Related product manuals