15133| 4
|
GPIO_ReadInputDataBit GPIO_ReadOutputDataBit 有什么区别? |
5金钱
最佳答案简单来讲:GPIO_ReadInputDataBit(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin)读的是GPIOx_IDR,读的是当IO口设置为输入状态时候的IO口值
GPIO_ReadOutputDataBit(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin)读的是GPIOx_ODR,读的是当IO口设置为输出状态时候的IO口值
&nbs ...
| ||
| ||
| ||
现在,程序把烂铜烂铁变得智能化了,人呢,一旦离开了这烂铜烂铁就不知道干啥了
|
||
| ||
| ||
|手机版|OpenEdv-开源电子网
( 粤ICP备12000418号-1 )
GMT+8, 2025-6-25 06:49
Powered by OpenEdv-开源电子网
© 2001-2030 OpenEdv-开源电子网