当前位置:网站首页>STM32 reads IO high and low level status
STM32 reads IO high and low level status
2022-06-27 04:59:00 【The Embers】

With PC13 For example :
If it is set to input :
GPIO_ReadInputDataBit(GPIOC,GPIO_Pin_13);// Read input port PC13 value
If set to output :
GPIO_ReadOutputDataBit (GPIOC,GPIO_Pin_13); // Read input port PC13 value
I look at the original function , The difference between the two read functions is that the read registers are different , Namely :
GPIOx->IDR
GPIOx->ODR
边栏推荐
- 微服务系统设计——分布式缓存服务设计
- Microservice system design -- distributed lock service design
- Pycharm 中 Terminal 无法进入 venv 环境的问题
- Flink production problems (1.10)
- Quick sort (non recursive) and merge sort
- pycharm 如何安装 package
- 017 C语言基础:位域和typedef
- AcWing 第 57 场周赛---BC题挺好
- AD22 gerber files 点开 gerber steup 界面 有问题 官方解决方法
- Kotlin compose custom compositionlocalprovider compositionlocal
猜你喜欢

Microservice system design -- unified authentication service design

math_ Number set (number set symbol) and set theory

【Unity】UI交互组件之按钮Button&可选基类总结

【622. 设计循环队列】

微服务系统设计——服务注册与发现和配置设计

golang hello 安装环境异常【已解决】

Nignx configuring single IP current limiting
![[station B up dr_can learning notes] Kalman filter 3](/img/40/d3ec97be2f29b76a6c049c26ff4998.gif)
[station B up dr_can learning notes] Kalman filter 3

论文解读(LG2AR)《Learning Graph Augmentations to Learn Graph Representations》

stm32读取IO高低电平状态
随机推荐
AcWing 第 57 场周赛---BC题挺好
【622. 设计循环队列】
[array]bm94 rainwater connection problem - difficult
第1章 绪论
低代码开发平台NocoBase的安装
Quickly master asp Net authentication framework identity - reset password by mail
Advanced Mathematics (Seventh Edition) Tongji University exercises 1-10 personal solutions
Argo workflows - getting started with kubernetes' workflow engine
Learn crypto from Buu (Zhou Geng)
Quick sort (non recursive) and merge sort
Office VR porn, coquettish operation! The father of Microsoft hololens resigns!
笔记本电脑没有WiFi选项 解决办法
Laptop does not have WiFi option solution
Cultural tourism light show breaks the time and space constraints and shows the charm of night tour in the scenic spot
IOS development: understanding of dynamic library shared cache (dyld)
MySql最详细的下载教程
golang hello 安装环境异常【已解决】
es6 0622三
018 C语言基础:C文件读写
006 C language foundation: C storage class