gpio_bit_set用法
时间: 2023-08-24 20:12:17 浏览: 195
引用\[2\]中提到了GPIO_WriteBit和GPIO_SetBits的区别,这两个函数是用来对多个引脚进行操作的。而在引用\[1\]中的gpio_desc结构中,可以看到flag属性中有FLAG_IS_OUT,这表示当前的GPIO引脚是输出模式。因此,可以推断出gpio_bit_set是用来设置GPIO引脚的输出状态的函数。具体的用法可能需要查看相关文档或代码来确认。
#### 引用[.reference_title]
- *1* *3* [gpio_device,gpio_chip 和 gpio_desc](https://blog.csdn.net/qq_23174771/article/details/130606416)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [【STM32日记】GPIO_WriteBit与GPIO_SetBit](https://blog.csdn.net/mada12/article/details/122833352)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文