37.6.7 Sleep Mode Operation
The ADC will continue to operate in any sleep mode where the selected source clock is running. The ADC’s interrupts except the OVERRUN interrupt, can be used to wake up the device from sleep modes. Events connected to the event system can trigger other operations in the system without exiting sleep modes.
The ONDEMAND and RUNSTDBY bits in the Control A register (CTRLA) control the behavior of the ADC during Standby Sleep mode, in cases where the ADC is enabled (CTRLA.ENABLE = 1). For further details on available options, refer to the following table.
CTRLA.RUNSTDBY | CTRLA.ONDEMAND | CTRLA.ENABLE | Description |
---|---|---|---|
x | x | 0 | Disabled |
0 | 0 | 1 | Run in all sleep modes except Standby mode. |
0 | 1 | 1 | Run in all sleep modes on request, except Standby mode. |
1 | 0 | 1 | Run in all sleep modes. |
1 | 1 | 1 | Run in all sleep modes on request. |