uTank-木头
每一个你不满意的现在,都有一个你没有努力的曾经。

Baud Rate: 9600 NRZ
Serial Bit Format:
  1 Start Bit
  8 Data Bits
  1 Mode Bit
  1 Stop Bit

------------------------------------------
  11 Bits Total
LSB                                    MSB
Start 0 1 2 3 4 5 6 7 Mode Stop

Mode Bit: Master-to-Peripheral
The mode bit differentiates between ADDRESS bytes and DATA bytes.
ADDRESS bytes must be read by all peripherals, DATA bytes are only read by the peripheral that has been addressed.
The mode bit is set (logic one) to indicate an ADDRESS byte, and not set (logic zero) to indicate a DATA byte.

主控-->外设:模式位为1表示ADDRESS,模式位为0表示DATA。

Mode Bit: Peripheral-to-Master
The mode bit must be set on the last byte sent when data is sent from a Slave to the Master.

外设-->主控:模式位为1表示最后一个字节,模式位为0表示非最后一个字节。

 

posted on 2023-03-10 10:48  uTank  阅读(27)  评论(0编辑  收藏  举报