aboutsummaryrefslogtreecommitdiffstats
path: root/source/libmaple/api/pwr.rst
diff options
context:
space:
mode:
Diffstat (limited to 'source/libmaple/api/pwr.rst')
-rw-r--r--source/libmaple/api/pwr.rst47
1 files changed, 43 insertions, 4 deletions
diff --git a/source/libmaple/api/pwr.rst b/source/libmaple/api/pwr.rst
index 82e4864..6a2cf22 100644
--- a/source/libmaple/api/pwr.rst
+++ b/source/libmaple/api/pwr.rst
@@ -4,9 +4,48 @@
``pwr.h``
=========
-[Stub] support.
+Power control (PWR) support.
-Library Documentation
----------------------
+.. contents:: Contents
+ :local:
-.. doxygenfile:: pwr.h
+Types
+-----
+
+.. doxygenstruct:: pwr_reg_map
+
+Devices
+-------
+
+None.
+
+Functions
+---------
+
+.. doxygenfunction:: pwr_init
+
+Register Map Base Pointers
+--------------------------
+
+.. doxygendefine:: PWR_BASE
+
+Register Bit Definitions
+------------------------
+
+Control register
+~~~~~~~~~~~~~~~~
+
+.. doxygendefine:: PWR_CR_DBP
+.. doxygendefine:: PWR_CR_PVDE
+.. doxygendefine:: PWR_CR_CSBF
+.. doxygendefine:: PWR_CR_CWUF
+.. doxygendefine:: PWR_CR_PDDS
+.. doxygendefine:: PWR_CR_LPDS
+
+Control and status register
+~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+.. doxygendefine:: PWR_CSR_EWUP
+.. doxygendefine:: PWR_CSR_PVDO
+.. doxygendefine:: PWR_CSR_SBF
+.. doxygendefine:: PWR_CSR_WUF