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
DOZENROICode Flow
MainISR(1)Return to Main
00Normal OperationNormal 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)
01Normal OperationNormal operation and DOE = DOZEN (in hardware) DOZEN = 0 (unchanged)
10Doze operationDoze operation and DOE = DOZEN (in hardware) DOZEN = 1 (unchanged)
11Doze operationNormal operation and DOE = DOZEN (in hardware) DOZEN = 0 (unchanged)
Note:
  1. User software can change DOE bit in the ISR.