国产精品成人VA在线观看-国产乱妇乱子视频在播放-国产日韩精品一区二区三区在线-国模精品一区二区三区

參數資料
型號: W79E648
廠商: WINBOND ELECTRONICS CORP
英文描述: Fast 8051 Compatible microcontroller with a redesigned Processor
中文描述: 快速8051兼容微控制器重新設計的處理器
文件頁數: 45/80頁
文件大小: 407K
代理商: W79E648
Preliminary W79E648
Publication Release Date: 05/31/2004
- 45 - Revision A1
10.3 Pulse Width Modulated Outputs (PWM)
There are six pulse width modulated output channels to generate pulses of programmable length and
interval. The repetition frequency is defined by an 8-bit prescaler PWMP, which supplies the clock for
the counter. The prescaler and counter are common to both PWM channels. The 8-bit counter counts
modular 255 (0 ~ 254). The value of the 8-bit counter compared to the contents of six registers:
PWM0, PWM1, PWM2, PWM3 and PWM4. Provided the contents of either these registers is greater
than the counter value, the corresponding PWM0, PWM1, PWM2, PWM3, PWM4 or PWM5 output is
set HIGH. If the contents of these registers are equal to, or less than the counter value, the output will
be LOW. The pulse-width-ratio is defined by the contents of the registers PWM0, PWM1, PWM2,
PWM3, PWM4 and PWM5. The pulse-width-ratio is in the range of 0 to 1 and may be programmed in
increments of 1/255. ENPWM0, ENPWM1, ENPWM2, ENPWM3, ENPWM4 and ENPWM5 bit will
enable or disable PWM output.
Buffered PWM outputs may be used to drive DC motors. The rotation speed of the motor would be
proportional to the contents of PWM0/1/2/3/4/5. The repetition frequency
PWM0/1/2/3/4/5 output is given by:
f
f
pwm
pwm
f
, at the
255
)
1
×
2
×
+
=
PWMP
osc
Prescaler division factor = PWM + 1
PWMn high/low ratio of
(PWMn)
-
255
PWMn)
(
PWMn
=
This gives a repetition frequency range of 123 Hz to 31.4K Hz (
registers with either 00H or FFH, the PWM channels will output a constant HIGH or LOW level,
respectively. Since the 8-bit counter counts modulo 255, it can never actually reach the value of the
PWM registers when they are loaded with FFH.
When a compare register (PWM0, PWM1, PWM2, PWM3, PWM4, PWM5) is loaded with a new value,
the associated output updated immediately. It does not have to wait until the end of the current
counter period. There is weakly pulled high on PWM output.
osc
f
= 16M Hz). By loading the PWM
相關PDF資料
PDF描述
W79E802 8-BIT MICROCONTROLLER
W79E802A 8-BIT MICROCONTROLLER
W79E802ADG 8-BIT MICROCONTROLLER
W79E802ASG 8-BIT MICROCONTROLLER
W79E803 8-BIT MICROCONTROLLER
相關代理商/技術參數
參數描述
W79E658A40FL 制造商:Nuvoton Technology Corp 功能描述:IC MCU 8BIT 100QFP
W79E659A40FL 制造商:Nuvoton Technology Corp 功能描述:IC MCU 8BIT 100QFP
W79E802 制造商:WINBOND 制造商全稱:Winbond 功能描述:8-BIT MICROCONTROLLER
W79E802A 制造商:WINBOND 制造商全稱:Winbond 功能描述:8-BIT MICROCONTROLLER
W79E802ADG 制造商:WINBOND 制造商全稱:Winbond 功能描述:8-BIT MICROCONTROLLER