參數(shù)資料
型號: MC68HC705G4
廠商: MOTOROLA INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, OTPROM, 1 MHz, MICROCONTROLLER, PQFP80
封裝: QFP-80
文件頁數(shù): 15/128頁
文件大小: 290K
代理商: MC68HC705G4
Page 101
Section 9: PULSE WIDTH MODULATOR
MOTOROLA
MC68HC05G3 (705G4) Specification Rev. 1.1
A brief operational description of a PWM channel: An 8-bit counter runs at the rate of the
selected clock source, as described earlier. When all channels are disabled, the counter is
preset to $FF. Once the channel(s) is enabled, the counter begins incrementing. When this
counter overflows, three things happen: the counter presets to $01, a flip-flop is set causing
the PWM output to go high, and the latched value in the duty register is transferred to the
buffer. A match (MTH) between the counter and the duty register buffer resets the flip-flop,
thus giving a low output. A value $00 written into the duty register buffer triggers the zero
detector to hold the reset on the flip-flop.
9.2
PWM CONTROL REGISTER (PWMCR)
Each channel of the PWM is enabled by a bit in the PWMCR register.
Each PWM output pin is shared with a general programmable port I/O bit. When the PWM
output control bit (CH
x) is set to one, the associated port G line will function as a PWM
output regardless of the state of the associated DDRG bit. This does not change the state
of the DDR bit, and when CH
x is disabled the DDRGx bit again controls the I/O state. CHx
is cleared on reset to prevent erroneous output.
9.3
PWM DUTY REGISTER (PWMDR
x)
The PWM has four duty registers associated with it: $36 - $39, PWMDR0 - PWMDR3.
Reads of this register return the most recent written value.
Each output is a pulse width modulated signal whose duty cycle varies according to the
value set into its duty register. The duty cycle is expressed with eight bits of resolution. The
signal can be used directly as a PWM signal, or it may be filtered to obtain an average value
for a general-purpose analog output.
The repetition rate is 255 times the programmable timer clock overflow rate. (For example,
the repetition rate for a 4.00 MHz crystal (2 MHz internal clock) is 7843 Hz.) A value of $00
loaded into the duty register results in a continuous low output on the corresponding PWM
output pin. A value of $7F or $80 results in approximately 50% duty cycle output, and so
on, to the maximum value, $FF, which corresponds to an output which is at 1 for 255/255
of the cycle. If the register PWMDR
x is written while the channel is enabled, the new value
will be picked up by the PWM converters only at the end of a complete conversion cycle.
Figure 9-2: PWM Control Registers
0
$0034
0
CH3
CH2
CH1
CH0
PWMCR
B7
B6
B5
B4
B3
B2
B1
B0
00000000
RESET:
Figure 9-3: PWM Duty Registers
$36-39
PWMDR
x
B7
B6
B5
B4
B3
B2
B1
B0
00000000
RESET:
相關(guān)PDF資料
PDF描述
MC68HC05G3 8-BIT, OTPROM, 2 MHz, MICROCONTROLLER, PQFP80
MC68HC705J5ACJP 8-BIT, OTPROM, 2.1 MHz, MICROCONTROLLER, PDIP16
MC68HC705J5ACP 8-BIT, OTPROM, 2.1 MHz, MICROCONTROLLER, PDIP20
MC68HC05J5AJDW 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDSO16
MC68HRC705J5ACDW 8-BIT, OTPROM, 2.1 MHz, MICROCONTROLLER, PDSO20
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC705J1A 制造商:Freescale Semiconductor 功能描述:
MC68HC705J1ACDW 功能描述:IC MCU 4MHZ 1.2K OTP 20-SOIC RoHS:否 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:HC05 其它有關(guān)文件:STM32F101T8 View All Specifications 特色產(chǎn)品:STM32 32-bit Cortex MCUs 標(biāo)準(zhǔn)包裝:490 系列:STM32 F1 核心處理器:ARM? Cortex?-M3 芯體尺寸:32-位 速度:36MHz 連通性:I²C,IrDA,LIN,SPI,UART/USART 外圍設(shè)備:DMA,PDR,POR,PVD,PWM,溫度傳感器,WDT 輸入/輸出數(shù):26 程序存儲器容量:64KB(64K x 8) 程序存儲器類型:閃存 EEPROM 大小:- RAM 容量:10K x 8 電壓 - 電源 (Vcc/Vdd):2 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 10x12b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:36-VFQFN,36-VFQFPN 包裝:托盤 配用:497-10030-ND - STARTER KIT FOR STM32497-8853-ND - BOARD DEMO STM32 UNIV USB-UUSCIKSDKSTM32-PL-ND - KIT IAR KICKSTART STM32 CORTEXM3497-8512-ND - KIT STARTER FOR STM32F10XE MCU497-8505-ND - KIT STARTER FOR STM32F10XE MCU497-8304-ND - KIT STM32 MOTOR DRIVER BLDC497-6438-ND - BOARD EVALUTION FOR STM32 512K497-6289-ND - KIT PERFORMANCE STICK FOR STM32MCBSTM32UME-ND - BOARD EVAL MCBSTM32 + ULINK-MEMCBSTM32U-ND - BOARD EVAL MCBSTM32 + ULINK2更多... 其它名稱:497-9032STM32F101T8U6-ND
MC68HC705J1ACP 功能描述:IC MCU 4MHZ 1.2K OTP 20-DIP RoHS:否 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:HC05 其它有關(guān)文件:STM32F101T8 View All Specifications 特色產(chǎn)品:STM32 32-bit Cortex MCUs 標(biāo)準(zhǔn)包裝:490 系列:STM32 F1 核心處理器:ARM? Cortex?-M3 芯體尺寸:32-位 速度:36MHz 連通性:I²C,IrDA,LIN,SPI,UART/USART 外圍設(shè)備:DMA,PDR,POR,PVD,PWM,溫度傳感器,WDT 輸入/輸出數(shù):26 程序存儲器容量:64KB(64K x 8) 程序存儲器類型:閃存 EEPROM 大小:- RAM 容量:10K x 8 電壓 - 電源 (Vcc/Vdd):2 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 10x12b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:36-VFQFN,36-VFQFPN 包裝:托盤 配用:497-10030-ND - STARTER KIT FOR STM32497-8853-ND - BOARD DEMO STM32 UNIV USB-UUSCIKSDKSTM32-PL-ND - KIT IAR KICKSTART STM32 CORTEXM3497-8512-ND - KIT STARTER FOR STM32F10XE MCU497-8505-ND - KIT STARTER FOR STM32F10XE MCU497-8304-ND - KIT STM32 MOTOR DRIVER BLDC497-6438-ND - BOARD EVALUTION FOR STM32 512K497-6289-ND - KIT PERFORMANCE STICK FOR STM32MCBSTM32UME-ND - BOARD EVAL MCBSTM32 + ULINK-MEMCBSTM32U-ND - BOARD EVAL MCBSTM32 + ULINK2更多... 其它名稱:497-9032STM32F101T8U6-ND
MC68HC705J1ACPE 功能描述:8位微控制器 -MCU HCO5 CORE+1.2K RAM + EPR RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
MC68HC705J2CDW 制造商:Motorola Inc 功能描述: 制造商:Motorola Inc 功能描述:MicroController, 8-Bit, 20 Pin, Plastic, SOP