OpenMPTL - STM32F10X
C++ Microprocessor Template Library
Public Types | List of all members
mptl::ADC< adc_no >::DR Struct Reference

regular data register

#include <adc.hpp>

Inheritance diagram for mptl::ADC< adc_no >::DR:
mptl::reg< uint32_t, base_addr+0x4c, ro, 0x00000000 > mptl::reg_access< Tp, base_addr+0x4c, ro, 0x00000000 > mptl::typelist_element

Public Types

using type = reg< uint32_t, base_addr+0x4c, ro, 0x00000000 >
 
using DATA = regbits< type, 0, 16 >
 Regular data. More...
 
using ADC2DATA = regbits< type, 16, 16 >
 ADC2 data. More...
 
- Public Types inherited from mptl::reg< uint32_t, base_addr+0x4c, ro, 0x00000000 >
typedef reg< Tp, base_addr+0x4c, ro, 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+0x4c, ro, 0x00000000 >
typedef Tp value_type
 

Additional Inherited Members

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

Member Typedef Documentation

◆ ADC2DATA

template<unsigned adc_no>
using mptl::ADC< adc_no >::DR::ADC2DATA = regbits< type, 16, 16 >

◆ DATA

template<unsigned adc_no>
using mptl::ADC< adc_no >::DR::DATA = regbits< type, 0, 16 >

◆ type

template<unsigned adc_no>
using mptl::ADC< adc_no >::DR::type = reg< uint32_t, base_addr + 0x4c, ro, 0x00000000 >

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