![Samsung S3C9454B User Manual Download Page 158](http://html1.mh-extra.com/html/samsung/s3c9454b/s3c9454b_user-manual_4006826158.webp)
S3C9454B/F9454B
8-BIT PWM
11-1
11
8-BIT PWM (PULSE WIDTH MODULATION
)
OVERVIEW
This microcontroller has the 8-bit PWM circuit. The operation of all PWM circuit is controlled by a single control
register, PWMCON.
The PWM counter is a 8-bit incrementing counter. It is used by the 8-bit PWM circuits. To start the counter and
enable the PWM circuits, you set PWMCON.2 to "1". If the counter is stopped, it retains its current count value;
when re-started, it resumes counting from the retained count value. When there is a need to clear the counter you
set PWMCON.3 to "1".
You can select a clock for the PWM counter by set PWMCON.6–.7. Clocks which you can select are f
OSC
/64,
f
OSC
/8, f
OSC
/2, f
OSC
/1.
FUNCTION DESCRIPTION
PWM
The 8-bit PWM circuits have the following components:
— 6-bit comparator and extension cycle circuit
— 6-bit reference data register (PWMDATA.7–.2)
— 2-bit extension data register (PWMDATA.1–.0)
— PWM output pins (P0.6/PWM)
PWM Counter
To determine the PWM module's base operating frequency, the upper 6-bits of counter is compared to the PWM
data (PWMDATA.7–.2). In order to achieve higher resolutions, the lower 2-bits of the counter can be used to
modulate the "stretch" cycle. To control the "stretching" of the PWM output duty cycle at specific intervals, the
lower 2-bits of counter value is compared with the PWMDATA.1–.0.
Summary of Contents for S3C9454B
Page 1: ...S3C9454B F9454B 8 BIT CMOS MICROCONTROLLER USER S MANUAL Revision 1 ...
Page 25: ...PRODUCT OVERVIEW S3C9454B F9454B 1 10 NOTES ...
Page 35: ...ADDRESS SPACES S3C9454B F9454B 2 10 NOTES ...
Page 65: ...CONTROL REGISTERS S3C9454B F9454B 4 18 NOTES ...
Page 123: ...CLOCK CIRCUIT S3C9454B F9454B 7 4 NOTES ...
Page 133: ...RESET and POWER DOWN S39454B F9454B 8 10 NOTES ...
Page 145: ...I O PORTS S3C9454B F9454B 9 12 NOTES ...
Page 173: ...A D CONVERTER S3C9454B F9454B 12 8 NOTES ...
Page 183: ...ELECTRICAL DATA S3C9454B F9454B 13 10 NOTES ...