I2CxCNT

I2C Byte Count Register
Note:
  1. 1.It is recommended to write this register only when the module is idle (MMA = 0 or SMA = 0), or when the module is clock stretching (CSTR =1 or MDR = 1).
  2. 2.CNTIF is set on the 9th falling SCL edge when I2CxCNT = 0.
Name:
I2CxCNT
Address:
0x028D
Reset:
Access:
Bit76543210
CNT[7:0]
AccessR/WR/WR/WR/WR/WR/WR/WR/W
Resetxxxxxxxx

Bits 7:0 – CNT[7:0]: I2C Byte Count Register(1,2)

I2C Byte Count Register(1,2)

NameDescription
If receiving data: Count value decremented on 8th falling SCL edge when a new byte is loaded into I2CxRXB
If transmitting data: Count value is decremented on the 9th falling SCL edge when a new byte is moved from I2CxTXB