PWM TIMER S3C2440A RISC MICROPROCESSOR
10-8
OUTPUT LEVEL CONTROL
Inverter off
Initial State Period 1 Period 2 Timer Stop
Inverter on
Figure 10-6. Inverter On/Off
The following procedure describes how to maintain TOUT as high or low (assume the inverter is off):
1. Tur n 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 tim er 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 TOUT n can be inverted by the inverter on/off bit in TCON. The inverter removes the additional circuit to
adjust the output level.