ATAM894X-TNQY ATMEL [ATMEL Corporation], ATAM894X-TNQY Datasheet - Page 37

no-image

ATAM894X-TNQY

Manufacturer Part Number
ATAM894X-TNQY
Description
8k-flash Microcontroller
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
6.3.2.2
Figure 6-11. 12-bit Compare Counter
Figure 6-12. 8-bit Compare Counter
4679D–4BMCU–05/05
CL2/1
CL2/1
Timer 2 Modes
4-bit compare
4-bit compare
4-bit counter
4-bit register
4-bit counter
4-bit register
RES
RES
Mode 1: 12-bit Compare Counter
The 4-bit stage and the 8-bit stage work together as a 12-bit compare counter. A compare match
signal of the 4-bit and the 8-bit stage generates the signal for the counter reset, toggle flip-flop or
interrupt. The compare action is programmable via the compare mode register (T2CM). The
4-bit counter overflow (OVF1) supplies the clock output (POUT) with clocks. The duty cycle gen-
erator (DCG) has to be bypassed in this mode.
Mode 2: 8-bit Compare Counter with 4-bit Programmable Prescaler
The 4-bit stage is used as a programmable prescaler for the 8-bit counter stage. In this mode, a
duty cycle stage is also available. This stage can be used as an additional 2-bit prescaler or for
generating duty cycles of 25%, 33% and 50%. The 4-bit compare output (CM1) supplies the
clock output (POUT) with clocks.
CM1
CM1
T2D1, 0
T2D1, 0
DCG
DCG
POUT (CL2/1 /16)
POUT
8-bit compare
8-bit compare
8-bit counter
8-bit register
8-bit counter
8-bit register
RES
RES
OVF2
CM2
OVF2
CM2
T2RM
T2RM
T2OTM
T2OTM
and T2OTM-bit
and T2OTM-bit
output mode
output mode
Timer 2
Timer 2
T2IM
T2IM
T2CTM
T2CTM
ATAM894
TOG2
INT4
DCGO
TOG2
INT4
37

Related parts for ATAM894X-TNQY