欢迎访问ic37.com |
会员登录 免费注册
发布采购

MC908MR32CFUE 参数 Datasheet PDF下载

MC908MR32CFUE图片预览
型号: MC908MR32CFUE
PDF下载: 下载PDF文件 查看货源
内容描述: [MC908MR32CFUE ]
分类和应用:
文件页数/大小: 308 页 / 4411 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC908MR32CFUE的Datasheet PDF文件第131页浏览型号MC908MR32CFUE的Datasheet PDF文件第132页浏览型号MC908MR32CFUE的Datasheet PDF文件第133页浏览型号MC908MR32CFUE的Datasheet PDF文件第134页浏览型号MC908MR32CFUE的Datasheet PDF文件第136页浏览型号MC908MR32CFUE的Datasheet PDF文件第137页浏览型号MC908MR32CFUE的Datasheet PDF文件第138页浏览型号MC908MR32CFUE的Datasheet PDF文件第139页  
Pulse-Width Modulator for Motor Control (PWMMC)  
PWM Generators  
For ease of software, the LDFQx bits are buffered. When the LDFQx bits are  
changed, the reload frequency will not change until the previous reload cycle is  
completed. See Figure 12-6.  
NOTE:  
When reading the LDFQx bits, the value is the buffered value (for example, not  
necessarily the value being acted upon).  
RELOAD  
RELOAD  
RELOAD  
RELOAD RELOADRELOADRELOAD  
CHANGE RELOAD  
FREQUENCY TO  
EVERY 4 CYCLES  
CHANGE RELOAD  
FREQUENCY TO  
EVERY CYCLE  
Figure 12-6. Reload Frequency Change  
PWMINT enables CPU interrupt requests as shown in Figure 12-7. When this bit  
is set, CPU interrupt requests are generated when the PWMF bit is set. When the  
PWMINT bit is clear, PWM interrupt requests are inhibited. PWM reloads will still  
occur at the reload rate, but no interrupt requests will be generated.  
READ PWMF AS 1,  
WRITE PWMF AS 0  
OR  
VDD  
RESET  
RESET  
PWMF  
CPU INTERRUPT  
REQUEST  
D
LATCH  
PWM RELOAD  
PWMINT  
CK  
Figure 12-7. PWM Interrupt Requests  
To prevent a partial reload of PWM parameters from occurring while the software  
is still calculating them, an interlock bit controlled from software is provided. This  
bit informs the PWM module that all the PWM parameters have been calculated,  
and it is “okay” to use them. A new modulus, prescaler, and/or PWM value cannot  
be loaded into the PWM module until the LDOK bit in PWM control register 1 is set.  
When the LDOK bit is set, these new values are loaded into a second set of  
registers and used by the PWM generator at the beginning of the next PWM reload  
cycle as shown in Figure 12-8, Figure 12-9, Figure 12-10, and Figure 12-11. After  
these values are loaded, the LDOK bit is cleared.  
NOTE:  
When the PWM module is enabled (via the PWMEN bit), a load will occur if the  
LDOK bit is set. Even if it is not set, an interrupt will occur if the PWMINT bit is set.  
MC68HC908MR32 • MC68HC908MR16 — Rev. 6.0  
MOTOROLA Pulse-Width Modulator for Motor Control (PWMMC)  
Data Sheet  
135  
 复制成功!