ATtiny24 Atmel Corporation, ATtiny24 Datasheet - Page 93

no-image

ATtiny24

Manufacturer Part Number
ATtiny24
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATtiny24

Flash (kbytes)
2 Kbytes
Pin Count
14
Max. Operating Frequency
20 MHz
Cpu
8-bit AVR
# Of Touch Channels
4
Hardware Qtouch Acquisition
No
Max I/o Pins
12
Ext Interrupts
12
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
0.12
Eeprom (bytes)
128
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.8 to 5.5
Operating Voltage (vcc)
1.8 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
2
Output Compare Channels
4
Input Capture Channels
1
Pwm Channels
4
32khz Rtc
No
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATtiny24-15SSZ
Manufacturer:
ATMEL
Quantity:
349
Part Number:
ATtiny24-15SSZ
Manufacturer:
ATTINY
Quantity:
20 000
Part Number:
ATtiny24-20MU
Manufacturer:
AVNET
Quantity:
20 000
Part Number:
ATtiny24-20SSU
Manufacturer:
ATMEL
Quantity:
5 000
Part Number:
ATtiny24-20SSU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny24-20SSUR
Manufacturer:
ATMEL
Quantity:
6 000
Part Number:
ATtiny24A-CCU
Manufacturer:
ATMEL
Quantity:
1 001
Part Number:
ATtiny24A-CCU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATtiny24A-CCUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATtiny24A-MU
Manufacturer:
ATMEL
Quantity:
2 710
Part Number:
ATtiny24A-MU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATtiny24A-SSFR
Quantity:
1 900
Part Number:
ATtiny24A-SSU
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
ATtiny24A-SSU
Quantity:
12 500
8006K–AVR–10/10
(WGM13:0) bits and Compare Output mode (COM1x1:0) bits. The TOP and BOTTOM signals
are used by the Waveform Generator for handling the special cases of the extreme values in
some modes of operation
A special feature of Output Compare unit A allows it to define the Timer/Counter TOP value (i.e.,
counter resolution). In addition to the counter resolution, the TOP value defines the period time
for waveforms generated by the Waveform Generator.
Figure 12-4 on page 93
register and bit names indicates the device number (n = 1 for Timer/Counter 1), and the “x” indi-
cates Output Compare unit (A/B). The elements of the block diagram that are not directly a part
of the Output Compare unit are gray shaded.
Figure 12-4. Output Compare Unit, Block Diagram
The OCR1x Register is double buffered when using any of the twelve Pulse Width Modulation
(PWM) modes. For the Normal and Clear Timer on Compare (CTC) modes of operation, the
double buffering is disabled. The double buffering synchronizes the update of the OCR1x Com-
pare Register to either TOP or BOTTOM of the counting sequence. The synchronization
prevents the occurrence of odd-length, non-symmetrical PWM pulses, thereby making the out-
put glitch-free.
The OCR1x Register access may seem complex, but this is not case. When the double buffering
is enabled, the CPU has access to the OCR1x Buffer Register, and if double buffering is dis-
abled the CPU will access the OCR1x directly. The content of the OCR1x (Buffer or Compare)
Register is only changed by a write operation (the Timer/Counter does not update this register
automatically as the TCNT1 and ICR1 Register). Therefore OCR1x is not read via the high byte
temporary register (TEMP). However, it is a good practice to read the low byte first as when
accessing other 16-bit registers. Writing the OCR1x Registers must be done via the TEMP Reg-
OCRnxH Buf. (8-bit)
shows a block diagram of the Output Compare unit. The small “n” in the
OCRnxH (8-bit)
(“Modes of Operation” on page
BOTTOM
OCRnx Buffer (16-bit Register)
TEMP (8-bit)
TOP
OCRnx (16-bit Register)
OCRnxL Buf. (8-bit)
OCRnxL (8-bit)
DATA BUS
Waveform Generator
WGMn3:0
=
(16-bit Comparator )
(8-bit)
96).
COMnx1:0
TCNTnH (8-bit)
OCFnx (Int.Req.)
ATtiny24/44/84
TCNTn (16-bit Counter)
TCNTnL (8-bit)
OCnx
93

Related parts for ATtiny24