29.9.6 SSPxCON2

MSSP Control Register 2
Note:
  1. The value that will be transmitted when the user initiates an Acknowledge sequence at the end of a receive.
  2. If the I2C module is active, these bits may not be set (no spooling) and the SSPxBUF may not be written (or writes to the SSPxBUF are disabled).
Name: SSPxCON2
Address: 0x191,0x19B

Control Register for I2C Operation Only

Bit 76543210 
 GCENACKSTATACKDTACKENRCENPENRSENSEN 
Access R/WR/W/HCR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bit 7 – GCEN

General Call Enable bit (Client mode only)
ValueNameDescription
x Host mode Don’t care
1 Client mode General call is enabled
0 Client mode General call is not enabled

Bit 6 – ACKSTAT Acknowledge Status bit (Host Transmit mode only)

ValueDescription
1 Acknowledge was not received from client
0 Acknowledge was received from client

Bit 5 – ACKDT

Acknowledge Data bit (Host Receive mode only)(1)
ValueDescription
1 Not Acknowledge
0 Acknowledge

Bit 4 – ACKEN

Acknowledge Sequence Enable bit(2)
ValueDescription
1 Initiates Acknowledge sequence on SDAx and SCLx pins, and transmits ACKDT data bit; 
automatically cleared by hardware
0 Acknowledge sequence is Idle

Bit 3 – RCEN

Receive Enable bit (Host Receive mode only)(2)
ValueDescription
1

Enables Receive mode for I2C

0

Receive is Idle

Bit 2 – PEN

Stop Condition Enable bit (Host mode only)(2)
ValueDescription
1 Initiates Stop condition on SDAx and SCLx pins; automatically cleared by hardware
0 Stop condition is Idle

Bit 1 – RSEN

Repeated Start Condition Enable bit (Host mode only)(2)
ValueDescription
1 Initiates Repeated Start condition on SDAx and SCLx pins; automatically cleared by hardware
0 Repeated Start condition is Idle

Bit 0 – SEN

Start Condition Enable bit (Host mode only)(2)
ValueDescription
1 Initiates Start condition on SDAx and SCLx pins; automatically cleared by hardware
0 Start condition is Idle
The value that will be transmitted when the user initiates an Acknowledge sequence at the end of a receive. If the I2C module is active, these bits may not be set (no spooling) and the SSPxBUF may not be written (or writes to the SSPxBUF are disabled).