Hi,
Sleep mode is actually called Stop mode and it is a functionality that every MCU has. On all S12(X) devices in order to enter Stop mode, two instructions must be executed:
asm ANDCC #0x7F; //clear S bit in CPU Condition Code Register (CCR) - enable the stop mode.
asm STOP; // stop mode
Hi,
Sleep mode is actually called Stop mode and it is a functionality that every MCU has. On all S12(X) devices in order to enter Stop mode, two instructions must be executed:
asm ANDCC #0x7F; //clear S bit in CPU Condition Code Register (CCR) - enable the stop mode.
asm STOP; // stop mode
Really thanks for your reply.
We need to exist the STOP mode by external interrupt. E.g. nXIRQ or IRQ. Can we wake up the MCU by any internal interrupt? Let say timer?
I want to implement a periodical mode for power saving.