If the RxNE bit is set and the data in the DR register is not read before the end of the last data reception, the BTF bit is set by hardware and the interface waits until BTF is cleared by a read in the DR register, stretching SCL low. 这个BTF位在主接收模式下,为什么在判断RXNE 等于1后,读DR的数,然后判断BTF是否为1,为1 的话再读一次DR。WHY? |
评分
查看全部评分
评分
查看全部评分