ATTINY12L-4PU Atmel, ATTINY12L-4PU Datasheet - Page 41

MCU 8-Bit ATtiny AVR RISC 1KB Flash 3.3V/5V 8-Pin PDIP

ATTINY12L-4PU

Manufacturer Part Number
ATTINY12L-4PU
Description
MCU 8-Bit ATtiny AVR RISC 1KB Flash 3.3V/5V 8-Pin PDIP
Manufacturer
Atmel
Datasheet

Specifications of ATTINY12L-4PU

Package
8PDIP
Device Core
AVR
Family Name
ATtiny
Maximum Speed
4 MHz
Operating Supply Voltage
3.3|5 V
Data Bus Width
8 Bit
Number Of Programmable I/os
6
Interface Type
SPI
Number Of Timers
1
Program Memory Size
1 KB
Program Memory Type
Flash
Operating Temperature
-40 to 85 °C
Processor Series
ATTINY1x
Core
AVR8
Maximum Clock Frequency
4 MHz
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
Package / Case
PDIP-8
3rd Party Development Tools
EWAVR, EWAVR-BL
Development Tools By Supplier
ATAVRDRAGON, ATSTK500
Minimum Operating Temperature
- 40 C
Lead Free Status / Rohs Status
 Details
Register Description
Timer/Counter0 Control
Register – TCCR0
Timer Counter 0 – TCNT0
1006F–AVR–06/07
• Bits 7..3 - Res: Reserved Bits
These bits are reserved bits in the ATtiny11/12 and always read as zero.
• Bits 2,1,0 - CS02, CS01, CS00: Clock Select0, Bit 2,1 and 0
The Clock Select0 bits 2,1 and 0 define the prescaling source of Timer0.
Table 18. Clock 0 Prescale Select
The Stop condition provides a Timer Enable/Disable function. The CK down-divided
modes are scaled directly from the CK oscillator clock. If the external pin modes are
used for Timer/Counter0, transitions on PB2/(T0) will clock the counter even if the pin is
configured as an output. This feature can give the user SW control of the counting.
The Timer/Counter0 is implemented as an up-counter with read and write access. If the
Timer/Counter0 is written and a clock source is present, the Timer/Counter0 continues
counting in the timer clock cycle following the write operation.
Bit
$33
Read/Write
Initial Value
Bit
$32
Read/Write
Initial Value
CS02
0
0
0
0
1
1
1
1
MSB
CS01
R/W
R
7
0
-
7
0
0
0
1
1
0
0
1
1
R/W
R
6
0
-
6
0
CS00
0
1
0
1
0
1
0
1
R/W
R
5
0
-
5
0
Description
Stop, the Timer/Counter0 is stopped.
CK
CK/8
CK/64
CK/256
CK/1024
External Pin T0, falling edge
External Pin T0, rising edge
R/W
4
0
R
4
0
-
R/W
3
0
3
R
0
-
R/W
2
0
CS02
R/W
2
0
R/W
ATtiny11/12
1
0
CS01
R/W
1
0
LSB
R/W
CS00
R/W
0
0
0
0
TCNT0
TCCR0
41

Related parts for ATTINY12L-4PU