16.10.4 CAN General Interrupt Enable Register - CANGIE
Bit
7
ENIT
R/W
0
6
5
4
ENTX
R/W
0
3
ENERR
R/W
0
2
ENBX
R/W
0
1
0
ENBOFF ENRX
ENERG ENOVRT CANGIE
Read/Write
Initial Value
R/W
0
R/W
0
R/W
0
R/W
0
• 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 2 – ENBX: Enable Frame Buffer Interrupt
●
●
0 - interrupt disabled.
1- frame buffer interrupt enabled.
• Bit 1 – ENERG: Enable General Errors Interrupt
●
●
0 - interrupt disabled.
1- general errors interrupt enabled.
• Bit 0 – ENOVRT: Enable CAN Timer Overrun Interrupt
●
●
0 - interrupt disabled.
1- CAN timer interrupt overrun enabled.
ATmega16/32/64/M1/C1 [DATASHEET]
161
7647O–AVR–01/15