English
Language : 

ATAR092-D_14 Datasheet, PDF (41/96 Pages) ATMEL Corporation – Up to 7 External/Internal Interrupt Sources
Duty Cycle Generator
ATAR092-D
T2MS1
T2MS0
Timer 2 Mode Select bit 1
Timer 2 Mode Select bit 0
Table 19. Timer 2 Mode Select Bits
Mode
1
2
3
4
T2MS1
1
1
0
0
T2MS0 Clock Output (POUT)
1 4-bit counter overflow (OVF1)
0 4-bit compare output (CM1)
1 4-bit compare output (CM1)
0 4-bit compare output (CM1)
Timer 2 Modes
12-bit compare counter; the
DCG has to be bypassed in this
mode
8-bit compare counter with 4-bit
programmable prescaler and
duty cycle generator
8-bit compare counter clocked by
SYSCL or the external clock
input T2I, 4-bit prescaler runs,
the counter 2/1 starts after
writing mode 3
8-bit compare counter clocked by
SYSCL or the external clock
input T2I, 4-bit prescaler stops
and resets
The duty cycle generator generates duty cycles of 25%, 33% or 50%. The frequency at
the duty cycle generator output depends on the duty cycle and the Timer 2 prescaler
setting. The DCG-stage can also be used as an additional programmable prescaler for
Timer 2.
Figure 43. DCG Output Signals
DCGIN
DCGO0
DCGO1
DCGO2
DCGO3
41
4594C–4BMCU–12/04