24.4.4 Sleep Mode Operation
The EVSYS can generate interrupts to wake up the device from any sleep mode.
Event channel n will behave differently in different sleep modes depending on the combination of CHANNEL[n].PATH, CHANNEL[n].RUNSTDBY, and CHANNEL[n].ONDEMAND, as shown in the table below:
| CHANNEL[n].PATH | CHANNEL[n].ONDEMAND | CHANNEL[n].RUNSTDBY | Sleep Behavior |
|---|---|---|---|
| ASYNC(1) | 0 | 0 | Channel n will be available in both Idle and Standby sleep modes, but it will not wake up the device |
| SYNC/RESYNC | 0 | 1 | In both Idle and Standby Sleep modes, channel n will continuously request 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.
