AT89C51CC03CA-7CTUM ATMEL [ATMEL Corporation], AT89C51CC03CA-7CTUM Datasheet - Page 105

no-image

AT89C51CC03CA-7CTUM

Manufacturer Part Number
AT89C51CC03CA-7CTUM
Description
Enhanced 8-bit MCU with CAN Controller and Flash Memory
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
AT89C51CC03
4. Interrupt routine
// Save the current CANPAGE
// Find the first message object which generate an interrupt in CANSIT1 and CANSIT2
// Select the corresponding message object
// Analyse the CANSTCH register to identify which kind of interrupt is generated
// Manage the interrupt
// Clear the status register CANSTCH = 00h;
// if it is not a channel interrupt but a general interrupt
// Manage the general interrupt and clear CANGIT register
// restore the old CANPAGE
105
4182K–CAN–05/06

Related parts for AT89C51CC03CA-7CTUM