Download S3C2440 data sheet

Transcript
PWM TIMER
S3C2440A RISC MICROPROCESSOR
OUTPUT LEVEL CONTROL
Inverter off
Inverter on
Initial State
Period 1
Period 2
Timer Stop
Figure 10-6. Inverter On/Off
The following procedure describes how to maintain TOUT as high or low (assume the inverter is off):
1.
Turn off the auto reload bit. And then, TOUTn goes to high level and the timer is stopped after the TCNTn reaches
0 (recommended).
2.
Stop the timer by clearing the timer start/stop bit to 0. If TCNTn ¡ TCMPn, the output level is high. If TCNTn
>TCMPn, the output level is low.
3.
The TOUTn can be inverted by the inverter on/off bit in TCON. The inverter removes the additional circuit to
adjust the output level.
10-8