参数资料
型号: MC68HC05V7FNR2
厂商: MOTOROLA INC
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PQCC68
封装: PLASTIC, LCC-68
文件页数: 166/170页
文件大小: 589K
代理商: MC68HC05V7FNR2
SECTION 13: PULSE WIDTH MODULATOR
MOTOROLA
Page 81
MC68HC05V7 Specification Rev. 1.0
13.2
REGISTERS
Associated with the PWM system, there is a PWM data register and a control register. The
following registers can be written to and read at any time. Data written to the data register
is held in a buffer and transferred to the PWM Data Register at the end of a PWM cycle.
Reads of this register will always result in the read of the PWM Data Register and not the
buffer.
Upon RESET the user should write to the data register prior to enabling the PWM system
(for example, prior to setting the PSA and PSB bits for PWM input clock rate). This will
avoid an erroneous duty cycle from being driven. During regular user mode the user should
write to the PWM Data data register after writing the PWM Control Register.
Figure 13-4:
PWM Write Sequences
13.2.1
PWM CONTROL
Figure 13-5:
PWM Control Register
PSA1, PSA0, PSB3-PSB0- PWM Clock Rate
These bits select the input clock rate and determines the period, as shown in Table 13-1.
Note that some output frequencies can be obtained with more than one combination of PSA
Table 13-1:
PWM Clock Rate
PSA1:PSA0
PSB3-PSB0
RCLK
SCLK
PWM OUT
00
xxxx
off
01
0000-1111
fosc/1
fosc/1-fosc/16
fosc/64-
fosc/1024
10
0000-1111
fosc/8
fosc/8-fosc/128
fosc/512-
fosc/8192
Initialize PWM Data 0
Write PWM CONTROL
OR RESET
POR
Write PWM CONTROL
Write PWM Data 1
N
Y
PSA1
--
PSB2
PSB1
PSB0
PSA0
$31
0--0
0
RESET:
--
PSB3
相关PDF资料
PDF描述
MC68HC05V7FN 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PQCC68
MC68HC05V7CB 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP56
MC68HC05V7CFU 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PQFP64
MC68HC05X16FU 8-BIT, MROM, MICROCONTROLLER, PQFP64
MC68HC705X32FU 8-BIT, OTPROM, MICROCONTROLLER, PQFP64
相关代理商/技术参数
参数描述
MC68HC05X16 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:High-density complementary metal oxide semiconductor HCMOS) microcontroller unit
MC68HC05X32 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:High-density complementary metal oxide semiconductor HCMOS) microcontroller unit
MC68HC05X4 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05X4CDW 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05X4DW 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit