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

MC9S12P64CFT 参数 Datasheet PDF下载

MC9S12P64CFT图片预览
型号: MC9S12P64CFT
PDF下载: 下载PDF文件 查看货源
内容描述: 微控制器 [Microcontrollers]
分类和应用: 微控制器外围集成电路时钟
文件页数/大小: 566 页 / 7414 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC9S12P64CFT的Datasheet PDF文件第338页浏览型号MC9S12P64CFT的Datasheet PDF文件第339页浏览型号MC9S12P64CFT的Datasheet PDF文件第340页浏览型号MC9S12P64CFT的Datasheet PDF文件第341页浏览型号MC9S12P64CFT的Datasheet PDF文件第343页浏览型号MC9S12P64CFT的Datasheet PDF文件第344页浏览型号MC9S12P64CFT的Datasheet PDF文件第345页浏览型号MC9S12P64CFT的Datasheet PDF文件第346页  
Pulse-Width Modulator (PWM8B6CV1) Block Description  
Table 10-9. PWMCTL Field Descriptions  
Field  
Description  
6
Concatenate Channels 4 and 5  
CON45  
0 Channels 4 and 5 are separate 8-bit PWMs.  
1 Channels 4 and 5 are concatenated to create one 16-bit PWM channel. Channel 4 becomes the high-order  
byte and channel 5 becomes the low-order byte. Channel 5 output pin is used as the output for this 16-bit PWM  
(bit 5 of port PWMP). Channel 5 clock select control bit determines the clock source, channel 5 polarity bit  
determines the polarity, channel 5 enable bit enables the output and channel 5 center aligned enable bit  
determines the output mode.  
5
Concatenate Channels 2 and 3  
CON23  
0 Channels 2 and 3 are separate 8-bit PWMs.  
1 Channels 2 and 3 are concatenated to create one 16-bit PWM channel. Channel 2 becomes the high-order  
byte and channel 3 becomes the low-order byte. Channel 3 output pin is used as the output for this 16-bit PWM  
(bit 3 of port PWMP). Channel 3 clock select control bit determines the clock source, channel 3 polarity bit  
determines the polarity, channel 3 enable bit enables the output and channel 3 center aligned enable bit  
determines the output mode.  
4
Concatenate Channels 0 and 1  
CON01  
0 Channels 0 and 1 are separate 8-bit PWMs.  
1 Channels 0 and 1 are concatenated to create one 16-bit PWM channel. Channel 0 becomes the high-order  
byte and channel 1 becomes the low-order byte. Channel 1 output pin is used as the output for this 16-bit PWM  
(bit 1 of port PWMP). Channel 1 clock select control bit determines the clock source, channel 1 polarity bit  
determines the polarity, channel 1 enable bit enables the output and channel 1 center aligned enable bit  
determines the output mode.  
3
PWM Stops in Wait Mode — Enabling this bit allows for lower power consumption in wait mode by disabling the  
input clock to the prescaler.  
PSWAI  
0 Allow the clock to the prescaler to continue while in wait mode.  
1 Stop the input clock to the prescaler whenever the MCU is in wait mode.  
2
PWM Counters Stop in Freeze Mode — In freeze mode, there is an option to disable the input clock to the  
prescaler by setting the PFRZ bit in the PWMCTL register. If this bit is set, whenever the MCU is in freeze mode  
the input clock to the prescaler is disabled. This feature is useful during emulation as it allows the PWM function  
to be suspended. In this way, the counters of the PWM can be stopped while in freeze mode so that after normal  
program flow is continued, the counters are re-enabled to simulate real-time operations. Because the registers  
remain accessible in this mode, to re-enable the prescaler clock, either disable the PFRZ bit or exit freeze mode.  
0 Allow PWM to continue while in freeze mode.  
PFRZ  
1 Disable PWM input clock to the prescaler whenever the part is in freeze mode. This is useful for emulation.  
10.3.2.7 Reserved Register (PWMTST)  
This register is reserved for factory testing of the PWM module and is not available in normal modes.  
Module Base + 0x0006  
7
6
5
4
3
2
1
0
R
W
0
0
0
0
0
0
0
0
Reset  
0
0
0
0
0
0
0
0
= Unimplemented or Reserved  
Figure 10-9. Reserved Register (PWMTST)  
S12P-Family Reference Manual, Rev. 1.13  
342  
Freescale Semiconductor  
 复制成功!