ATTINY461V-10PU Atmel, ATTINY461V-10PU Datasheet - Page 85

Microcontrollers (MCU) 4kB Flash 0.256kB EEPROM 16 I/O Pins

ATTINY461V-10PU

Manufacturer Part Number
ATTINY461V-10PU
Description
Microcontrollers (MCU) 4kB Flash 0.256kB EEPROM 16 I/O Pins
Manufacturer
Atmel
Datasheets

Specifications of ATTINY461V-10PU

Processor Series
ATTINY4x
Core
AVR8
Data Bus Width
8 bit
Data Ram Size
256 B
Interface Type
2-Wire/SPI/USI
Maximum Clock Frequency
10 MHz
Number Of Programmable I/os
16
Number Of Timers
2
Operating Supply Voltage
2.7 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
Minimum Operating Temperature
- 40 C
On-chip Adc
11-ch x 10-bit
Program Memory Type
Flash
Program Memory Size
4 KB
Package / Case
PDIP-20
Package
20PDIP
Device Core
AVR
Family Name
ATtiny
Maximum Speed
10 MHz
Ram Size
256 Byte
Operating Temperature
-40 to 85 °C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATTINY461V-10PU
Manufacturer:
ATMEL
Quantity:
6 223
11.10.2
11.10.3
2588E–AVR–08/10
TCCR0B – Timer/Counter0 Control Register B
TCNT0L – Timer/Counter0 Register Low Byte
• Bit 4 – TSM: Timer/Counter Synchronization Mode
Writing the TSM bit to one activates the Timer/Counter Synchronization mode. In this mode, the
value that is written to the PSR0 bit is kept, hence keeping the Prescaler Reset signal asserted.
This ensures that the Timer/Counter is halted and can be configured without the risk of advanc-
ing during configuration. When the TSM bit is written to zero, the PSR0 bit is cleared by
hardware, and the Timer/Counter start counting.
• Bit 3 – PSR0: Prescaler Reset Timer/Counter0
When this bit is one, the Timer/Counter0 prescaler will be Reset. This bit is normally cleared
immediately by hardware, except if the TSM bit is set.
• Bits 2: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 11-4.
If external pin modes are used for the Timer/Counter0, transitions on the T0 pin will clock the
counter even if the pin is configured as an output. This feature allows software control of the
counting.
The Timer/Counter0 Register Low Byte, TCNT0L, gives direct access, both for read and write
operations, to the Timer/Counter unit 8-bit counter. Writing to the TCNT0L Register blocks (dis-
ables) the Compare Match on the following timer clock. Modifying the counter (TCNT0L) while
the counter is running, introduces a risk of missing a Compare Match between TCNT0L and the
OCR0x Registers. In 16-bit mode the TCNT0L register contains the lower part of the 16-bit
Timer/Counter0 Register.
Bit
0x33 (0x53)
Read/Write
Initial Value
Bit
0x32 (0x52)
Read/Write
Initial Value
CS02
0
0
0
0
1
1
1
1
CS01
0
0
1
1
0
0
1
1
Clock Select Bit Description
R
7
0
-
R/W
7
0
CS00
0
1
0
1
0
1
0
1
R
0
6
-
R/W
6
0
Description
No clock source (Timer/Counter stopped)
clk
clk
clk
clk
clk
External clock source on T0 pin. Clock on falling edge.
External clock source on T0 pin. Clock on rising edge.
I/O
I/O
I/O
I/O
I/O
R
5
0
R/W
-
/(No prescaling)
/8 (From prescaler)
/64 (From prescaler)
/256 (From prescaler)
/1024 (From prescaler)
5
0
TSM
R/W
R/W
4
0
4
0
TCNT0L[7:0]
PSR0
R/W
R/W
3
0
3
0
CS02
R/W
R/W
2
0
2
0
CS01
R/W
R/W
1
0
1
0
CS01
R/W
R/W
0
0
0
0
TCNT0L
TCCR0B
85

Related parts for ATTINY461V-10PU