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

MC9S12P64CFT 参数 Datasheet PDF下载

MC9S12P64CFT图片预览
型号: MC9S12P64CFT
PDF下载: 下载PDF文件 查看货源
内容描述: 微控制器 [Microcontrollers]
分类和应用: 微控制器外围集成电路时钟
文件页数/大小: 566 页 / 7414 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC9S12P64CFT的Datasheet PDF文件第356页浏览型号MC9S12P64CFT的Datasheet PDF文件第357页浏览型号MC9S12P64CFT的Datasheet PDF文件第358页浏览型号MC9S12P64CFT的Datasheet PDF文件第359页浏览型号MC9S12P64CFT的Datasheet PDF文件第361页浏览型号MC9S12P64CFT的Datasheet PDF文件第362页浏览型号MC9S12P64CFT的Datasheet PDF文件第363页浏览型号MC9S12P64CFT的Datasheet PDF文件第364页  
Pulse-Width Modulator (PWM8B6CV1) Block Description  
PWMx duty cycle (high time as a% of period):  
— Polarity = 0 (PPOLx = 0)  
Duty cycle = [(PWMPERx-PWMDTYx)/PWMPERx] * 100%  
— Polarity = 1 (PPOLx = 1)  
Duty cycle = [PWMDTYx / PWMPERx] * 100%  
As an example of a center aligned output, consider the following case:  
Clock source = bus clock, where bus clock = 10 MHz (100 ns period)  
PPOLx = 0  
PWMPERx = 4  
PWMDTYx = 1  
PWMx frequency = 10 MHz/8 = 1.25 MHz  
PWMx period = 800 ns  
PWMx duty cycle = 3/4 *100% = 75%  
Shown below is the output waveform generated.  
E = 100 ns  
E = 100 ns  
DUTY CYCLE = 75%  
PERIOD = 800 ns  
Figure 10-39. PWM Center Aligned Output Example Waveform  
10.4.2.7 PWM 16-Bit Functions  
The PWM timer also has the option of generating 6-channels of 8-bits or 3-channels of 16-bits for greater  
PWM resolution}. This 16-bit channel option is achieved through the concatenation of two 8-bit channels.  
The PWMCTL register contains three control bits, each of which is used to concatenate a pair of PWM  
channels into one 16-bit channel. Channels 4 and 5 are concatenated with the CON45 bit, channels 2 and 3  
are concatenated with the CON23 bit, and channels 0 and 1 are concatenated with the CON01 bit.  
NOTE  
Change these bits only when both corresponding channels are disabled.  
When channels 4 and 5 are concatenated, channel 4 registers become the high-order bytes of the double  
byte channel as shown in Figure 10-40. Similarly, when channels 2 and 3 are concatenated, channel 2  
registers become the high-order bytes of the double byte channel. When channels 0 and 1 are concatenated,  
channel 0 registers become the high-order bytes of the double byte channel.  
S12P-Family Reference Manual, Rev. 1.13  
360  
Freescale Semiconductor  
 复制成功!