ATTINY20-XUR Atmel, ATTINY20-XUR Datasheet - Page 104
![no-image](/images/manufacturer_photos/0/0/78/atmel_sml.jpg)
ATTINY20-XUR
Manufacturer Part Number
ATTINY20-XUR
Description
MCU AVR 2KB FLASH 12MHZ 14TSSOP
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheet
1.ATTINY20-EK1.pdf
(224 pages)
Specifications of ATTINY20-XUR
Core Processor
AVR
Core Size
8-Bit
Speed
12MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
12
Program Memory Size
2KB (1K x 16)
Program Memory Type
FLASH
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / Rohs Status
Details
- Current page: 104 of 224
- Download datasheet (6Mb)
12.11.9
104
ATtiny20
TIFR – Timer/Counter Interrupt Flag Register
Interrupt Vector (see
is set.
• Bit 4 – OCIE1A: Timer/Counter1, Output Compare A Match Interrupt Enable
When this bit is written to one, and the I-flag in the Status Register is set (interrupts globally
enabled), the Timer/Counter1 Output Compare A Match interrupt is enabled. The corresponding
Interrupt Vector (see
is set.
• Bit 3 – TOIE1: Timer/Counter1, Overflow Interrupt Enable
When this bit is written to one, and the I-flag in the Status Register is set (interrupts globally
enabled), the Timer/Counter1 Overflow interrupt is enabled. The corresponding Interrupt Vector
(see
• Bit 7 – ICF1: Timer/Counter1, Input Capture Flag
This flag is set when a capture event occurs on the ICP1 pin. When the Input Capture Register
(ICR1) is set by the WGM1[3:0] to be used as the TOP value, the ICF1 flag is set when the coun-
ter reaches the TOP value.
ICF1 is automatically cleared when the Input Capture Interrupt Vector is executed. Alternatively,
ICF1 can be cleared by writing a logic one to its bit location.
• Bit 5 – OCF1B: Timer/Counter1, Output Compare B Match Flag
This flag is set in the timer clock cycle after the counter (TCNT1) value matches the Output
Compare Register B (OCR1B).
Note that a Forced Output Compare (1B) strobe will not set the OCF1B flag.
OCF1B is automatically cleared when the Output Compare Match B Interrupt Vector is exe-
cuted. Alternatively, OCF1B can be cleared by writing a logic one to its bit location.
• Bit 4 – OCF1A: Timer/Counter1, Output Compare A Match Flag
This flag is set in the timer clock cycle after the counter (TCNT1) value matches the Output
Compare Register A (OCR1A).
Note that a Forced Output Compare (1A) strobe will not set the OCF1A flag.
OCF1A is automatically cleared when the Output Compare Match A Interrupt Vector is exe-
cuted. Alternatively, OCF1A can be cleared by writing a logic one to its bit location.
• Bit 3 – TOV1: Timer/Counter1, Overflow Flag
The setting of this flag is dependent of the WGM1[3:0] bits setting. In Normal and CTC modes,
the TOV1 flag is set when the timer overflows. See
behavior when using another WGM1[3:0] bit setting.
TOV1 is automatically cleared when the Timer/Counter1 Overflow Interrupt Vector is executed.
Alternatively, TOV1 can be cleared by writing a logic one to its bit location.
Bit
0x25
Read/Write
Initial Value
“Interrupts” on page
ICF1
R/W
7
0
“Interrupts” on page
“Interrupts” on page
38) is executed when the TOV1 flag, located in TIFR, is set.
R
6
–
0
OCF1B
R/W
5
0
38) is executed when the OCF1B flag, located in TIFR,
38) is executed when the OCF1A flag, located in TIFR,
OCF1A
R/W
4
0
TOV1
R/W
Table 12-5 on page 100
3
0
OCF0B
R/W
2
0
OCF0A
R/W
1
0
for the TOV1 flag
TOV0
R/W
0
0
8235B–AVR–04/11
TIFR
Related parts for ATTINY20-XUR
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![ATtiny20](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![ATTINY20-EK1](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
KIT EVAL TOUCH ATTINY20
Manufacturer:
Atmel
Datasheet:
![ATTINY20-SSU](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 2KB FLASH 12MHZ 14SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY20-XU](/photos/39/70/397027/tssop14_tmb.jpg)
Part Number:
Description:
MCU AVR 2KB FLASH 12MHZ 14TSSOP
Manufacturer:
Atmel
Datasheet:
![ATTINY20-MMH](/photos/30/99/309958/qfn-16_tmb.jpg)
Part Number:
Description:
MCU AVR 2KB FLASH 12MHZ 20QFN
Manufacturer:
Atmel
Datasheet:
![ATTINY20-MMHR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 2KB FLASH 12MHZ 20QFN
Manufacturer:
Atmel
Datasheet:
![ATTINY20-CCU](/photos/40/18/401808/ufbga-15_tmb.jpg)
Part Number:
Description:
MCU AVR 2KB FLASH 12MHZ 15UFBGA
Manufacturer:
Atmel
Datasheet:
![ATTINY20-CCUR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 2KB FLASH 12MHZ 15UFBGA
Manufacturer:
Atmel
Datasheet:
![ATTINY20-SSUR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
IC MCU AVR 2K FLASH 14SOIC
Manufacturer:
Atmel
Datasheet:
![ATSTK600](/photos/9/20/92038/atstk600_tmb.jpg)
Part Number:
Description:
DEV KIT FOR AVR/AVR32
Manufacturer:
Atmel
Datasheet:
![U641B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
![U4082B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
![U4089B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
![U4255BM-M](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet: