Rainbow Electronics T89C51CC01 User Manual
Page 84
Advertising
84
T89C51CC01
Rev. D – 17-Dec-01
// 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
Advertising