Datasheet

© 2007 Microchip Technology Inc. DS21291F-page 53
MCP2510
REGISTER 9-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
bit 7-5 OPMOD<2:0>: Operation Mode
000 = Device is in 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
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'
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