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
bit 7
ICOD2
ICOD1
ICOD0
bit 0
bit 7-5
OPMOD: Operation Mode bits <2:0>
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: Interrupt Flag Code bits <2:0>
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
-n = Value at POR
W = Writable bit
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared x = Bit is unknown
‘1’ = Bit is set
© 2005 Microchip Technology Inc.
Preliminary
DS21801D-page 59