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

no-image

ATAM894X-TNQY

Manufacturer Part Number
ATAM894X-TNQY
Description
8k-flash Microcontroller
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Figure 6-10. Timer 2
36
T1OUT
T2I
SYSCL
TOG3
SCL
ATAM894
T2C
CL2/1
For programming the time interval, the timer has a 4-bit and an 8-bit compare register. For pro-
gramming the timer function, it has four mode and control registers. The comparator output of
stage 2 is controlled by a special compare mode register (T2CM). This register contains mask
bits for the actions (counter reset, output toggle, timer interrupt) which can be triggered by a
compare match event or the counter overflow. This architecture enables the timer function for
various modes.
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:
RES
4-bit Counter 2/1
Compare 2/1
T2CO1
P4CR
OVF1
CM1
SSI POUT
POUT
I/O-bus
Control
CL2/2
T2M1
T2CM
DCG
n = y + 1
m = x +1
l = z +1
RES
8-bit Counter 2/2
Compare 2/2
T2CO2
DCGO
I/O-bus
OVF2
TOG2
0 x 4095
0 y 255
0 z 15
INT4
SSI
SO
MOUT
Manchester
modulator
OUTPUT
Bi-phase
T2M2
SSI
Control
M2
Modulator 3
output-stage
modulator
4679D–4BMCU–05/05
Timer 2
to
T2O

Related parts for ATAM894X-TNQY