Datasheet
PIC16(L)F1847
DS40001453E-page 262 2011-2013 Microchip Technology Inc.
FIGURE 25-24: SLAVE MODE GENERAL CALL ADDRESS SEQUENCE
25.5.9 SSPx MASK REGISTER
An SSPx Mask (SSPxMSK) register (Register 25-5) is
available in I
2
C Slave mode as a mask for the value
held in the SSPxSR register during an address
comparison operation. A zero (‘0’) bit in the SSPxMSK
register has the effect of making the corresponding bit
of the received address a “don’t care”.
This register is reset to all ‘1’s upon any Reset
condition and, therefore, has no effect on standard
SSPx operation until written with a mask value.
The SSPx Mask register is active during:
• 7-bit Address mode: address compare of A<7:1>.
• 10-bit Address mode: address compare of A<7:0>
only. The SSPx mask has no effect during the
reception of the first (high) byte of the address.
SDAx
SCLx
S
SSPxIF
BF (SSPxSTAT<0>)
Cleared by software
SSPxBUF is read
R/W = 0
ACK
General Call Address
Address is compared to General Call Address
Receiving Data
ACK
123456789123456789
D7 D6 D5 D4 D3 D2 D1 D0
after ACK
, set interrupt
GCEN (SSPxCON2<7>)
’1’