Datasheet
2003-2012 Microchip Technology Inc. DS21801G-page 61
MCP2515
REGISTER 10-2: CANSTAT – CAN STATUS REGISTER
(ADDRESS: XEh)
R-1 R-0 R-0 U-0 R-0 R-0 R-0 U-0
OPMOD2 OPMOD1 OPMOD0 — ICOD2 ICOD1 ICOD0 —
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-5 OPMOD<2:0>: Operation mode bits
000 = Device is in the Normal Operation mode
001 = Device is in Sleep mode
010 = Device is in Loopback mode
011 = Device is in Listen-Only mode
100 = Device is in Configuration mode
bit 4 Unimplemented: Read as ‘0’
bit 3-1 ICOD<2:0>: Interrupt Flag Code bits
000 = No Interrupt
001 = Error Interrupt
010 = Wake-up Interrupt
011 = TXB0 Interrupt
100 = TXB1 Interrupt
101 = TXB2 Interrupt
110 = RXB0 Interrupt
111 = RXB1 Interrupt
bit 0 Unimplemented: Read as ‘0’