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.
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.