255
7679H–CAN–08/08
AT90CAN32/64/128
– 1 - burst receive interrupt: set when the frame buffer receive is completed.
• Bit 3 – SERG: Stuff Error General
Writing a logical one resets this interrupt flag.
– 0 - no interrupt.
– 1 - stuff error interrupt: detection of more than 5 consecutive bits with the same
polarity.
• Bit 2 – CERG: CRC Error General
Writing a logical one resets this interrupt flag.
– 0 - no interrupt.
– 1 - CRC error interrupt: the CRC check on destuffed message does not fit with the
CRC field.
• Bit 1 – FERG: Form Error General
Writing a logical one resets this interrupt flag.
– 0 - no interrupt.
– 1 - form error interrupt: one or more violations of the fixed form in the CRC delimiter,
acknowledgment delimiter or EOF.
• Bit 0 – AERG: Acknowledgment Error General
Writing a logical one resets this interrupt flag.
– 0 - no interrupt.
– 1 - acknowledgment error interrupt: no detection of the dominant bit in acknowledge
slot.
19.10.4
CAN General Interrupt Enable Register - CANGIE
• Bit 7 – ENIT: Enable all Interrupts
(Except for CAN Timer Overrun Interrupt)
– 0 - interrupt disabled.
– 1- CANIT interrupt enabled.
• Bit 6 – ENBOFF: Enable Bus Off Interrupt
– 0 - interrupt disabled.
– 1- bus off interrupt enabled.
• Bit 5 – ENRX: Enable Receive Interrupt
– 0 - interrupt disabled.
– 1- receive interrupt enabled.
• Bit 4 – ENTX: Enable Transmit Interrupt
– 0 - interrupt disabled.
Bit
7
6
5
4
3
2
1
0
ENIT
ENBOFF
ENRX
ENTX
ENERR
ENBX
ENERG
ENOVRT
CANGIE
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
Содержание AVR AT90CAN128
Страница 414: ...414 7679H CAN 08 08 AT90CAN32 64 128 32 2 QFN64...
Страница 415: ...415 7679H CAN 08 08 AT90CAN32 64 128...