English
Language : 

AT89C51CC03 Datasheet, PDF (96/195 Pages) ATMEL Corporation – Enhanced 8-bit MCU with CAN Controller and Flash Memory
• Enable General CAN IT in the interrupt system register,
• Enable interrupt by message object, EICHi,
• Enable interrupt on error, ENERCH.
To enable an interrupt on general error:
• Enable General CAN IT in the interrupt system register,
• Enable interrupt on error, ENERG.
To enable an interrupt on Buffer-full condition:
• Enable General CAN IT in the interrupt system register,
• Enable interrupt on Buffer full, ENBUF.
To enable an interrupt when Timer overruns:
• Enable Overrun IT in the interrupt system register.
When an interrupt occurs, the corresponding message object bit is set in the SIT
register.
To acknowledge an interrupt, the corresponding CANSTCH bits (RXOK, TXOK,...) or
CANGIT bits (OVRTIM, OVRBUF,...), must be cleared by the software application.
When the CAN node is in transmission and detects a Form Error in its frame, a bit Error
will also be raised. Consequently, two consecutive interrupts can occur, both due to the
same error.
When a message object error occurs and is set in CANSTCH register, no general error
are set in CANGIE register.
96 AT89C51CC03
4182I–CAN–06/05