EasyManua.ls Logo

ST STM32L4x6 - Figure 19. Input Floating;Pull Up;Pull down Configurations; Output Configuration

ST STM32L4x6
1693 pages
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...
General-purpose I/Os (GPIO) RM0351
260/1693 DocID024597 Rev 3
Figure 19. Input floating/pull up/pull down configurations
7.3.10 Output configuration
When the I/O port is programmed as output:
The output buffer is enabled:
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
The Schmitt trigger input is activated
The pull-up and pull-down resistors are activated 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
A read access to the output data register gets the last written value
Figure 20 shows the output configuration of the I/O port bit.
RQRII
SXOO
SXOO
RQRII
,2SLQ
9
'',2[
9
66
77/6FKPLWW
WULJJHU
9
66
9
'',2[
SURWHFWLRQ
GLRGH
SURWHFWLRQ
GLRGH
RQ
LQSXWGULYHU
RXWSXWGULYHU
GRZQ
XS
,QSXWGDWDUHJLVWHU
2XWSXWGDWDUHJLVWHU
5HDGZULWH
5HDG
%LWVHWUHVHWUHJLVWHUV
:ULWH
069

Table of Contents

Related product manuals