CHAPTER 9: External Interrupt and NMI Control Sections
FM4 Peripheral Manual, Doc. No. 002-04856 Rev. *E 443
3.3 Returning from the Timer, Stop, RTC Mode
This section shows a return from the Timer, Stop, RTC mode.
Overview
An external interrupt and NMI requests can be used to return from the Timer, Stop, RTC mode.
In timer or stop mode, the signal first input to pin INTxx or NMIX is input asynchronously, and the device
can return from these modes to RUN mode.
Setting before Changing to the Timer, Stop, RTC Mode
To use an external interrupt request, in the External Interrupt Enable Register (ENIR), specify the pin
used to return from these modes and also specify the effective detection level before changing to these
modes.
− Pin used to return from these modes.: Interrupt request output enable (ENIR = 1)
− Pin not used to return from these modes.: Interrupt request output disable (ENIR = 0)
To use an NMI request, only the L level is detected, and no register setting is required.
Returning from the Timer, Stop, RTC Mode
For external interrupt request, if the pre-specified effective level is detected in the pin used to return from
these modes, the device returns from these modes.
For NMI request, if the L level is detected in these modes, the device returns from these modes.
Notes on Returning from the Timer, Stop, RTC Mode
Any other external interrupt requests cannot be recognized until the oscillation stabilization wait time
lapses after these modes were released.
(For INT01 in Figure 3-5, any external interrupt requests cannot be recognized.)
Therefore, to input an external interrupt after these modes was released, input an external interrupt signal
after the oscillation stabilization wait time lapsed.
Figure 3-5 Returning from the Timer, Stop, RTC Mode