doc: pm: document system pm limitations
Document the limitations of system power management when it comes to transitions that are run from the idle thread. Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
This commit is contained in:
parent
775030e6f1
commit
37e78175e5
2 changed files with 8 additions and 0 deletions
|
@ -73,6 +73,12 @@ in transition between power states:
|
|||
* Gate/Un-gate power.
|
||||
* Mask/Un-mask interrupts.
|
||||
|
||||
.. note::
|
||||
|
||||
When using :ref:`pm-system`, device transitions can be run from the idle thread.
|
||||
As functions in this context cannot block, transitions that intend to use blocking
|
||||
API's **must** check whether they can do so with :c:func:`k_can_yield`.
|
||||
|
||||
Device Model with Power Management Support
|
||||
******************************************
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. _pm-system:
|
||||
|
||||
System Power Management
|
||||
#######################
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue