
88
T89C51CC01
Rev. D – 17-Dec-01
Table 40. CANGIT Register
CANGIT (S:9Bh)
CAN General Interrupt
Note: 1. These fields are Read Only.
Reset Value: 0x00 0000b
76543210
CANIT - OVRTIM OVRBUF SERG CERG FERG AERG
Bit
Number
Bit
Mnemonic Description
7CANIT
General interrupt flag (1)
This status bit is the image of all the CAN controller interrupts sent to the
interrupt controller.
Itcanbeusedinthecaseofthepollingmethod.
6-
Reserved
The values read from this bit is indeterminate. Do not set this bit.
5OVRTIM
Overrun CAN Timer
This status bit is set when the CAN timer switches 0xFFFF to 0x0000.
If the bit ETIM in the IE1 register is set, an interrupt is generated.
Clear this bit in order to reset the interrupt.
4OVRBUF
Overrun BUFFER
0 - no interrupt.
1 - IT turned on
This bit is set when the buffer is full.
Bit resetable by user.
seeFigure33.
3 SERG
Stuff error General
Detectionofmorethanfiveconsecutivebitswiththesamepolarity.
This flag can generate an interrupt. resetable by user.
2CERG
CRC error General
The receiver performs a CRC check on each destuffed received message from
thestartofframeuptothedatafield.
If this checking does not match with the destuffed CRC field, a CRC error is set.
This flag can generate an interrupt. resetable by user.
1FERG
Form error General
The form error results from one or more violations of the fixed form in the
following bit fields:
CRC delimiter
acknowledgment delimiter
end_of_frame
This flag can generate an interrupt. resetable by user.
0 AERG
Acknowledgment error General
No detection of the dominant bit in the acknowledge slot.
This flag can generate an interrupt. resetable by user.
Comentarios a estos manuales