atmega32c1 ATMEL Corporation, atmega32c1 Datasheet - Page 187

no-image

atmega32c1

Manufacturer Part Number
atmega32c1
Description
Atmega32m1 Automotive 8-bit Avr Microcontroller With 32k/64k Bytes In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
atmega32c1-15AZ
Manufacturer:
ATMEL
Quantity:
170
Part Number:
atmega32c1-15AZ
Manufacturer:
Atmel
Quantity:
10 000
16.10.3
7647A–AVR–02/08
CAN General Interrupt Register - CANGIT
• Bit 2 – ENFG: Enable Flag
This flag does not generate an interrupt.
• Bit 1 – BOFF: Bus Off Mode
BOFF gives the information of the state of the CAN channel. Only entering in bus off mode gen-
erates the BOFFIT interrupt.
• Bit 0 – ERRP: Error Passive Mode
ERRP gives the information of the state of the CAN channel. This flag does not generate an
interrupt.
• Bit 7 – CANIT: General Interrupt Flag
This is a read only bit.
• Bit 6 – BOFFIT: Bus Off Interrupt Flag
Writing a logical one resets this interrupt flag. BOFFIT flag is only set when the CAN enters in
bus off mode (coming from error passive mode).
• Bit 5 – OVRTIM: Overrun CAN Timer
Writing a logical one resets this interrupt flag. Entering in CAN timer overrun interrupt handler
also reset this interrupt flag
• Bit 4 – BXOK: Frame Buffer Receive Interrupt
Writing a logical one resets this interrupt flag. BXOK flag can be cleared only if all CONMOB
fields of the MOb’s of the buffer have been re-written before.
Initial Value
Read/Write
Bit
– 0 - CAN controller disable: because an enable/standby command is not immediately
– 1 - CAN controller enable.
– 0 - no bus off mode.
– 1 - bus off mode.
– 0 - no error passive mode.
– 1 - error passive mode.
– 0 - no interrupt.
– 1 - CAN interrupt: image of all the CAN controller interrupts except for OVRTIM
– 0 - no interrupt.
– 1 - bus off interrupt when the CAN enters in bus off mode.
– 0 - no interrupt.
– 1 - CAN timer overrun interrupt: set when the CAN timer switches from 0xFFFF to 0.
effective, this status gives the true state of the chosen mode.
interrupt. This bit can be used for polling method.
CANIT
R
7
0
BOFFIT
R/W
6
0
OVRTIM
R/W
5
0
BXOK
R/W
4
0
SERG
R/W
3
0
CERG
R/W
ATmega32/64/M1/C1
2
0
FERG
R/W
1
0
AERG
R/W
0
0
CANGIT
187

Related parts for atmega32c1