37.5.7 I2CxPIE

I2C Interrupt and Hold Enable Register
Note:
  1. Enabled interrupt flags are OR’ed to produce the PIRx[I2CxIF] bit.
  2. When ACKTIE is set (ACKTIE = 1) and ACKTIF becomes set (ACKTIF = 1), if an ACK is generated, CSTR is also set. If a NACK is generated, CSTR remains unchanged.
  3. When WRIE is set (WRIE = 1) and WRIF becomes set (WRIF = 1), CSTR is also set.
  4. When ADRIE is set (ADRIE = 1) and ADRIF becomes set (ADRIF = 1), CSTR is also set.
Name: I2CxPIE
Offset: 0x029B

Bit 76543210 
 CNTIEACKTIE WRIEADRIEPCIERSCIESCIE 
Access R/WR/WR/WR/WR/WR/WR/W 
Reset 0000000 

Bit 7 – CNTIE  Byte Count Interrupt Enable(1)

ValueDescription
1 Enables Byte Count interrupts
0 Disables Byte Count interrupts

Bit 6 – ACKTIE  Acknowledge Status Time Interrupt and Hold Enable(1,2)

ValueDescription
1 Enables Acknowledge Status Time Interrupt and Hold condition
0 Disables Acknowledge Status Time Interrupt and Hold condition

Bit 4 – WRIE  Data Write Interrupt and Hold Enable(1,3)

ValueDescription
1 Enables Data Write Interrupt and Hold condition
0 Disables Data Write Interrupt and Hold condition

Bit 3 – ADRIE  Address Interrupt and Hold Enable(1,4)

ValueDescription
1 Enables Address Interrupt and Hold condition
0 Disables Address Interrupt and Hold condition

Bit 2 – PCIE  Stop Condition Interrupt Enable(1)

ValueDescription
1 Enables interrupt on the detection of a Stop condition
0 Disables interrupt on the detection of a Stop condition

Bit 1 – RSCIE  Restart Condition Interrupt Enable(1)

ValueDescription
1 Enables interrupt on the detection of a Restart condition
0 Disables interrupt on the detection of a Restart condition

Bit 0 – SCIE  Stop Condition Interrupt Enable(1)

ValueDescription
1 Enables interrupt on the detection of a Start condition
0 Disables interrupt on the detection of a Start condition
Enabled interrupt flags are OR’ed to produce the PIRx[I2CxIF] bit. When ACKTIE is set (ACKTIE = 1) and ACKTIF Acknowledge Status Time Interrupt Flag (used only when MODE I2C Mode Select = 0xx or MODE = 11x)(1,2) becomes set (ACKTIF = 1), if an ACK is generated, CSTR Client Clock Stretching(3) is also set. If a NACK is generated, CSTR remains unchanged. When WRIE is set (WRIE = 1) and WRIF Data Write Interrupt Flag (used only when MODE I2C Mode Select = 0xx or MODE = 11x)(1) becomes set (WRIF = 1), CSTR Client Clock Stretching(3) is also set. When ADRIE is set (ADRIE = 1) and ADRIF Address Interrupt Flag (used only when MODE I2C Mode Select = 0xx or MODE = 11x)(1) becomes set (ADRIF = 1), CSTR Client Clock Stretching(3) is also set.