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

no-image

ATAM893X-TKHYZ

Manufacturer Part Number
ATAM893X-TKHYZ
Description
Flash Version for ATAR080, ATAR090/890 and ATAR092/892
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
5.3.2.9
4680C–4BMCU–01/05
Timer 2 Compare and Compare Mode Registers
Table 5-11.
If one of these output modes is used the T2O alternate function of Port 4 must also be activated.
Timer 2 has two separate compare registers, T2CO1 for the 4-bit stage and T2CO2 for the 8-bit
stage of Timer 2. The timer compares the contents of the compare register current counter value
and if it matches it generates an output signal. Depending on the timer mode, this signal is used
to generate a timer interrupt, to toggle the output flip-flop as SSI clock or as a clock for the next
counter stage.
In the 12-bit timer mode, T2CO1 contains bits 0 to 3 and T2CO2 bits 4 to 11 of the 12-bit com-
pare value. In all other modes, the two compare registers work independently as a 4- and 8-bit
compare register. When assigned to the compare register a compare event will be suppressed.
Output Mode
1
2
3
4
5
6
7
8
Timer 2 Output Select Bits
T2OS2
1
1
1
1
0
0
0
0
T2OS1
1
1
0
0
1
1
0
0
T2OS0
1
0
1
0
1
0
1
0
Clock Output
Toggle mode: a Timer 2 compare match toggles
the output flip-flop (M2)
Duty cycle burst generator 1: the DCG output
signal (DCG0) is given to the output and gated by
the output flip-flop (M2)
Duty cycle burst generator 2: the DCG output
signal (DCGO) is given to the output and gated by
the SSI internal data output (SO)
Bi-phase modulator: Timer 2 modulates the SSI
internal data output (SO) to Bi-phase code
Manchester modulator: Timer 2 modulates the
SSI internal data output (SO) to Manchester code
SSI output: T2O is used directly as SSI internal
data output (SO)
PWM mode: an 8/12-bit PWM mode
Not allowed
ATAM893-D
T2O
45

Related parts for ATAM893X-TKHYZ