ATAM893X-TKHYZ ATMEL [ATMEL Corporation], ATAM893X-TKHYZ Datasheet - Page 37

no-image

ATAM893X-TKHYZ

Manufacturer Part Number
ATAM893X-TKHYZ
Description
Flash Version for ATAR080, ATAR090/890 and ATAR092/892
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Figure 5-10. Timer 2
5.3.2.1
Figure 5-11. 12-bit Compare Counter
4680C–4BMCU–01/05
T2I
SYSCL
T1OUT
CL2/1
TOG3
SCL
Timer 2 Modes
T2C
4-bit compare
4-bit counter
4-bit register
CL2/1
The Timer 2 has a 4-bit compare register (T2CO1) and an 8-bit compare register (T2CO2). Both
these compare registers are cascadable as a 12-bit compare register, or 8-bit compare register
and 4-bit compare register.
For 12-bit compare data value:
For 8-bit compare data value:
For 4-bit compare data value:
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 gener-
ator (DCG) has to be bypassed in this mode.
RES
RES
4-bit Counter 2/1
Compare 2/1
CM1
T2CO1
T2D1, 0
DCG
POUT (CL2/1 /16)
P4CR
OVF1
CM1
SSI POUT
8-bit compare
8-bit counter
8-bit register
POUT
I/O-bus
Control
CL2/2
T2M1
T2CM
RES
OVF2
CM2
DCG
T2RM
m = x +1
n = y + 1
l = z +1
RES
8-bit Counter 2/2
T2OTM
Compare 2/2
T2CO2
and T2OTM-bit
output mode
DCGO
I/O-bus
Timer 2
OVF2
TOG2
INT4
0 x 4095
0 y 255
0 z 15
SSI
T2IM
SO
MOUT
Manchester
modulator
OUTPUT
T2CTM
Bi-phase
T2M2
SSI
ATAM893-D
Control
M2
Modulator 3
output-stage
modulator
Timer 2
TOG2
INT4
to
T2O
37

Related parts for ATAM893X-TKHYZ