23.7.4 Sleep Mode Operation

During Sleep modes, the ONDEMAND and RUNSTDBY bits in the Control A register (CTRLA) control the behavior of the FREQM clock requests, in cases where the FREQM is enabled (CTRLA.ENABLE = 1) during a sleep mode.

Table 23-1. FREQM Sleep Behavior
CTRLA.RUNSTDBYCTRLA.ONDEMANDCTRLA.ENABLEDescription
Xx0Disabled
001Always request the clocks in all sleep modes, except in STANDBY.
011On-demand clocks request in all sleep modes, except STANDBY.
101Always request the clocks in all sleep modes.
111On-demand clocks request in all sleep modes.
Note: By default, if RUNSTDBY = 0, an ongoing measurement is stopped when the device is going to standby sleep mode. A new measurement will be restarted when the device exits the standby sleep mode.