PIC18F248-E/L MICROCHIP [Microchip Technology], PIC18F248-E/L Datasheet - Page 204

no-image

PIC18F248-E/L

Manufacturer Part Number
PIC18F248-E/L
Description
28/40-Pin High-Performance, Enhanced Flash Microcontrollers with CAN Module
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
REGISTER 19-2:
DS41159E-page 202
PIC18FXX8
bit 7-5
bit 4
bit 3-1
bit 0
CANSTAT: CAN STATUS REGISTER
Legend:
R = Readable bit
-n = Value at POR
bit 7
OPMODE2:OPMODE0: Operation Mode Status bits
111 = Reserved
110 = Reserved
101 = Reserved
100 = Configuration mode
011 = Listen Only mode
010 = Loopback mode
001 = Disable mode
000 = Normal mode
Unimplemented: Read as ‘0’
ICODE2:ICODE0: Interrupt Code bits
When an interrupt occurs, a prioritized coded interrupt value will be present in the
ICODE2:ICODE0 bits. These codes indicate the source of the interrupt. The ICODE2:ICODE0
bits can be copied to the WIN2:WIN0 bits to select the correct buffer to map into the Access
Bank area. See Example 19-1 for code example.
111 = Wake-up on interrupt
110 = RXB0 interrupt
101 = RXB1 interrupt
100 = TXB0 interrupt
011 = TXB1 interrupt
010 = TXB2 interrupt
001 = Error interrupt
000 = No interrupt
Unimplemented: Read as ‘0’
OPMODE2 OPMODE1 OPMODE0
Note:
R-1
Before the device goes into Sleep mode, select Disable mode.
R-0
W = Writable bit
‘1’ = Bit is set
R-0
U-0
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
ICODE2
R-0
ICODE1
© 2006 Microchip Technology Inc.
R-0
x = Bit is unknown
ICODE0
R-0
U-0
bit 0

Related parts for PIC18F248-E/L