
177
ATmega16M1/32M1/64M1 [DATASHEET]
8209E–AVR–11/2012
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
CANGIE – CAN General Interrupt Enable Register
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
– 1- transmit interrupt enabled
Bit 3 – ENERR: Enable MOb Errors Interrupt
– 0 - interrupt disabled
– 1- MOb errors interrupt enabled
Bit
765
43210
ENIT
ENBOFF
ENRX
ENTX
ENERR
ENBX
ENERG
ENOVRT
CANGIE
Read/write
R/W
Initial value
000
00000