Samsung S3C2451X User Manual page 319

Risc microprocessor
Table of Contents

Advertisement

S3C2451X RISC MICROPROCESSOR
PULSE WIDTH MODULATION (PWM)
Write
TCMPBn = 60
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.
60
Write
TCMPBn = 40
Write
TCMPBn = 50
Figure 13-5. Example of PWM
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.
50
40
TCMPBn = 30
Write
TCMPBn = 30
30
Write
Write
TCMPBn = Next PWM Value
PWM TIMER
30
13-7

Advertisement

Chapters

Table of Contents
loading

Table of Contents