TXZ+ FamilyTMPM4M Group(1)Clock Control and Operation Mode2022-06-24Rev. 1.125 / 641.3.2. Mode state transitionResetNORMALmodeIDLE mode(CPU stops)(Operating peripheralfunction can be selected.)After reset,the internal high-speed oscillator (IHOSC)oscillates.STOP1 mode(CPU stops exceptsome peripheralfunctions)InterruptInstruction(Note 1)(Note 2)Instruction InterruptFigure 1.2 Mode state transitionNote1: Warming-up is required at returning. A warming-up time must be set in the previous mode (NORMALmode) before entering to STOP1 mode.Note2: When the MCU returns from STOP1 mode, the MCU branches to the interrupt service routine triggeredby interrupt events.IDLE mode transition flowSet up the following procedure at switching to IDLE mode.Because IDLE mode is released by an interrupt, set the interrupt before switching to IDLE mode. For theinterrupts that can be used to release the IDLE mode, refer to "1.3.3.1. The release source of a Low PowerConsumption mode". Disable interrupts not used for release and interrupts that cannot be used.Transition flow (from Normal mode)1 [SIWDxEN]=0 Disable SIWDT.2 [SIWDxCR]=0xB1 Disable SIWDT.3 [FCSR0] is read. It waits until Flash will be in a Ready state (= 1).4 [CGSTBYCR]=00 Low Power Consumption mode selection is set to IDLE.5 [CGSTBYCR] is read. Confirm "00" is written to the register at the step 4.6 WFI command execution Switch to IDLE.After reset, the internal highspeed oscillator 1 (IHOSC1)oscillates.