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

no-image

ATAM894X-TNQY

Manufacturer Part Number
ATAM894X-TNQY
Description
8k-flash Microcontroller
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
42
ATAM894
Timer 2 Output Mode 5
Manchester Modulator: Timer 2 Modulates the SSI internal data output (SO) to Manchester
code
Figure 6-21. Manchester Modulation
Timer 2 Output Mode 7
PWM Mode: Pulse-width modulation output on Timer 2 output pin (T2O)
In this mode the timer overflow defines the period and the compare register defines the
duty-cycle. During one period only the first compare match occurrence is used to toggle the
timer output flip-flop. Until the overflow all further compare match are ignored. This avoids the
situation that changing the compare register causes the occurrence of several compare match
during one period. The resolution at the pulse-width modulation Timer 2 mode 1 is 12-bit and all
other Timer 2 modes are 8-bit.
Figure 6-22. PWM Modulation
Input clock
Counter 2/2
Counter 2/2
OVF2
INT4
CM2
T2R
T2O
TOG2
T2O
SC
SO
0
Data: 00110101
Bit 7
Bit 7
0
0
T1
0
50
compare value
load the next
T
0
0
255
1
0
1
T2
100
1
T2CO2 = 150
1
8-bit SR data
T
255 0
0
0
T3
1
150
T
1
load
255 0 50
0
T1
0
load
1
T
Bit 0
Bit 0
1
255 0
4679D–4BMCU–05/05
T2
100
T

Related parts for ATAM894X-TNQY