当前位置:网站首页>STM32 - GPIO input / output mode
STM32 - GPIO input / output mode
2022-07-03 01:36:00 【Spade fish】
GPIO I / O mode
List of articles
Eight modes of input and output
| Floating input | Open drain output |
|---|---|
| Pull up input | Push pull output |
| Drop down input | Push pull multiplexing |
| Analog input | Open drain multiplexing |
1、 Pull up resistance : Connect the uncertain signal to the high level through resistance, and initialize the electrical signal to the high level
2、 Pull down resistance : Connect the uncertain signal to the low level through resistance, and initialize the electrical signal to the low level
Four input modes :
Pull up input :
By default, the input pin data is 1 High level
analog signal 3.3v 5v 1.9v
digital signal 0 1

Drop down input :
The default input pin is 0
Low level

Floating input
That is, the pin is not connected to high level or low level , That is, the input pin is floating
The pin voltage is an uncertain value , Usually used for IIC,USART

Analog input :
analog signal : 3.3v 5v 1.9v
digital signal : 0 1
Commonly used in AD transformation

Four output modes :
Open drain output :

Can output 0 and 1
It is suitable for occasions with mismatched levels
To get a high level, you need to pull up the resistor

Open drain multiplexed output :

Internal and external functions :
TX1,MOSI,MISO,SCK,SS
Push pull output :

Can output high and low level 0 and 1
Applicable to two-way IO Use

Push pull multiplex output

GPIO The configuration when the port is used as the second function
Of on-chip and off-chip functions IIC Of SCL,SDL
边栏推荐
- MySQL foundation 06 DDL
- SSL flood attack of DDoS attack
- Learn the five skills you need to master in cloud computing application development
- Druid database connection pool
- 软考信息系统项目管理师_历年真题_2019下半年错题集_上午综合知识题---软考高级之信息系统项目管理师053
- 【面试题】1369- 什么时候不能使用箭头函数?
- Database SQL language 02 connection query
- Installation and use of serial port packet capturing / cutting tool
- Makefile中wildcard、patsubst、notdir的含义
- Concise analysis of redis source code 11 - Main IO threads and redis 6.0 multi IO threads
猜你喜欢

Soft exam information system project manager_ Real topic over the years_ Wrong question set in the second half of 2019_ Morning comprehensive knowledge question - Senior Information System Project Man

dotConnect for PostgreSQL数据提供程序

Using tensorboard to visualize the model, data and training process
![[androd] module dependency replacement of gradle's usage skills](/img/5f/968db696932f155a8c4a45f67135ac.png)
[androd] module dependency replacement of gradle's usage skills

Arduino dy-sv17f automatic voice broadcast

Three core issues of concurrent programming - "deep understanding of high concurrent programming"

软考信息系统项目管理师_历年真题_2019下半年错题集_上午综合知识题---软考高级之信息系统项目管理师053

C#应用程序界面开发基础——窗体控制(3)——文件类控件

Detailed explanation of Q-learning examples of reinforcement learning

A simple tool for analyzing fgui dependencies
随机推荐
Tâche 6: regroupement DBSCAN
Do not log in or log in to solve the problem that the Oracle database account is locked.
Leetcode skimming questions_ Sum of two numbers II - enter an ordered array
ThinkPHP+Redis实现简单抽奖
數學知識:臺階-Nim遊戲—博弈論
uniapp组件-uni-notice-bar通告栏
【QT】自定义控件的封装
MySQL --- 数据库查询 - 条件查询
给你一个可能存在 重复 元素值的数组 numbers ,它原来是一个升序排列的数组,并按上述情形进行了一次旋转。请返回旋转数组的最小元素。【剑指Offer】
【数据挖掘】任务6:DBSCAN聚类
What is tone. Diao's story
Why is it not recommended to use BeanUtils in production?
Database SQL language 01 where condition
Concise analysis of redis source code 11 - Main IO threads and redis 6.0 multi IO threads
MySQL basics 03 introduction to MySQL types
C#应用程序界面开发基础——窗体控制(4)——选择类控件
Is there anything in common between spot gold and spot silver
CF1617B Madoka and the Elegant Gift、CF1654C Alice and the Cake、 CF1696C Fishingprince Plays With Arr
openresty 缓存
[error record] the shutter component reports an error (no directionality widget found. | richtext widgets require a directionality)