doc: reference: pm: include all API and move to pm

Include all API groups (some where missing) and move to pm folder
instead of power_management for consistency.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2021-11-09 22:49:19 +01:00 committed by Christopher Friedt
commit f64a9c1aba
4 changed files with 36 additions and 26 deletions

View file

@ -242,7 +242,7 @@ current :ref:`stability level <api_lifecycle>`.
- 1.0
- 1.11
* - :ref:`power_management_api`
* - :ref:`pm_api`
- Experimental
- 1.2
- 2.2

View file

@ -28,7 +28,7 @@ API Reference
networking/index.rst
peripherals/index.rst
pinctrl/index.rst
power_management/index.rst
pm/index.rst
random/index.rst
resource_management/index.rst
shell/index.rst

View file

@ -0,0 +1,34 @@
.. _pm_api:
Power Management
################
System PM APIs
**************
.. doxygengroup:: subsys_pm_sys
States
======
.. doxygengroup:: subsys_pm_states
Constraints
===========
.. doxygengroup:: subsys_pm_sys_constraint
Hooks
=====
.. doxygengroup:: subsys_pm_sys_hooks
Device PM APIs
**************
.. doxygengroup:: subsys_pm_device
Device Runtime PM APIs
**********************
.. doxygengroup:: subsys_pm_device_runtime

View file

@ -1,24 +0,0 @@
.. _power_management_api:
Power Management
################
API Reference
*************
Power Management Hook Interface
===============================
.. doxygengroup:: subsys_pm_sys_hooks
System Power Management APIs
============================
.. doxygengroup:: subsys_pm_sys
Device Power Management APIs
============================
.. doxygengroup:: subsys_pm_device
.. doxygengroup:: subsys_pm_device_runtime