Introduction
Wake-up sources configuration lets a device know what events can turn it on from sleep mode. This saves power by only waking up when needed.
When you want a device to wake up on a button press.
When a sensor detects movement and should wake the system.
When a timer expires and the device needs to perform a task.
When an external signal or interrupt should wake the device.