HT45R37V Holtek Semiconductor Inc., HT45R37V Datasheet - Page 36

no-image

HT45R37V

Manufacturer Part Number
HT45R37V
Description
C/r-f Type 8-bit Otp Mcu
Manufacturer
Holtek Semiconductor Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HT45R37V
Manufacturer:
HOLTEK
Quantity:
3 200
PWM Programming Example
The following sample program shows how the PWM output is setup and controlled.
mov a,64h
mov pwm0h,a
clr pwm0l
clr pdc.0
set pwm0en
set pd.0
clr pd.0
Rev. 1.00
:
:
:
:
; setup PWM0 value to 1600 decimal which is 640H
; setup PWM0H register value
; setup PWM0L register value
; setup pin PD0 as an output
; set the PWM0 enable bit
; Enable the PWM0 output
; PWM0 output disabled
PWM Register Pairs
8+4 PWM Mode
PD0 will remain low
36
October 20, 2009
HT45R37V

Related parts for HT45R37V