Push-pull output and open-drain output of stm32

Publisher:DelightWish123Latest update time:2018-07-06 Source: eefocusKeywords:stm32 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

First, look at the schematic diagram of STM32's GPIO as follows:


When the port is configured as output:

    Open-drain mode: When outputting 0, N-MOS is turned on, P-MOS is not activated, and outputs 0.

              When outputting 1, N-MOS is high impedance, P-MOS is not activated, and output is 1 (external pull-up circuit is required); this mode can use the port as a bidirectional IO.

    Push-pull mode: When output is 0, N-MOS is turned on, P-MOS is high impedance, and output is 0.

              When outputting 1, N-MOS is high impedance, P-MOS is turned on, and output is 1 (no external pull-up circuit is required).


Keywords:stm32 Reference address:Push-pull output and open-drain output of stm32

Previous article:The difference between STM32 push-pull output and open-drain output
Next article:STM32 uses SPI to control OLED module

Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号