12.1.2 Interrupts During Doze

System behavior if an interrupt occurs during Doze can be configured using the Recover-on-Interrupt (ROI) bit and the Doze-on-Exit (DOE) bit. Refer to the table below for details about system behavior in all cases for a transition from Main to ISR and back to Main.

Table 12-1. Interrupts During Doze
DOZEN ROI Code Flow
Main ISR(1) Return to Main
0 0 Normal Operation Normal operation and DOE = DOZEN (in hardware) DOZEN = 0 (unchanged) If DOE = 1 when return from interrupt: Doze operation and DOZEN = 1 (in hardware) If DOE = 0 when return from interrupt: Normal operation and DOZEN = 0 (in hardware)
0 1 Normal Operation Normal operation and DOE = DOZEN (in hardware) DOZEN = 0 (unchanged)
1 0 Doze operation Doze operation and DOE = DOZEN (in hardware) DOZEN = 1 (unchanged)
1 1 Doze operation Normal operation and DOE = DOZEN (in hardware) DOZEN = 0 (unchanged)
Note:
  1. User software can change DOE bit in the ISR.