36.4.4 Sleep Mode Operation
In Idle sleep mode, each comparator will continue to operate as normal.
In Standby sleep mode, the behavior of
COMPn is controlled by the Run in Standby bit field in the Comparator n Comparator Control
A register (COMP[n].COMPCTRLA.RUNSTDBY). By default, COMPn is disabled during Standby sleep
mode but retains its current configuration. Events and interrupts will not be triggered,
and COMPn-OUT is not available on the pin. When COMP[n].COMPCTRLA.RUNSTDBY is written to
‘1’, COMPn continues to operate as normal during Standby sleep mode,
even if the clock is not running. Note that when COMP[n].COMPCTRLA.RUNSTDBY is
‘0’, the analog blocks are powered off to achieve the lowest power
consumption. As a result, a start-up delay is required when the system returns from
sleep.
For Window mode operation, both comparators in a pair must have the same configuration in COMP[n].COMPCTRLA.RUNSTDBY.
When COMP[n].COMPCTRLA.RUNSTDBY is
‘1’, any enabled AC interrupt source can wake up the CPU.
Refer to the PM – Power Manager chapter for more information about sleep mode operation.
