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

MC908AP32CFAE 参数 Datasheet PDF下载

MC908AP32CFAE图片预览
型号: MC908AP32CFAE
PDF下载: 下载PDF文件 查看货源
内容描述: [MC908AP32CFAE]
分类和应用:
文件页数/大小: 325 页 / 4102 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC908AP32CFAE的Datasheet PDF文件第139页浏览型号MC908AP32CFAE的Datasheet PDF文件第140页浏览型号MC908AP32CFAE的Datasheet PDF文件第141页浏览型号MC908AP32CFAE的Datasheet PDF文件第142页浏览型号MC908AP32CFAE的Datasheet PDF文件第144页浏览型号MC908AP32CFAE的Datasheet PDF文件第145页浏览型号MC908AP32CFAE的Datasheet PDF文件第146页浏览型号MC908AP32CFAE的Datasheet PDF文件第147页  
Timer Interface Module (TIM)  
Setting MS0B links channels 0 and 1 and configures them for buffered PWM operation. The TIM channel  
0 registers (TCH0H:TCH0L) initially control the buffered PWM output. TIM status control register 0  
(TSCR0) controls and monitors the PWM signal from the linked channels.  
Clearing the toggle-on-overflow bit, TOVx, inhibits output toggles on TIM overflows. Subsequent output  
compares try to force the output to a state it is already in and have no effect. The result is a 0% duty cycle  
output.  
Setting the channel x maximum duty cycle bit (CHxMAX) and setting the TOVx bit generates a 100% duty  
cycle output. (See 9.9.4 TIM Channel Status and Control Registers.)  
9.5 Interrupts  
The following TIM sources can generate interrupt requests:  
TIM overflow flag (TOF) — The TOF bit is set when the TIM counter reaches the modulo value  
programmed in the TIM counter modulo registers. The TIM overflow interrupt enable bit, TOIE,  
enables TIM overflow CPU interrupt requests. TOF and TOIE are in the TIM status and control  
register.  
TIM channel flags (CH1F:CH0F) — The CHxF bit is set when an input capture or output compare  
occurs on channel x. Channel x TIM CPU interrupt requests are controlled by the channel x  
interrupt enable bit, CHxIE. Channel x TIM CPU interrupt requests are enabled when CHxIE = 1.  
CHxF and CHxIE are in the TIM channel x status and control register.  
9.6 Low-Power Modes  
The WAIT and STOP instructions put the MCU in low power- consumption standby modes.  
9.6.1 Wait Mode  
The TIM remains active after the execution of a WAIT instruction. In wait mode, the TIM registers are not  
accessible by the CPU. Any enabled CPU interrupt request from the TIM can bring the MCU out of wait  
mode.  
If TIM functions are not required during wait mode, reduce power consumption by stopping the TIM before  
executing the WAIT instruction.  
9.6.2 Stop Mode  
The TIM is inactive after the execution of a STOP instruction. The STOP instruction does not affect  
register conditions or the state of the TIM counter. TIM operation resumes when the MCU exits stop mode  
after an external interrupt.  
9.7 TIM During Break Interrupts  
A break interrupt stops the TIM counter.  
The system integration module (SIM) controls whether status bits in other modules can be cleared during  
the break state. The BCFE bit in the break flag control register (BFCR) enables software to clear status  
bits during the break state. (See 21.5.4 SIM Break Flag Control Register.)  
MC68HC908AP Family Data Sheet, Rev. 4  
142  
Freescale Semiconductor  
 复制成功!