ATTINY261-20MU Atmel, ATTINY261-20MU Datasheet - Page 83
![IC MCU AVR 2K FLASH 20MHZ 32-QFN](/photos/12/13/121309/313-32-qfn_sml.jpg)
ATTINY261-20MU
Manufacturer Part Number
ATTINY261-20MU
Description
IC MCU AVR 2K FLASH 20MHZ 32-QFN
Manufacturer
Atmel
Series
AVR® ATtinyr
Specifications of ATTINY261-20MU
Core Processor
AVR
Core Size
8-Bit
Speed
20MHz
Connectivity
USI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Program Memory Size
2KB (1K x 16)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 11x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
32-VQFN Exposed Pad, 32-HVQFN, 32-SQFN, 32-DHVQFN
Processor Series
ATTINY2x
Core
AVR8
Data Bus Width
8 bit
Data Ram Size
128 B
Interface Type
2-Wire, SPI, USI
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
16
Number Of Timers
2
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
EWAVR, EWAVR-BL
Development Tools By Supplier
ATAVRDRAGON, ATSTK500, ATSTK600, ATAVRISP2, ATAVRONEKIT
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 11 Channel
Package
32MLF EP
Device Core
AVR
Family Name
ATtiny
Maximum Speed
20 MHz
Operating Supply Voltage
3.3|5 V
For Use With
ATSTK600 - DEV KIT FOR AVR/AVR32ATAVRBC100 - REF DESIGN KIT BATTERY CHARGER770-1007 - ISP 4PORT ATMEL AVR MCU SPI/JTAGATSTK505 - ADAPTER KIT FOR 14PIN AVR MCU
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATTINY261-20MU
Manufacturer:
AVNET
Quantity:
20 000
- Current page: 83 of 242
- Download datasheet (5Mb)
11.9.1
2588E–AVR–08/10
Reusing the temporary high byte register
The following code examples show how to do an atomic write of the TCNT0H/L register con-
tents. Writing any of the OCR0A/B registers can be done by using the same principle.
Note:
The assembly code example requires that the r17:r16 register pair contains the value to be writ-
ten to TCNT0H/L.
If writing to more than one 16-bit register where the high byte is the same for all registers written,
then the high byte only needs to be written once. However, note that the same rule of atomic
operation described previously also applies in this case.
Assembly Code Example
TIM0_WriteTCNT0:
C Code Example
void TIM0_WriteTCNT0( unsigned int i )
{
}
; Save global interrupt flag
in r18,SREG
; Disable interrupts
cli
; Set TCNT0 to r17:r16
out TCNT0H,r17
out TCNT0L,r16
; Restore global interrupt flag
out SREG,r18
ret
unsigned char sreg;
/* Save global interrupt flag */
sreg = SREG;
/* Disable interrupts */
_CLI();
/* Set TCNT0 to i */
TCNT0H = (i >> 8);
TCNT0L = (unsigned char)i;
/* Restore global interrupt flag */
SREG = sreg;
See
“Code Examples” on page
6.
83
Related parts for ATTINY261-20MU
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![ATtiny261](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![ATtiny261 Automotive](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![ATTINY261-20PU](/photos/6/80/68043/313-20-dip_tmb.jpg)
Part Number:
Description:
IC MCU AVR 2K FLASH 20MHZ 20-DIP
Manufacturer:
Atmel
Datasheet:
![ATTINY261-15MZ](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 2K FLASH 15MHZ 32-QFN
Manufacturer:
Atmel
Datasheet:
![ATTINY261-15MAZ](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 2KB FLASH 15MHZ 32-VQFN
Manufacturer:
Atmel
Datasheet:
![ATTINY261-20SU](/photos/6/80/68042/453-20-soic_tmb.jpg)
Part Number:
Description:
IC MCU AVR 2K FLASH 20MHZ 20SOIC
Manufacturer:
Atmel
Datasheet:
![attiny261-20su-20s2](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Attiny261 8-bit Microcontroller With 2/4/8k Bytes In-system Programmable Flash
Manufacturer:
ATMEL Corporation
Datasheet:
![ATTINY261-20SUR](/photos/6/80/68042/453-20-soic_tmb.jpg)
Part Number:
Description:
IC MCU AVR 2K FLASH 20MHZ 20SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY261-20MUR](/photos/12/13/121309/313-32-qfn_tmb.jpg)
Part Number:
Description:
IC MCU AVR 2K FLASH 20MHZ 32QFN
Manufacturer:
Atmel
Datasheet:
![ATtiny26](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet: