Datasheet
PIC18F47J53 FAMILY
DS39964B-page 314 Preliminary 2010 Microchip Technology Inc.
REGISTER 20-9: SSPxMSK: I
2
C™ SLAVE ADDRESS MASK REGISTER (7-BIT MASKING MODE)
(1, ACCESS FC8h; 2, F74h)
(1)
REGISTER 20-8: SSPxCON2: MSSPx CONTROL REGISTER 2 (I
2
C™ SLAVE MODE)
(1, ACCESS FC5h; 2, F71h)
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
GCEN ACKSTAT
(2)
ADMSK5 ADMSK4 ADMSK3 ADMSK2 ADMSK1 SEN
(1)
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
bit 7 GCEN: General Call Enable bit (Slave mode only)
1 = Enables interrupt when a general call address (0000h) is received in the SSPxSR
0 = General call address disabled
bit 6 ACKSTAT: Acknowledge Status bit
(2)
Unused in Slave mode.
bit 5-2 ADMSK<5:2>: Slave Address Mask Select bits (5-bit address masking)
1 = Masking of the corresponding bits of SSPxADD are enabled
0 = Masking of the corresponding bits of SSPxADD are disabled
bit 1 ADMSK1: Slave Address Least Significant bit(s) Mask Select bit
In 7-Bit Addressing mode:
1 = Masking of SSPxADD<1> only enabled
0 = Masking of SSPxADD<1> only disabled
In 10-Bit Addressing mode:
1 = Masking of SSPxADD<1:0> enabled
0 = Masking of SSPxADD<1:0> disabled
bit 0 SEN: Start Condition Enable/Stretch Enable bit
(1)
1 = Clock stretching is enabled for both slave transmit and slave receive (stretch enabled)
0 = Clock stretching is disabled
Note 1: If the I
2
C 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).
2: This bit is unimplemented in I
2
C Slave mode.
R/W-1 R/W-1 R/W-1 R/W-1 R/W-1 R/W-1 R/W-1 R/W-1
MSK7 MSK6 MSK5 MSK4 MSK3 MSK2 MSK1 MSK0
(2)
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
bit 7-0 MSK<7:0>: Slave Address Mask Select bits
1 = Masking of the corresponding bit of SSPxADD is enabled
0 = Masking of the corresponding bit of SSPxADD is disabled
Note 1: This register shares the same SFR address as SSPxADD and is only addressable in select MSSP
operating modes. See Section 20.5.3.4 “7-Bit Address Masking Mode” for more details.
2: MSK0 is not used as a mask bit in 7-bit addressing.