aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/libmaple/api/pwr.rst
blob: 6a2cf226b7d786b5bc2c6a0ae79ff112355f71c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
.. highlight:: c
.. _libmaple-pwr:

``pwr.h``
=========

Power control (PWR) support.

.. contents:: Contents
   :local:

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