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

Control register 1.

#include <adc.hpp>

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

Public Types

using type = reg< uint32_t, base_addr+0x4, rw, 0x00000000 >
 
using AWDEN = regbits< type, 23, 1 >
 Analog watchdog enable on regular channels. More...
 
using JAWDEN = regbits< type, 22, 1 >
 Analog watchdog enable on injected channels. More...
 
using DUALMOD = regbits< type, 16, 4 >
 Dual mode selection. More...
 
using DISCNUM = regbits< type, 13, 3 >
 Discontinuous mode channel count. More...
 
using JDISCEN = regbits< type, 12, 1 >
 Discontinuous mode on injected channels. More...
 
using DISCEN = regbits< type, 11, 1 >
 Discontinuous mode on regular channels. More...
 
using JAUTO = regbits< type, 10, 1 >
 Automatic injected group conversion. More...
 
using AWDSGL = regbits< type, 9, 1 >
 Enable the watchdog on a single channel in scan mode. More...
 
using SCAN = regbits< type, 8, 1 >
 Scan mode. More...
 
using JEOCIE = regbits< type, 7, 1 >
 Interrupt enable for injected channels. More...
 
using AWDIE = regbits< type, 6, 1 >
 Analog watchdog interrupt enable. More...
 
using EOCIE = regbits< type, 5, 1 >
 Interrupt enable for EOC. More...
 
using AWDCH = regbits< type, 0, 5 >
 Analog watchdog channel select bits. More...
 
- Public Types inherited from mptl::reg< uint32_t, base_addr+0x4, rw, 0x00000000 >
typedef reg< Tp, base_addr+0x4, 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+0x4, rw, 0x00000000 >
typedef Tp value_type
 

Additional Inherited Members

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

Member Typedef Documentation

◆ AWDCH

template<unsigned adc_no>
using mptl::ADC< adc_no >::CR1::AWDCH = regbits< type, 0, 5 >

◆ AWDEN

template<unsigned adc_no>
using mptl::ADC< adc_no >::CR1::AWDEN = regbits< type, 23, 1 >

◆ AWDIE

template<unsigned adc_no>
using mptl::ADC< adc_no >::CR1::AWDIE = regbits< type, 6, 1 >

◆ AWDSGL

template<unsigned adc_no>
using mptl::ADC< adc_no >::CR1::AWDSGL = regbits< type, 9, 1 >

◆ DISCEN

template<unsigned adc_no>
using mptl::ADC< adc_no >::CR1::DISCEN = regbits< type, 11, 1 >

◆ DISCNUM

template<unsigned adc_no>
using mptl::ADC< adc_no >::CR1::DISCNUM = regbits< type, 13, 3 >

◆ DUALMOD

template<unsigned adc_no>
using mptl::ADC< adc_no >::CR1::DUALMOD = regbits< type, 16, 4 >

◆ EOCIE

template<unsigned adc_no>
using mptl::ADC< adc_no >::CR1::EOCIE = regbits< type, 5, 1 >

◆ JAUTO

template<unsigned adc_no>
using mptl::ADC< adc_no >::CR1::JAUTO = regbits< type, 10, 1 >

◆ JAWDEN

template<unsigned adc_no>
using mptl::ADC< adc_no >::CR1::JAWDEN = regbits< type, 22, 1 >

◆ JDISCEN

template<unsigned adc_no>
using mptl::ADC< adc_no >::CR1::JDISCEN = regbits< type, 12, 1 >

◆ JEOCIE

template<unsigned adc_no>
using mptl::ADC< adc_no >::CR1::JEOCIE = regbits< type, 7, 1 >

◆ SCAN

template<unsigned adc_no>
using mptl::ADC< adc_no >::CR1::SCAN = regbits< type, 8, 1 >

◆ type

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

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