OpenMPTL - STM32F10X
C++ Microprocessor Template Library
|
Power control register (PWR_CR)
#include <pwr.hpp>
Classes | |
struct | PLS |
PVD Level Selection. More... | |
Public Types | |
using | type = reg< uint32_t, base_addr+0x0, rw, 0x00000000 > |
using | LPDS = regbits< type, 0, 1 > |
Low Power Deep Sleep. More... | |
using | PDDS = regbits< type, 1, 1 > |
Power Down Deep Sleep. More... | |
using | CWUF = regbits< type, 2, 1 > |
Clear Wake-up Flag. More... | |
using | CSBF = regbits< type, 3, 1 > |
Clear STANDBY Flag. More... | |
using | PVDE = regbits< type, 4, 1 > |
Power Voltage Detector Enable. More... | |
using | DBP = regbits< type, 8, 1 > |
Disable Backup Domain write protection. More... | |
![]() | |
typedef reg< Tp, base_addr+0x0, rw, 0x00000000 > | type |
typedef type | reg_type |
typedef regbits< type, 0, sizeof(Tp) *8 > | regbits_type |
typedef Tp | value_type |
typedef regmask< reg_type, 0, 0 > | neutral_regmask |
![]() | |
typedef Tp | value_type |
Additional Inherited Members | |
![]() | |
static __always_inline value_type | test (value_type const value) |
static __always_inline void | set (value_type const value) |
static __always_inline void | set (value_type const set_mask, value_type const clear_mask) |
static __always_inline void | set (void) |
static __always_inline void | set (value_type const value) |
static __always_inline void | clear (value_type const value) |
static __always_inline void | clear (void) |
static __always_inline void | mask (value_type const value) |
static __always_inline void | reset () |
static __always_inline void | reset_to (void) |
![]() | |
static __always_inline Tp | load (void) |
static __always_inline void | store (Tp const value) |
static __always_inline void | bitset () |
static __always_inline void | bitclear () |
static __always_inline bool | bittest () |
![]() | |
static constexpr value_type | reset_value |
![]() | |
static constexpr reg_addr_t | addr |
static constexpr reg_perm | permission |
static constexpr bool | bitop_enabled |
using mptl::PWR::CR::CSBF = regbits< type, 3, 1 > |
using mptl::PWR::CR::CWUF = regbits< type, 2, 1 > |
using mptl::PWR::CR::DBP = regbits< type, 8, 1 > |
using mptl::PWR::CR::LPDS = regbits< type, 0, 1 > |
using mptl::PWR::CR::PDDS = regbits< type, 1, 1 > |
using mptl::PWR::CR::PVDE = regbits< type, 4, 1 > |
using mptl::PWR::CR::type = reg< uint32_t, base_addr + 0x0, rw, 0x00000000 > |