ATTINY84V-10PU Atmel, ATTINY84V-10PU Datasheet - Page 96
![no-image](/images/manufacturer_photos/0/0/78/atmel_sml.jpg)
ATTINY84V-10PU
Manufacturer Part Number
ATTINY84V-10PU
Description
AVR MCU, 8K FLASH, 512B RAM, 512B EE
Manufacturer
Atmel
Datasheet
1.ATTINY84V-10PU.pdf
(233 pages)
Specifications of ATTINY84V-10PU
Controller Family/series
AVR Tiny
No. Of I/o's
12
Eeprom Memory Size
512Byte
Ram Memory Size
1KB
Cpu Speed
10MHz
Core Size
8bit
Program Memory Size
8KB
Oscillator Type
External, Internal
Processor Series
ATTINY8x
Core
AVR8
Data Bus Width
8 bit
Program Memory Type
Flash
Data Ram Size
512 B
Interface Type
SPI
Maximum Clock Frequency
10 MHz
Number Of Programmable I/os
12
Number Of Timers
2
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
Package / Case
PDIP-14
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 8 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATTINY84V-10PU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
- Current page: 96 of 233
- Download datasheet (3Mb)
14.3.1
14.4
96
Timer/Counter Clock Sources
ATtiny24/44/84
Reusing the Temporary High Byte Register
The following code examples show how to do an atomic write of the TCNT1 Register contents.
Writing any of the OCR1A/B or ICR1 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 TCNT1.
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.
The Timer/Counter can be clocked by an internal or an external clock source. The clock source
is selected by the Clock Select logic which is controlled by the Clock Select (CS12:0) bits
located in the Timer/Counter control Register B (TCCR1B). For details on clock sources and
prescaler, see
Assembly Code Example
C Code Example
TIM16_WriteTCNT1:
void TIM16_WriteTCNT1( unsigned int i )
{
}
; Save global interrupt flag
in r18,SREG
; Disable interrupts
cli
; Set TCNT1 to r17:r16
out TCNT1H,r17
out TCNT1L,r16
; Restore global interrupt flag
out SREG,r18
ret
unsigned char sreg;
unsigned int i;
/* Save global interrupt flag */
sreg = SREG;
/* Disable interrupts */
_CLI();
/* Set TCNT1 to i */
TCNT1 = i;
/* Restore global interrupt flag */
SREG = sreg;
1. See
”Timer/Counter Prescaler” on page
”About Code Examples” on page
(1)
(1)
7.
120.
8006F–AVR–02/07
Related parts for ATTINY84V-10PU
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![ATTINY84V-10MU](/photos/6/87/68751/313-20-qfn_tmb.jpg)
Part Number:
Description:
IC MCU AVR 8K FLASH 10MHZ 20-QFN
Manufacturer:
Atmel
Datasheet:
![ATTINY84V-10SSUR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 8KB FLASH 10MHZ 14SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY84V-10MUR](/photos/6/87/68751/313-20-qfn_tmb.jpg)
Part Number:
Description:
MCU AVR 8KB FLASH 10MHZ 20QFN
Manufacturer:
Atmel
Datasheet:
![ATTINY84V-10SSU](/photos/7/39/73946/313-14-soic_tmb.jpg)
Part Number:
Description:
MCU AVR 8K ISP FLASH 1.8V 14SOIC
Manufacturer:
Atmel
Datasheet:
![ATtiny84](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![ATtiny84 Automotive](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![ATTINY84-20MU](/photos/6/87/68751/313-20-qfn_tmb.jpg)
Part Number:
Description:
IC MCU AVR 8K FLASH 20MHZ 20-QFN
Manufacturer:
Atmel
Datasheet:
![ATTINY84-20SSU](/photos/7/39/73946/313-14-soic_tmb.jpg)
Part Number:
Description:
MCU AVR 8K ISP FLASH 2.7V 14SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY84-15MZ](/photos/12/32/123214/20-qfn-pc_tmb.jpg)
Part Number:
Description:
MCU AVR 8K FLASH 15MHZ 20-QFN
Manufacturer:
Atmel
Datasheet:
![ATTINY84-20PU](/photos/7/39/73953/313-14-dip_tmb.jpg)
Part Number:
Description:
IC MCU AVR 8K FLASH 20MHZ 14-DIP
Manufacturer:
Atmel
Datasheet:
![ATTINY84-20SSUR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 8KB FLASH 10MHZ 14SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY84-20MUR](/photos/6/87/68751/313-20-qfn_tmb.jpg)
Part Number:
Description:
MCU AVR 8KB FLASH 20MHZ 20QFN
Manufacturer:
Atmel
Datasheet:
![ATTINY261A-SU](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
IC, MCU, 8BIT, 2K FLASH, 20SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY261A-PU](/photos/19/6/190670/ge20pdip05-40_tmb.jpg)
Part Number:
Description:
IC, MCU, 8BIT, 2K FLASH, 20PDIP
Manufacturer:
Atmel
Datasheet:
![ATTINY861A-PU](/photos/19/6/190670/ge20pdip05-40_tmb.jpg)
Part Number:
Description:
IC, MCU, 8BIT, 8K FLASH, 20PDIP
Manufacturer:
Atmel
Datasheet: