ATTINY12L-4SU Atmel, ATTINY12L-4SU Datasheet - Page 41
![Microcontrollers (MCU) AVR 1K FLASH 64B EE 3V 4MHZ](/photos/16/11/161174/soic-8_sml.jpg)
ATTINY12L-4SU
Manufacturer Part Number
ATTINY12L-4SU
Description
Microcontrollers (MCU) AVR 1K FLASH 64B EE 3V 4MHZ
Manufacturer
Atmel
Datasheet
1.ATTINY12V-1SI.pdf
(94 pages)
Specifications of ATTINY12L-4SU
Processor Series
ATTINY1x
Core
AVR8
Data Bus Width
8 bit
Program Memory Type
Flash
Program Memory Size
1 KB
Maximum Clock Frequency
4 MHz
Number Of Programmable I/os
6
Number Of Timers
1
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Package / Case
SOIC
3rd Party Development Tools
EWAVR, EWAVR-BL
Development Tools By Supplier
ATAVRDRAGON, ATSTK500
Minimum Operating Temperature
- 40 C
Package
8SOIC EIAJ
Device Core
AVR
Family Name
ATtiny
Maximum Speed
4 MHz
Operating Supply Voltage
3.3|5 V
Interface Type
SPI
Operating Temperature
-40 to 85 °C
Lead Free Status / Rohs Status
Details
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATTINY12L-4SU
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
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