HT46RU66 Holtek Semiconductor Inc., HT46RU66 Datasheet - Page 25

no-image

HT46RU66

Manufacturer Part Number
HT46RU66
Description
Ht46ru66/ht46cu66 -- A/d Type 8-bit Mcu With Lcd
Manufacturer
Holtek Semiconductor Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
HT46RU66
Quantity:
1 000
Pulse Width Modulator
Each devices is provided with either three or four Pulse
Width Modulation (PWM) outputs, depending upon
which package type is selected. Useful for such applica-
tions such as motor speed control, the PWM function
provides outputs with a fixed frequency but with a duty
cycle that can be varied by setting particular values into
the corresponding PWM register.
A single register, located in the Data Memory is as-
signed to each PWM output. For devices with three
PWM outputs, these registers are known as PWM0,
PWM1 and PWM2. Devices with four PWM outputs re-
quire a further additional register known as PWM3. It is
here that the 8-bit value, which represents the overall
Rev. 1.20
PC7/RX Input/Output Ports
PC6/TX Input/Output Ports
25
duty cycle of one modulation cycle of the output wave-
form, should be placed. To increase the PWM modula-
tion frequency, each modulation cycle is subdivided into
two or four individual modulation subsections, known as
the 7+1 mode or 6+2 mode respectively. The device can
choose which mode to use by selecting the appropriate
configuration option. When a mode configuration option
is chosen, it applies to all PWM outputs on that device.
Note that when using the PWM, it is only necessary to
write the required value into the appropriate PWM regis-
ter and select the required mode configuration option,
the subdivision of the waveform into its sub-modulation
cycles is done automatically within the microcontroller
hardware.
HT46RU66/HT46CU66
October 2, 2007

Related parts for HT46RU66