Restart Operation From Stop2 Mode; Figure 1.3 Stop2 Mode Restart Operation Flow - Toshiba TXZ+ Series Reference Manual

32-bit risc microcontroller, clock control and operation mode cg-m4g(1)-c
Hide thumbs Also See for TXZ+ Series:
Table of Contents

Advertisement

Restart operation from STOP2 mode

The restart operation flow from STOP2 mode release factor interrupt generating is as follows.
Check reset flag (Note1)
• [RLMRSTFLGx]=xx (it is checked by which factor reset has occurred)
STOP2 release interrupt
Interrupt procedure
• Setting interrupt enable register, interrupt
priority register.
• Jump to the interrupt procedure and check the
STOP2 return factor
Re-setup of register (Note2)
• Re-setting each function register with register
initialization
Release the port state hold function
• Initial setting at the return of STOP2 and
re-setup of the port registers.
• [RLMSHTDNOP]<PTKEEP> = 0 (possible to
control a port)
Note1: When STOP2 released by a reset pin, both "STOP2 reset flag" and "reset pin flag" are set.
Note2: When STOP2 mode is released by LVD reset, as for a reset flag, both "STOP2 reset flag" and "reset pin
flag" are materialized.
Note3: Register reset area in STOP2 Release differs by the case of interrupt and a reset pin. Refer to "3.2.8.1. A
reset factor and the reset range" for detail.
Release factor generating

Figure 1.3 STOP2 mode restart operation flow

33 / 88
Clock Control and Operation Mode
RESET_N pin or
LVD reset
It returns to NORMAL mode with all registers
initialized except for the reset flag. (Note3)
Re-setup of register (Note2)
• Re-setting each function with register
initialization
TXZ+ Family
TMPM4G Group(1)
2021-06-30
Rev. 1.1

Advertisement

Table of Contents
loading

Table of Contents