Executing the STOP or WAIT instruction puts the MCU in a low-power- consumption mode for standby situations can facilitate Clone Freescale MC68HC908GZ16 Microcontroller Program. The SIM holds the CPU in a non-clocked state. The operation of each of these modes is described below. Both STOP and WAIT clear the interrupt mask (I) in the condition code register, allowing interrupts to occur.
In wait mode, the CPU clocks are inactive while the peripheral clocks continue to run. Below Figure shows the timing for wait mode entry.
A module that is active during wait mode can wake up the CPU with an interrupt if the interrupt is enabled to Copy Microcontroller. Stacking for the interrupt begins one cycle after the WAIT instruction during which the interrupt occurred. In wait mode, the CPU clocks are inactive. Refer to the wait mode subsection of each module to see if the module is active or inactive in wait mode. Some modules can be programmed to be active in wait mode.
wait mode can also be exited by a reset or break. A break interrupt during wait mode sets the SIM break STOP/WAIT bit, SBSW, in the SIM break status register (SBSR) in order to Unlock MC68HC08GP32 Chip Flash Heximal. If the COP disable bit, COPD, in the configuration register 1 (CONFIG1) is 0, then the computer operating properly (COP) module is enabled and remains active in wait mode.