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

MC9S12P64CFT 参数 Datasheet PDF下载

MC9S12P64CFT图片预览
型号: MC9S12P64CFT
PDF下载: 下载PDF文件 查看货源
内容描述: 微控制器 [Microcontrollers]
分类和应用: 微控制器外围集成电路时钟
文件页数/大小: 566 页 / 7414 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC9S12P64CFT的Datasheet PDF文件第341页浏览型号MC9S12P64CFT的Datasheet PDF文件第342页浏览型号MC9S12P64CFT的Datasheet PDF文件第343页浏览型号MC9S12P64CFT的Datasheet PDF文件第344页浏览型号MC9S12P64CFT的Datasheet PDF文件第346页浏览型号MC9S12P64CFT的Datasheet PDF文件第347页浏览型号MC9S12P64CFT的Datasheet PDF文件第348页浏览型号MC9S12P64CFT的Datasheet PDF文件第349页  
Pulse-Width Modulator (PWM8B6CV1) Block Description  
Module Base + 0x000B  
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-14. Reserved Register (PWMSCNTB)  
Read: always read 0x0000 in normal modes  
Write: unimplemented in normal modes  
NOTE  
Writing to these registers when in special modes can alter the PWM  
functionality.  
10.3.2.12 PWM Channel Counter Registers (PWMCNTx)  
Each channel has a dedicated 8-bit up/down counter which runs at the rate of the selected clock source.  
The counter can be read at any time without affecting the count or the operation of the PWM channel. In  
left aligned output mode, the counter counts from 0 to the value in the period register – 1. In center aligned  
output mode, the counter counts from 0 up to the value in the period register and then back down to 0.  
Any value written to the counter causes the counter to reset to 0x0000, the counter direction to be set to  
up, the immediate load of both duty and period registers with values from the buffers, and the output to  
change according to the polarity bit. The counter is also cleared at the end of the effective period (see  
Section 10.4.2.5, “Left Aligned Outputs,and Section 10.4.2.6, “Center Aligned Outputs,for more  
details). When the channel is disabled (PWMEx = 0), the PWMCNTx register does not count. When a  
channel becomes enabled (PWMEx = 1), the associated PWM counter starts at the count in the  
PWMCNTx register. For more detailed information on the operation of the counters, reference  
Section 10.4.2.4, “PWM Timer Counters.”  
In concatenated mode, writes to the 16-bit counter by using a 16-bit access or writes to either the low- or  
high-order byte of the counter will reset the 16-bit counter. Reads of the 16-bit counter must be made by  
16-bit access to maintain data coherency.  
NOTE  
Writing to the counter while the channel is enabled can cause an irregular  
PWM cycle to occur.  
S12P-Family Reference Manual, Rev. 1.13  
Freescale Semiconductor  
345  
 复制成功!