Output Level Control - Samsung S3C2416 User Manual

16/32-bit risc
Table of Contents

Advertisement

S3C2416X RISC MICROPROCESSOR

2.7 OUTPUT LEVEL CONTROL

Inverter off
Inverter on
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, the timer is stopped after the TCNTn reaches 0, TOUTn goes to high
level (recommended).
2. Stop the timer by clearing the timer start/stop bit to 0. If TCNTn ≤ TCMPn at that moment, 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.
Initial State
Figure 12-6. Inverter On/Off
Period 1
Period 2
PWM TIMER
Timer Stop
12-9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents