參數(shù)資料
型號(hào): HMS91C8032
廠商: HYNIX SEMICONDUCTOR INC
元件分類(lèi): 微控制器/微處理器
英文描述: HYNIX SEMICONDUCTOR INC. 8-BIT SINGLE-CHIP MICROCONTROLLERS
中文描述: 8-BIT, MROM, 10 MHz, MICROCONTROLLER, PQFP80
封裝: PLASTIC, MQFP-80
文件頁(yè)數(shù): 61/90頁(yè)
文件大?。?/td> 1557K
代理商: HMS91C8032
HMS9xC7132 / HMS9xC7134
May.2001 ver1.1
57
18. PULSE WIDTH MODULATION
18.1 Static PWM
There are eight static PWM in the HMS9xC7132.
These channels provide output pulses of programmable duty cy-
cle and polarity. The duty cycle is defined by a counter.
The 8-bit counter of a PWM counts modulo 256, i.e. from 0 to
255 inclusive. The value held in the 8-bit counter is compared to
the contents of the Special Function Register(PWMn) of the cor-
responding PWM. The polarity of the PWM outputs is program-
mable and selected by the PWMLVL bit in PWMCON register.
Provided the contents of a PWMn register is equal to or greater
than the counter value, the corresponding PWM output is set
HIGH (with PWMLVL =“0”). If the contents of this register is
less than the counter value, the corresponding PWM output is set
LOW(with PWMLVL =“0”). The pulse-width-ratio is therefore
defined by the contents of the corresponding Special Function
Register(PWMn) of a PWM. By loading the corresponding Spe-
cial Function Register(PWMn) with either 00H or FFH, the
PWM output can be retained at a constant HIGH or LOW level
respectively(with PWMLVL = “0”).
The PWM outputs PWM0 to PWM7 register share the same pins
as Port2.2~Port2.7, Port3.4 and Port3.5 respectively.
Selection of the pin function as either a PWM output, a Port line
or the other function is achieved by using the appropriate value of
P2SF register.
The repetition frequency (fPWM) at a PWM output is given by:
fPWM = fOSC / (2 x 256)
Table 18-1 PWM control register (PWMCON : 0A1H)
Table 18-2 Description of the PWMCON bits
7
6
5
4
3
2
1
0
PWMLVL
PWM6CFG
PWM5CFG
PWM4CFG
PWM3CFG
PWM2CFG
PWM1CFG
PWM0CFG
BIT
SYMBOL
FUNCTION
7
PWMLVL
Polarity selection of the PWMs.
0 : PWM outputs are not inverted.
1 : PWM outputs are inverted.
Output type selection of the PWMs.
0 : open-drain type.
1 : push-pull type
6 to 0
PWM6CFG to
PWM0CFG
相關(guān)PDF資料
PDF描述
HMS91C7134 [Monitor]
HMS97C7134 [Monitor]
HMS97C8032 H8/SLP Series, 38799 Group, 4-ch 14-bit PWM, 2-ch 16-bit TPU, 16-bit AEC, RTC FP-100U; Vcc= 1.8 to 3.6 volts, Temp= -20 to 75 C; Package: PLQP0100KB-A
HMS99C51S 8-BIT SINGLE-CHIP MICROCONTROLLERS WITH EMBEDDED FLASH
HMS99C52S 8-BIT SINGLE-CHIP MICROCONTROLLERS WITH EMBEDDED FLASH
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HMS97C7132 制造商:未知廠家 制造商全稱(chēng):未知廠家 功能描述:[Monitor]
HMS97C7134 制造商:未知廠家 制造商全稱(chēng):未知廠家 功能描述:[Monitor]
HMS97C8032 制造商:HYNIX 制造商全稱(chēng):Hynix Semiconductor 功能描述:HYNIX SEMICONDUCTOR INC. 8-BIT SINGLE-CHIP MICROCONTROLLERS
HMS99C51 制造商:HYNIX 制造商全稱(chēng):Hynix Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
HMS99C51S 制造商:未知廠家 制造商全稱(chēng):未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS WITH EMBEDDED FLASH