English
Language : 

ATA6613C_14 Datasheet, PDF (113/312 Pages) ATMEL Corporation – 8K/16K Flash Microcontroller with LIN Transceiver, 5V Regulator and Watchdog
Figure 5-39. Prescaler for Timer/Counter0 and Timer/Counter1(1)
clkI/O
Clear
10-bit T/C Prescaler
PSRSYNC
T0
Synchronization
T1
Synchronization
0
0
CS10
CS11
CS12
CS00
CS01
CS02
Timer/Counter1 Clock Source
clkT1
Timer/Counter0 Clock Source
clkT0
Note: 1. The synchronization logic on the input pins (T1/T0) is shown in Figure 5-38 on page 112.
5.13.4 General Timer/Counter Control Register – GTCCR
Bit
7
6
5
4
3
TSM
–
–
–
–
Read/Write R/W
R
R
R
R
Initial Value
0
0
0
0
0
2
1
0
–
PSRASY PSRSYNC GTCCR
R
R/W
R/W
0
0
0
• 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
PSRASY and PSRSYNC bits is kept, hence keeping the corresponding prescaler reset signals asserted. This ensures that
the corresponding Timer/Counters are halted and can be configured to the same value without the risk of one of them
advancing during configuration. When the TSM bit is written to zero, the PSRASY and PSRSYNC bits are cleared by
hardware, and the Timer/Counters start counting simultaneously.
• Bit 0 – PSRSYNC: Prescaler Reset
When this bit is one, Timer/Counter1 and Timer/Counter0 prescaler will be reset. This bit is normally cleared immediately by
hardware, except if the TSM bit is set. Note that Timer/Counter1 and Timer/Counter0 share the same prescaler and a reset
of this prescaler will affect both timers.
5.14
16-bit Timer/Counter1 with PWM
The 16-bit Timer/Counter unit allows accurate program execution timing (event management), wave generation, and signal
timing measurement. The main features are:
● True 16-bit design (i.e., allows 16-bit PWM)
● Two independent output compare units
● Double buffered output compare registers
● One input capture unit
● Input capture noise canceler
● Clear timer on compare match (auto reload)
● Glitch-free, phase correct pulse width modulator (PWM)
ATA6612C/ATA6613C [DATASHEET] 113
9111L–AUTO–11/14