36.5.8 I2CxERR

I2C Error Register
Note:
  1. Enabled error interrupt flags are OR’ed to produce the PIRx[I2CxEIF] bit.
  2. User software must select the Bus Time-out source in the I2CxBTO register.
  3. NACKIF is also set when any of the TXWE, RXRE, TXU, or RXO bits are set.
  4. NACKIF is not set for the NACK response to a non-matching client address.
Name: I2CxERR
Address: 0x0297

Bit 76543210 
  BTOIFBCLIFNACKIF BTOIEBLCIENACKIE 
Access R/W/HSR/W/HSR/W/HSR/WR/WR/W 
Reset 000000 

Bit 6 – BTOIF  Bus Time-out Interrupt Flag(1,2)

ValueDescription
1 Bus time-out event occurred
0 No bus time-out event occurred

Bit 5 – BCLIF  Bus Collision Detect Interrupt Flag(1)

ValueDescription
1 Bus collision detected
0 No bus collision occurred

Bit 4 – NACKIF  NACK Detect Interrupt Flag(1,3,4)

ValueDescription
1 NACK detected on the bus (when SMA = 1 or MMA = 1)
0 No NACK detected on the bus

Bit 2 – BTOIE Bus Time-out Interrupt Enable

ValueDescription
1 Enable Bus Time-out interrupts
0 Disable Bus Time-out interrupts

Bit 1 – BLCIE Bus Collision Detect Interrupt Enable

ValueDescription
1 Enable Bus Collision interrupts
0 Disable Bus Collision interrupts

Bit 0 – NACKIE NACK Detect Interrupt Enable

ValueDescription
1 Enable NACK detect interrupts
0 Disable NACK detect interrupts
Enabled error interrupt flags are OR’ed to produce the PIRx[I2CxEIF] bit. User software must select the Bus Time-out source in the I2CxBTOI2CxBTO register. NACKIF is also set when any of the TXWE Transmit Write Error Status(1) , RXRE Receive Read Error Status(1) , TXU Transmit Underflow Status (used only when MODE I2C Mode Select = 0xx or MODE I2C Mode Select = 11x)(3) , or RXO Receive Overflow Status (used only when MODE I2C Mode Select = 0xx or MODE I2C Mode Select = 11x)(3) bits are set. NACKIF is not set for the NACK response to a non-matching client address.