ATA6613-EK Atmel, ATA6613-EK Datasheet - Page 179

no-image

ATA6613-EK

Manufacturer Part Number
ATA6613-EK
Description
BOARD DEMO LIN-MCM FOR ATA6613
Manufacturer
Atmel
Datasheets

Specifications of ATA6613-EK

Main Purpose
Interface, LIN + MCU
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
ATA6613
Primary Attributes
LIN-SBC (System-Basis-Chip) Transceiver, LIN 2.0, Voltage Regulator, Window Watchdog
Secondary Attributes
16 kB Flash, 4 Power Modes: Pre-Normal, Normal, Sleep, Silent, 48-QFN
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
6.15.8.6
6.15.8.7
9111H–AUTO–01/11
Timer/Counter2 Interrupt Mask Register – TIMSK2
Timer/Counter2 Interrupt Flag Register – TIFR2
Initial Value
Read/Write
• Bit 2 – OCIE2B: Timer/Counter2 Output Compare Match B Interrupt Enable
• Bit 1 – OCIE2A: Timer/Counter2 Output Compare Match A Interrupt Enable
• Bit 0 – TOIE2: Timer/Counter2 Overflow Interrupt Enable
• Bit 2 – OCF2B: Output Compare Flag 2 B
• Bit 1 – OCF2A: Output Compare Flag 2 A
Initial Value
Read/Write
When the OCIE2B bit is written to one and the I-bit in the Status Register is set (one), the
Timer/Counter2 Compare Match B interrupt is enabled. The corresponding interrupt is
executed if a compare match in Timer/Counter2 occurs, i.e., when the OCF2B bit is set in
the Timer/Counter 2 Interrupt Flag Register – TIFR2.
When the OCIE2A bit is written to one and the I-bit in the Status Register is set (one), the
Timer/Counter2 Compare Match A interrupt is enabled. The corresponding interrupt is
executed if a compare match in Timer/Counter2 occurs, i.e., when the OCF2A bit is set in
the Timer/Counter 2 Interrupt Flag Register – TIFR2.
When the TOIE2 bit is written to one and the I-bit in the Status Register is set (one), the
Timer/Counter2 Overflow interrupt is enabled. The corresponding interrupt is executed if
an overflow in Timer/Counter2 occurs, i.e., when the TOV2 bit is set in the Timer/Counter2
Interrupt Flag Register – TIFR2.
The OCF2B bit is set (one) when a compare match occurs between the Timer/Counter2
and the data in OCR2B – Output Compare Register2. OCF2B is cleared by hardware
when executing the corresponding interrupt handling vector. Alternatively, OCF2B is
cleared by writing a logic one to the flag. When the I-bit in SREG, OCIE2B
(Timer/Counter2 Compare match Interrupt Enable), and OCF2B are set (one), the
Timer/Counter2 Compare match Interrupt is executed.
The OCF2A bit is set (one) when a compare match occurs between the Timer/Counter2
and the data in OCR2A – Output Compare Register2. OCF2A is cleared by hardware
when executing the corresponding interrupt handling vector. Alternatively, OCF2A is
cleared by writing a logic one to the flag. When the I-bit in SREG, OCIE2A
(Timer/Counter2 Compare match Interrupt Enable), and OCF2A are set (one), the
Timer/Counter2 Compare match Interrupt is executed.
Bit
Bit
R
7
0
R
7
0
R
6
0
R
6
0
R
5
0
R
5
0
R
4
0
R
4
0
Atmel ATA6612/ATA6613
R
3
0
R
3
0
OCIE2B
OCF2B OCF2A
R/W
2
0
R/W
2
0
OCIE2A
R/W
R/W
1
0
1
0
TOIE2
TOV2
R/W
R/W
0
0
0
0
TIMSK2
TIFR2
179

Related parts for ATA6613-EK