OpenMPTL - STM32F10X
C++ Microprocessor Template Library
Classes | Public Types | List of all members
mptl::PWR::CR Struct Reference

Power control register (PWR_CR)

#include <pwr.hpp>

Inheritance diagram for mptl::PWR::CR:
mptl::reg< uint32_t, base_addr+0x0, rw, 0x00000000 > mptl::reg_access< Tp, base_addr+0x0, rw, 0x00000000 > mptl::typelist_element

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...
 
- Public Types inherited from mptl::reg< uint32_t, base_addr+0x0, rw, 0x00000000 >
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
 
- Public Types inherited from mptl::reg_access< Tp, base_addr+0x0, rw, 0x00000000 >
typedef Tp value_type
 

Additional Inherited Members

- Static Public Member Functions inherited from mptl::reg< uint32_t, base_addr+0x0, rw, 0x00000000 >
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 Public Member Functions inherited from mptl::reg_access< Tp, base_addr+0x0, rw, 0x00000000 >
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 Public Attributes inherited from mptl::reg< uint32_t, base_addr+0x0, rw, 0x00000000 >
static constexpr value_type reset_value
 
- Static Public Attributes inherited from mptl::reg_access< Tp, base_addr+0x0, rw, 0x00000000 >
static constexpr reg_addr_t addr
 
static constexpr reg_perm permission
 
static constexpr bool bitop_enabled
 

Member Typedef Documentation

◆ CSBF

using mptl::PWR::CR::CSBF = regbits< type, 3, 1 >

◆ CWUF

using mptl::PWR::CR::CWUF = regbits< type, 2, 1 >

◆ DBP

using mptl::PWR::CR::DBP = regbits< type, 8, 1 >

◆ LPDS

using mptl::PWR::CR::LPDS = regbits< type, 0, 1 >

◆ PDDS

using mptl::PWR::CR::PDDS = regbits< type, 1, 1 >

◆ PVDE

using mptl::PWR::CR::PVDE = regbits< type, 4, 1 >

◆ type

using mptl::PWR::CR::type = reg< uint32_t, base_addr + 0x0, rw, 0x00000000 >

The documentation for this struct was generated from the following file: