commit | 9a145e52a0362e567e97c6d7e654ea0a7a44204c | [log] [tgz] |
---|---|---|
author | Gerard Marull-Paretas <gerard.marull@nordicsemi.no> | Tue Oct 25 13:25:12 2022 +0200 |
committer | Anas Nashif <anas.nashif@intel.com> | Thu May 25 16:29:40 2023 -0400 |
tree | 21f418af3e7c4250f8169def63dbdf6b24dcd5fe | |
parent | c8cd40f5ae47d862599d42aff3b0c19cee140259 [diff] |
pm: policy: add support for events Events in the power-management policy context are defined as any source that will wake up the system at a known time in the future. By registering such event, the policy manager will be able to decide wether certain power states are worth entering or not. Events will bypass the ticks argument received by the policy manager if they occur earlier. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>