ATTIny13-12PI ATMEL Corporation, ATTIny13-12PI Datasheet - Page 73

no-image

ATTIny13-12PI

Manufacturer Part Number
ATTIny13-12PI
Description
8-bit AVR Microcontroller with 1K Bytes In-System Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
General Timer/Counter
Control Register – GTCCR
2535B–AVR–01/04
Figure 37. Prescaler for Timer/Counter0
Note:
• Bit 7 – 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 PSR10 bit is kept, hence keeping the Prescaler
Reset signal asserted. This ensures that the Timer/Counter is halted and can be config-
ured without the risk of advancing during configuration. When the TSM bit is written to
zero, the PSR10 bit is cleared by hardware, and the Timer/Counter start counting.
• Bit 0 – PSR10: 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.
Bit
Read/Write
Initial Value
PSR10
clk
1. The synchronization logic on the input pins (
T0
I/O
TSM
R/W
Synchronization
7
0
R
6
0
Clear
R
5
0
R
4
0
R
3
0
T0)
is shown in Figure 36.
R
2
0
clk
T0
R
1
0
ATtiny13
PSR10
R/W
0
0
GTCCR
73

Related parts for ATTIny13-12PI