atam894 ATMEL Corporation, atam894 Datasheet - Page 42

no-image

atam894

Manufacturer Part Number
atam894
Description
Atam894 8k-flash Microcontroller
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
atam894R
Manufacturer:
ATMEL
Quantity:
5 000
Part Number:
atam894R
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
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 atam894