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

MC9S08AC60CFUE 参数 Datasheet PDF下载

MC9S08AC60CFUE图片预览
型号: MC9S08AC60CFUE
PDF下载: 下载PDF文件 查看货源
内容描述: [MC9S08AC60CFUE]
分类和应用: 外围集成电路时钟
文件页数/大小: 349 页 / 4272 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC9S08AC60CFUE的Datasheet PDF文件第111页浏览型号MC9S08AC60CFUE的Datasheet PDF文件第112页浏览型号MC9S08AC60CFUE的Datasheet PDF文件第113页浏览型号MC9S08AC60CFUE的Datasheet PDF文件第114页浏览型号MC9S08AC60CFUE的Datasheet PDF文件第116页浏览型号MC9S08AC60CFUE的Datasheet PDF文件第117页浏览型号MC9S08AC60CFUE的Datasheet PDF文件第118页浏览型号MC9S08AC60CFUE的Datasheet PDF文件第119页  
Chapter 7 Central Processor Unit (S08CPUV2)  
interrupt service routine, this would allow nesting of interrupts (which is not recommended because it  
leads to programs that are difficult to debug and maintain).  
For compatibility with the earlier M68HC05 MCUs, the high-order half of the H:X index register pair (H)  
is not saved on the stack as part of the interrupt sequence. The user must use a PSHH instruction at the  
beginning of the service routine to save H and then use a PULH instruction just before the RTI that ends  
the interrupt service routine. It is not necessary to save H if you are certain that the interrupt service routine  
does not use any instructions or auto-increment addressing modes that might change the value of H.  
The software interrupt (SWI) instruction is like a hardware interrupt except that it is not masked by the  
global I bit in the CCR and it is associated with an instruction opcode within the program so it is not  
asynchronous to program execution.  
7.4.3  
Wait Mode Operation  
The WAIT instruction enables interrupts by clearing the I bit in the CCR. It then halts the clocks to the  
CPU to reduce overall power consumption while the CPU is waiting for the interrupt or reset event that  
will wake the CPU from wait mode. When an interrupt or reset event occurs, the CPU clocks will resume  
and the interrupt or reset event will be processed normally.  
If a serial BACKGROUND command is issued to the MCU through the background debug interface while  
the CPU is in wait mode, CPU clocks will resume and the CPU will enter active background mode where  
other serial background commands can be processed. This ensures that a host development system can still  
gain access to a target MCU even if it is in wait mode.  
7.4.4  
Stop Mode Operation  
Usually, all system clocks, including the crystal oscillator (when used), are halted during stop mode to  
minimize power consumption. In such systems, external circuitry is needed to control the time spent in  
stop mode and to issue a signal to wake up the target MCU when it is time to resume processing. Unlike  
the earlier M68HC05 and M68HC08 MCUs, the HCS08 can be configured to keep a minimum set of  
clocks running in stop mode. This optionally allows an internal periodic signal to wake the target MCU  
from stop mode.  
When a host debug system is connected to the background debug pin (BKGD) and the ENBDM control  
bit has been set by a serial command through the background interface (or because the MCU was reset into  
active background mode), the oscillator is forced to remain active when the MCU enters stop mode. In this  
case, if a serial BACKGROUND command is issued to the MCU through the background debug interface  
while the CPU is in stop mode, CPU clocks will resume and the CPU will enter active background mode  
where other serial background commands can be processed. This ensures that a host development system  
can still gain access to a target MCU even if it is in stop mode.  
Recovery from stop mode depends on the particular HCS08 and whether the oscillator was stopped in stop  
mode. Refer to the Modes of Operation chapter for more details.  
MC9S08AC60 Series Data Sheet, Rev. 2  
114  
Freescale Semiconductor