STM点滴一

就就是你用BSRR和BRR去改变管脚状态的时候,没有被中断打断的风险。也就不需要关闭中断。 This way, there is no risk that an IRQ occurs between the read and the modify access.” 用ODR操作GPIO的伪代码如下:     disable_irq() save_gpio_pin_sate = read_gpio_
相关文章
相关标签/搜索