PIC18C658-E/PT Microchip Technology, PIC18C658-E/PT Datasheet - Page 188

IC MCU OTP 16KX16 CAN 64TQFP

PIC18C658-E/PT

Manufacturer Part Number
PIC18C658-E/PT
Description
IC MCU OTP 16KX16 CAN 64TQFP
Manufacturer
Microchip Technology
Series
PIC® 18Cr

Specifications of PIC18C658-E/PT

Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
CAN, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
52
Program Memory Size
32KB (16K x 16)
Program Memory Type
OTP
Ram Size
1.5K x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 12x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
64-TFQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Other names
PIC18C658E/PT

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18C658-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC18CXX8
RXB0Interrupt
AccessBuffer
DS30475A-page 188
bcf
goto
; Copy CANCON.ICODE bits to CANSTAT.WIN bits
movf
andlw
movwf
movf
andlw
iorwf
movff
; Access current buffer…
; Your code
; Restore CANCON.WIN bits
movf
andlw
iorwf
; Do not need to restore CANSTAT - it is read-only register.
; Return from interrupt or check for another module interrupt source
PIR3, RXB0IF
AccessBuffer
TempCANCON, W
b’11110001’
TempCANCON
TempCANSTAT, W
b’00001110’
TempCANCON
TempCANCON, CANCON
CANCON, W
b’11110001’
TempCANCON
Advanced Information
; Clear the interrupt flag
; This is either TX or RX interrupt
; Clear CANCON.WIN bits before copying
; new ones.
; Use previously saved CANCON value to
; make sure same value.
; Copy masked value back to TempCANCON
; Retrieve ICODE bits
; Use previously saved CANSTAT value
; to make sure same value.
; Copy ICODE bits to WIN bits.
; Copy the result to actual CANCON
; Preserve current non WIN bits
; Restore original WIN bits
2000 Microchip Technology Inc.

Related parts for PIC18C658-E/PT