ATMEGA16M1-MU Atmel, ATMEGA16M1-MU Datasheet - Page 183

no-image

ATMEGA16M1-MU

Manufacturer Part Number
ATMEGA16M1-MU
Description
IC MCU AVR 16K FLASH 32VQFN
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA16M1-MU

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
CAN, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, Temp Sensor, WDT
Program Memory Size
16KB (8K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 11x10b; D/A 1x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
32-VQFN Exposed Pad, 32-HVQFN, 32-SQFN, 32-DHVQFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Number Of I /o
-
19.10.3
8209D–AVR–11/10
CANGIT – CAN General Interrupt Register
• 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
– 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
Bit
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
ATmega16M1/32M1/64M1
SERG
R/W
3
0
CERG
R/W
2
0
FERG
R/W
1
0
AERG
R/W
0
0
CANGIT
183

Related parts for ATMEGA16M1-MU