Preliminary
S3C2451X RISC MICROPROCESSOR
PWM TIMER
13-7
Preliminary product information describe products that are in development,
for which full characterization data and associated errata are not yet available.
Specifications and information herein are subject to change without notice.
PULSE WIDTH MODULATION (PWM)
Write
TCMPBn = 60
Write
TCMPBn = 50
Write
TCMPBn = 40
Write
TCMPBn = 30
Write
TCMPBn = 30
Write
TCMPBn = Next PWM Value
60
50
40
30
30
Figure 13-5. Example of PWM
PWM function can be implemented by using the TCMPBn. PWM frequency is determined by TCNTBn. Figure 13-
5 shows a PWM value determined by TCMPBn.
For a higher PWM value, decrease the TCMPBn value. For a lower PWM value, increase the TCMPBn value. If
an output inverter is enabled, the increment/decrement may be reversed.
The double buffering function allows the TCMPBn, for the next PWM cycle, written at any point in the current
PWM cycle by ISR or other routine.