поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

HT45F43 датащи(PDF) 73 Page - Holtek Semiconductor Inc

номер детали HT45F43
подробное описание детали  8-Bit Flash MCU with Op Amps & Comparators
PDF  152 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  HOLTEK [Holtek Semiconductor Inc]
домашняя страница  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT45F43 датащи(HTML) 73 Page - Holtek Semiconductor Inc

Back Button HT45F43 Datasheet HTML 69Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 70Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 71Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 72Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 73Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 74Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 75Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 76Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 77Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 73 / 152 page
background image
The following diagram illustrates the waveforms associated with the 7+1 mode PWM operation. It is
important to note how the single PWM cycle is subdivided into 2 individual modulation cycles,
numbered 0 and 1 and how the AC value is related to the PWM value.
PWM Output Control
The PWM outputs are pin-shared with the I/O pins PC5 and PC6. To operate as a PWM output and not
as an I/O pin, the correct bits must be set in the BPCTL register. A high value must be written to the
PWM0EN or PWM1EN to select the corresponding PWM. A zero value must also be written to the
corresponding bit in the I/O port control register PCC.5 and PCC.6 to ensure that the corresponding
PWM output pin is setup as an output. After these two initial steps have been carried out, and of course
after the required PWM value has been written into the PWMn register, writing a high value to the
corresponding bit in the output data register PC.5 and PC.6 will enable the PWM data to appear on the
pin. Writing a zero value will disable the PWM output function and force the output low. In this way,
the Port data output registers can be used as an on/off control for the PWM function. Note that if the
BPCTL register has selected the PWM function, but a high value has been written to its corresponding
bit in the PCC control register to configure the pin as an input, then the pin can still function as a
normal input line, with pull-high resistor options.
PWM Programming Example
The following sample program shows how the PWM0 output is setup and controlled.
mov a,64h
;setup PWM value of decimal 100
mov pwm0,a
clr bpctl.7
;select the 7+1 PWM mode
set bpctl.5
;select PWM0
clr pcc.5
;setup pin PC5
set pc.5
;enable the PWM output
::
clr pc.5
; disable the PWM output pin,PC5 forced low
HT45F23/HT45F43
8-Bit Flash MCU with Op Amps & Comparators
Rev. 1.20
73
September 15, 2011
f S Y S / 2
P W M
[ P W M ] = 1 0 0
[ P W M ] = 1 0 1
P W M
[ P W M ] = 1 0 2
P W M
[ P W M ] = 1 0 3
P W M
P W M m o d u l a t i o n p e r i o d : 1 2 8 / f S Y S
5 0 / 1 2 8
5 1 / 1 2 8
5 1 / 1 2 8
5 2 / 1 2 8
5 0 / 1 2 8
5 0 / 1 2 8
5 1 / 1 2 8
5 1 / 1 2 8
5 0 / 1 2 8
5 1 / 1 2 8
5 1 / 1 2 8
5 2 / 1 2 8
M o d u l a t i o n c y c l e 0
P W M c y c l e : 2 5 6 / f S Y S
M o d u l a t i o n c y c l e 1
M o d u l a t i o n c y c l e 0
7+1 PWM Mode
P W M R e g i s t e r
( 7 + 1 ) M o d e
b 7
b 0
A C v a l u e
D C v a l u e
PWM Register for 7+1 Mode



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com