HT46RB50 Holtek Semiconductor, HT46RB50 Datasheet - Page 18

no-image

HT46RB50

Manufacturer Part Number
HT46RB50
Description
A/D Type USB 8-Bit MCU
Manufacturer
Holtek Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HT46RB50
Manufacturer:
TI
Quantity:
5 580
Part Number:
HT46RB50
Manufacturer:
HOLTEK
Quantity:
6
Each line of Port A has the capability of waking-up the
device.
It is recommended that unused or not bonded out I/O
lines should be set as output pins by software instruction
to avoid consuming power under input floating state.
Pulse Width Modulator - PWM
The microcontroller provides 2 channels (6+2)/(7+1)
(depending on options) bits PWM output shared with
PD0/PD1. The data register of the PWM channels are
denoted as PWM0 (34H) and PWM1 (35H). The fre-
quency source of the PWM counter comes from f
There are four 8-bit PWM registers. The waveforms of
the PWM outputs are as shown. Once the PD0/PD1 are
selected as the PWM outputs and the output function of
PD0/PD1 are enabled (PDC.0/PDC.1= 0 ), writing a 1
to PD0/PD1 data register will enable the PWM output
function and writing a 0 will force the PD0/PD1 to
remain at 0 .
Rev. 1.10
(6+2) PWM Mode
(7+1) PWM Mode
SYS
.
18
A (6+2) bits mode PWM cycle is divided into four modu-
lation cycles (modulation cycle 0~modulation cycle 3).
Each modulation cycle has 64 PWM input clock period.
In a (6+2) bit PWM function, the contents of the PWM
register is divided into two groups. Group 1 of the PWM
register is denoted by DC which is the value of
PWM.7~PWM.2.
Group 2 is denoted by AC which is the value of
PWM.1~PWM.0.
In a (6+2) bits mode PWM cycle, the duty cycle of each
modulation cycle is shown in the table.
Modulation cycle i
Parameter
(i=0~3)
AC (0~3)
i<AC
i AC
September 7, 2006
HT46RB50
Duty Cycle
DC+1
DC
64
64

Related parts for HT46RB50