ATtiny28L

Manufacturer Part NumberATtiny28L
ManufacturerAtmel Corporation
ATtiny28L datasheets
 

Specifications of ATtiny28L

Flash (kbytes)2 KbytesPin Count28
Max. Operating Frequency4 MHzCpu8-bit AVR
Hardware Qtouch AcquisitionNoMax I/o Pins11
Ext Interrupts10Usb SpeedNo
Usb InterfaceNoGraphic LcdNo
Video DecoderNoCamera InterfaceNo
Analog Comparators1Resistive Touch ScreenNo
Temp. SensorNoCrypto EngineNo
Sram (kbytes)0.03Self Program MemoryNO
Dram MemoryNoNand InterfaceNo
PicopowerNoTemp. Range (deg C)-40 to 85
I/o Supply Class1.8 to 5.5Operating Voltage (vcc)1.8 to 5.5
FpuNoMpu / Mmuno / no
Timers132khz RtcNo
Calibrated Rc OscillatorYes  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Page 31
32
Page 32
33
Page 33
34
Page 34
35
Page 35
36
Page 36
37
Page 37
38
Page 38
39
Page 39
40
Page 40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
Page 34/81

Download datasheet (664Kb)Embed
PrevNext
Timer/Counter0
Timer/Counter Prescaler
ATtiny28L/V
34
The ATtiny28 provides one general-purpose 8-bit Timer/Counter – Timer/Counter0.
Timer/Counter0 has prescaling selection from the 10-bit prescaling timer. The
Timer/Counter0 can either be used as a timer with an internal clock time base or as a
counter with an external pin connection that triggers the counting.
Figure 28 shows the Timer/Counter prescaler.
Figure 28. Timer/Counter0 Prescaler
CK
COUNT ENABLE
FROM MODULATOR
T0
CS00
CS01
CS02
The four different prescaled selections are: the hardware modulator period, CK/64,
CK/256 and CK/1028, where CK is the oscillator clock. CK, external source and stop
can also be selected as clock sources.
Figure 29 shows the block diagram for Timer/Counter0.
Figure 29. Timer/Counter0 Block Diagram
T/C0 OVER-
FLOW IRQ
INTERRUPT CONTROL
REGISTER (ICR)
TIMER/COUNTER0
(TCNT0)
10-BIT T/C PRESCALER
0
TIMER/COUNTER0 CLOCK SOURCE
TCK0
INTERRUPT FLAG
T/C0 CONTROL
REGISTER (IFR)
REGISTER (TCCR0)
CONTROL
LOGIC
T0
1062F–AVR–07/06