24.4.4 Sleep Mode Operation
The EVSYS can generate interrupts to wake the device from any sleep mode.
The sleep mode behavior for event channel n depends on the combination of CHANNEL[n].PATH, CHANNEL[n].RUNSTDBY, and CHANNEL[n].ONDEMAND, as shown in the following table:
| CHANNEL[n].PATH | CHANNEL[n].ONDEMAND | CHANNEL[n].RUNSTDBY | Sleep Behavior |
|---|---|---|---|
| ASYNC(1) | 0 | 0 | Channel n is available in both Idle and Standby sleep modes, but it will not wake the device |
| SYNC/RESYNC | 0 | 1 | In both Idle and Standby sleep modes, channel n continuously requests GCLK_EVSYS_CHn |
| RESYNC(2) | 1 | 0 | In Idle sleep mode, channel n will request GCLK_EVSYS_CHn only when an incoming event needs to be serviced |
| RESYNC(2) | 1 | 1 | In both Idle and Standby sleep modes, channel n will request GCLK_EVSYS_CHn only when an incoming event needs to be serviced |
Note:
- Using an asynchronous path, with CHANNEL[n].RUNSTDBY = 1 and CHANNEL[n].ONDEMAND = 1 is not recommended. Refer to the bit field descriptions for further information.
- With a synchronous path, CHANNEL[n].ONDEMAND = 1 is not recommended.
