![Samsung S3C9454B User Manual Download Page 162](http://html1.mh-extra.com/html/samsung/s3c9454b/s3c9454b_user-manual_4006826162.webp)
S3C9454B/F9454B
8-BIT PWM
11-5
PWM CONTROL REGISTER (PWMCON)
The control register for the PWM module, PWMCON, is located at register address F3H. PWMCON is used the 8-
bit PWM modules. Bit settings in the PWMCON register control the following functions:
— PWM counter clock selection
— PWM data reload interval selection
— PWM counter clear
— PWM counter stop/start (or resume) operation
— PWM counter overflow (8-bit counter overflow) interrupt control
A reset clears all PWMCON bits to logic zero, disabling the entire PWM module.
.7
.6
.5
.4
.3
.2
.1
.0
LSB
MSB
PWM Control Register (PWMCON)
F3H, Reset: 00H
PWM input clock
selection bits:
00 = f
OSC
/64
01 = f
OSC
/8
10 = f
OSC
/2
11 = f
OSC
/1
Not used for
S3C9454B/F9454B
PWMDATA reload
interval selection bit:
0 : reload from 8-bit up
counter overflow
1: reload from 6-bit up
counter overflow
PWM counter clear bit:
0 = No effect
1 = Clear the PWM counter
PWM counter enable bit:
0 = Stop counter
1 = Start (resume countering)
PWM OVF interrupt enable bit:
0 = Disable interrupt
1 = Enable interrupt
PWM OVF interrupt pending bit:
0 = No interrupt pending
0 = Clear pending condition (when write)
1 = Interrupt pending
Figure 11-3. PWM Control Register (PWMCON)
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 ...