English
Language : 

PIC18F258 Datasheet, PDF (214/384 Pages) Microchip Technology – High Performance, 28/40-Pin Enhanced FLASH Microcontrollers with CAN
PIC18FXX8
REGISTER 19-20: RXERRCNT – RECEIVE ERROR COUNT REGISTER
R-0
REC7
bit 7
R-0
REC6
R-0
REC5
R-0
REC4
R-0
REC3
R-0
REC2
R-0
REC1
R-0
REC0
bit 0
bit 7-0
REC7:REC0: Receive Error Counter bits
This register contains the Receive Error value as defined by the CAN specifications.
When RXERRCNT > 127, the module will go into an error passive state. RXERRCNT does not
have the ability to put the module in “Bus-Off” state.
Legend:
R = Readable bit
- n = Value at POR
W = Writable bit
’1’ = Bit is set
U = Unimplemented bit, read as ‘0’
’0’ = Bit is cleared x = Bit is unknown
19.2.3.1 Message Acceptance Filters and
Masks
This subsection describes the Message Acceptance
filters and masks for the CAN Receive buffers.
REGISTER 19-21: RXFnSIDH – RECEIVE ACCEPTANCE FILTER n STANDARD IDENTIFIER FILTER,
HIGH BYTE
R/W-x
SID10
bit 7
R/W-x
SID9
R/W-x
SID8
R/W-x
SID7
R/W-x
SID6
R/W-x
SID5
R/W-x
SID4
R/W-x
SID3
bit 0
bit 7-0
SID10:SID3: Standard Identifier Filter bits, if EXIDEN = 0
Extended Identifier Filter bits EID28:EID21, if EXIDEN = 1
Legend:
R = Readable bit
- n = Value at POR
W = Writable bit
’1’ = Bit is set
U = Unimplemented bit, read as ‘0’
’0’ = Bit is cleared x = Bit is unknown
REGISTER 19-22: RXFnSIDL – RECEIVE ACCEPTANCE FILTER n STANDARD IDENTIFIER FILTER,
LOW BYTE
R/W-x
SID2
bit 7
R/W-x
SID1
R/W-x
SID0
U-0
R/W-x
U-0
—
EXIDEN
—
R/W-x
EID17
R/W-x
EID16
bit 0
bit 7-5
bit 4
bit 3
bit 2
bit 1-0
SID2:SID0: Standard Identifier Filter bits, if EXIDEN = 0
Extended Identifier Filter bits EID20:EID18, if EXIDEN = 1
Unimplemented: Read as ’0’
EXIDEN: Extended Identifier Filter Enable bit
1 = Filter will only accept Extended ID messages
0 = Filter will only accept Standard ID messages
Unimplemented: Read as ’0’
EID17:EID16: Extended Identifier Filter bits
Legend:
R = Readable bit
- n = Value at POR
W = Writable bit
’1’ = Bit is set
U = Unimplemented bit, read as ‘0’
’0’ = Bit is cleared x = Bit is unknown
DS41159B-page 212
Preliminary
 2002 Microchip Technology Inc.