Output Configuration; Figure 20. Input Floating/Pull Up/Pull Down Configurations - ST STM32F40 Series Reference Manual

Hide thumbs Also See for STM32F40 Series:
Table of Contents

Advertisement

RM0090

Figure 20. Input floating/pull up/pull down configurations

Read
Write
Read/write
7.3.10

Output configuration

When the I/O port is programmed as output:
The output buffer is enabled:
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 AHB1
clock cycle
A read access to the input data register gets the I/O state
A read access to the output data register gets the last written value
Figure 21
input driver
output driver
Open drain mode: A "0" in the Output register activates the N-MOS whereas a "1"
in the Output register leaves the port in Hi-Z (the P-MOS is never activated)
Push-pull mode: A "0" in the Output register activates the N-MOS whereas a "1" in
the Output register activates the P-MOS
shows the output configuration of the I/O port bit.
Doc ID 018909 Rev 4
on
TTL Schmitt
trigger
General-purpose I/Os (GPIO)
V DD
V DD
on/off
protection
diode
pull
up
on/off
protection
pull
diode
down
V SS
V SS
I/O pin
ai15940b
194/1422

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f41 seriesStm32f42 seriesStm32f43 seriesRm0090

Table of Contents

Save PDF