参数资料
型号: W78E365
厂商: Electronic Theatre Controls, Inc.
元件分类: 8位微控制器
英文描述: 8-BIT MICROCONTROLLER
中文描述: 8位微控制器
文件页数: 6/40页
文件大小: 395K
代理商: W78E365
W78E365
- 14 -
6.7 Pulse Width Modulated Outputs (PWM)
There are five 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 five 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 or PWM4 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
and PWM4. 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 and ENPWM4 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. The repetition frequency pwm
f
, at the PWM0/1/2/3/4
output is given by:
255
)
1
(
2
×
+
×
=
PWMP
f
osc
pwm
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 ( osc
f
= 16M Hz). By loading the PWM
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) 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.
相关PDF资料
PDF描述
W9425G6EB-6I 16M X 16 DDR DRAM, 0.7 ns, PBGA60
W965L6ABN80I 2M X 16 PSEUDO STATIC RAM, 75 ns, PBGA48
W9712G6JB-3 8M X 16 DDR DRAM, 0.45 ns, PBGA84
W981616CH-5 1M X 16 SYNCHRONOUS DRAM, 5.5 ns, PDSO50
W986408AH-10 8M X 8 SYNCHRONOUS DRAM, 8 ns, PDSO54
相关代理商/技术参数
参数描述
W78E365_07 制造商:WINBOND 制造商全称:Winbond 功能描述:8-BIT MICROCONTROLLER
W78E365-24 制造商:未知厂家 制造商全称:未知厂家 功能描述:Microcontroller
W78E365-40 制造商:未知厂家 制造商全称:未知厂家 功能描述:Microcontroller
W78E365A 制造商:WINBOND 制造商全称:Winbond 功能描述:8-BIT MICROCONTROLLER
W78E365A40DL 功能描述:IC MCU 8-BIT 64K FLASH 40-DIP RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:W78 标准包装:300 系列:78K0R/Ix3 核心处理器:78K/0R 芯体尺寸:16-位 速度:40MHz 连通性:3 线 SIO,I²C,LIN,UART/USART 外围设备:DMA,LVD,POR,PWM,WDT 输入/输出数:27 程序存储器容量:16KB(16K x 8) 程序存储器类型:闪存 EEPROM 大小:- RAM 容量:1K x 8 电压 - 电源 (Vcc/Vdd):2.7 V ~ 5.5 V 数据转换器:A/D 8x10b 振荡器型:内部 工作温度:-40°C ~ 85°C 封装/外壳:38-SSOP 包装:托盘