Figure 25. Output Configuration; Figure 26. Alternate Function Configuration - ST STM32G4 Series Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32G4 Series:
Table of Contents

Advertisement

General-purpose I/Os (GPIO)
Write
Read/write
8.3.11
Alternate function configuration
When the I/O port is programmed as alternate function:
The output buffer can be configured in open-drain or push-pull mode
The output buffer is driven by the signals coming from the peripheral (transmitter
enable and data)
The Schmitt trigger input is activated
The weak pull-up and pull-down resistors are activated or not depending on the value
in the GPIOx_PUPDR register
The data present on the I/O pin are sampled into the input data register every AHB
clock cycle
A read access to the input data register gets the I/O state
Figure 26
314/2083

Figure 25. Output configuration

Read
shows the Alternate function configuration of the I/O port bit.

Figure 26. Alternate function configuration

Alternate function input
To on-chip
peripheral
Read
Write
Read/write
From on-chip
Alternate function output
peripheral
on
TTL Schmitt
trigger
Input driver
Output driver
Output
control
on
TTL Schmitt
trigger
Input driver
Output driver
Output
control
RM0440 Rev 1
V
DDIOx
on/off
pull
up
V
DDIOx
on/off
P-MOS
pull
down
V
SS
N-MOS
Push-pull or
V
SS
Open-drain
VDDIOx
VDDIOx
on/off
Pull
up
on/off
V
DD
Pull
P-MOS
down
V
V
SS
SS
N-MOS
push-pull or
V
SS
open-drain
RM0440
V
DDIOx
protection
diode
I/O pin
protection
diode
V
SS
MS31478V1
protection
diode
I/O pin
protection
diode
MSv34756V1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32G4 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF