当前位置:网站首页>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
边栏推荐
- 015 basics of C language: C structure and common body
- Common programming abbreviations for orbit attitude
- 【B站UP DR_CAN学习笔记】Kalman滤波3
- 018 basics of C language: C file reading and writing
- EPICS记录参考5 -- 数组模拟输入记录Array Analog Input (aai)
- Matlab | drawing of three ordinate diagram based on block diagram layout
- Redis high availability cluster (sentry, cluster)
- Vue学习笔记(五)Vue2页面跳转问题 | vue-router路由概念、分类与使用 | 编程式路由导航 | 路由组件的缓存 | 5种路由导航守卫 | 嵌套路由 | Vue2项目的打包与部署
- 020 basics of C language: C language forced type conversion and error handling
- 微服务系统设计——API 网关服务设计
猜你喜欢

Cultural tourism light show breaks the time and space constraints and shows the charm of night tour in the scenic spot
![[BJDCTF2020]The mystery of ip](/img/f8/c3a7334252724635d42c8db3d1bbb0.png)
[BJDCTF2020]The mystery of ip

Microservice system design -- message caching service design

微服务系统设计——服务链路跟踪设计

渗透测试-文件上传/下载/包含

Microservice system design - service fusing and degradation design

Web3还没实现,Web5乍然惊现!
![[station B up dr_can learning notes] Kalman filter 2](/img/52/777f2ad2db786c38fd9cd3fe55142c.gif)
[station B up dr_can learning notes] Kalman filter 2

跟着BUU学习Crypto(周更)

1.5 conda的使用
随机推荐
021 C语言基础:递归,可变参数
[station B up dr_can learning notes] Kalman filter 3
013 basics of C language: C pointer
PostgreSQL basic command tutorial: create a new user admin to access PostgreSQL
014 C语言基础:C字符串
Cultural tourism night tour | stimulate tourists' enthusiasm with immersive visual experience
微服务系统设计——统一鉴权服务设计
微服务系统设计——微服务调用设计
017 basics of C language: bit field and typedef
【B站UP DR_CAN学习笔记】Kalman滤波2
Chapter 1 Introduction
016 C language foundation: C language enumeration type
Building lightweight target detection based on mobilenet-yolov4
Learn crypto from Buu (Zhou Geng)
2022-06-26:以下golang代码输出什么?A:true;B:false;C:编译错误。 package main import “fmt“ func main() { type
论文解读(LG2AR)《Learning Graph Augmentations to Learn Graph Representations》
流媒体协议初探(MPEG2-TS、RTSP、RTP、RTCP、SDP、RTMP、HLS、HDS、HSS、MPEG-DASH)
neo4j图数据库基本概念
低代码开发平台NocoBase的安装
【C语言】关键字的补充