OpenMPTL - STM32F10X
C++ Microprocessor Template Library
|
Control register 2.
#include <adc.hpp>
Public Types | |
using | type = reg< uint32_t, base_addr+0x8, rw, 0x00000000 > |
using | TSVREFE = regbits< type, 23, 1 > |
Temperature sensor and VREFINT enable. More... | |
using | SWSTART = regbits< type, 22, 1 > |
Start conversion of regular channels. More... | |
using | JSWSTART = regbits< type, 21, 1 > |
Start conversion of injected channels. More... | |
using | EXTTRIG = regbits< type, 20, 1 > |
External trigger conversion mode for regular channels. More... | |
using | EXTSEL = regbits< type, 17, 3 > |
External event select for regular group. More... | |
using | JEXTTRIG = regbits< type, 15, 1 > |
External trigger conversion mode for injected channels. More... | |
using | JEXTSEL = regbits< type, 12, 3 > |
External event select for injected group. More... | |
using | ALIGN = regbits< type, 11, 1 > |
Data alignment. More... | |
using | DMA = regbits< type, 8, 1 > |
Direct memory access mode. More... | |
using | RSTCAL = regbits< type, 3, 1 > |
Reset calibration. More... | |
using | CAL = regbits< type, 2, 1 > |
A/D calibration. More... | |
using | CONT = regbits< type, 1, 1 > |
Continuous conversion. More... | |
using | ADON = regbits< type, 0, 1 > |
A/D converter ON / OFF. More... | |
![]() | |
typedef reg< Tp, base_addr+0x8, 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::ADC< adc_no >::CR2::ALIGN = regbits< type, 11, 1 > |
using mptl::ADC< adc_no >::CR2::EXTSEL = regbits< type, 17, 3 > |
using mptl::ADC< adc_no >::CR2::EXTTRIG = regbits< type, 20, 1 > |
using mptl::ADC< adc_no >::CR2::JEXTSEL = regbits< type, 12, 3 > |
using mptl::ADC< adc_no >::CR2::JEXTTRIG = regbits< type, 15, 1 > |
using mptl::ADC< adc_no >::CR2::JSWSTART = regbits< type, 21, 1 > |
using mptl::ADC< adc_no >::CR2::RSTCAL = regbits< type, 3, 1 > |
using mptl::ADC< adc_no >::CR2::SWSTART = regbits< type, 22, 1 > |
using mptl::ADC< adc_no >::CR2::TSVREFE = regbits< type, 23, 1 > |
using mptl::ADC< adc_no >::CR2::type = reg< uint32_t, base_addr + 0x8, rw, 0x00000000 > |