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

Status register.

#include <adc.hpp>

Inheritance diagram for mptl::ADC< adc_no >::SR:
mptl::reg< uint32_t, base_addr+0x0, rw, 0x00000000 > mptl::reg_access< Tp, base_addr+0x0, rw, 0x00000000 > mptl::typelist_element

Public Types

using type = reg< uint32_t, base_addr+0x0, rw, 0x00000000 >
 
using STRT = regbits< type, 4, 1 >
 Regular channel start flag. More...
 
using JSTRT = regbits< type, 3, 1 >
 Injected channel start flag. More...
 
using JEOC = regbits< type, 2, 1 >
 Injected channel end of conversion. More...
 
using EOC = regbits< type, 1, 1 >
 Regular channel end of conversion. More...
 
using AWD = regbits< type, 0, 1 >
 Analog watchdog flag. 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

◆ AWD

template<unsigned adc_no>
using mptl::ADC< adc_no >::SR::AWD = regbits< type, 0, 1 >

◆ EOC

template<unsigned adc_no>
using mptl::ADC< adc_no >::SR::EOC = regbits< type, 1, 1 >

◆ JEOC

template<unsigned adc_no>
using mptl::ADC< adc_no >::SR::JEOC = regbits< type, 2, 1 >

◆ JSTRT

template<unsigned adc_no>
using mptl::ADC< adc_no >::SR::JSTRT = regbits< type, 3, 1 >

◆ STRT

template<unsigned adc_no>
using mptl::ADC< adc_no >::SR::STRT = regbits< type, 4, 1 >

◆ type

template<unsigned adc_no>
using mptl::ADC< adc_no >::SR::type = reg< uint32_t, base_addr + 0x0, rw, 0x00000000 >

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