OpenMPTL - STM32 (common)
C++ Microprocessor Template Library
Public Types | List of all members
mptl::TIM_common< _base_addr >::CR2 Struct Reference

Control register 2.

#include <tim.hpp>

Inheritance diagram for mptl::TIM_common< _base_addr >::CR2:
mptl::reg< std::uint_fast16_t, base_addr+0x4, rw, 0x0000 > mptl::reg_access< Tp, base_addr+0x4, rw, 0x0000 > mptl::typelist_element

Public Types

using type = reg< std::uint_fast16_t, base_addr+0x4, rw, 0x0000 >
 
using OIS4 = regbits< type, 14, 1 >
 Output Idle state 4. More...
 
using OIS3N = regbits< type, 13, 1 >
 Output Idle state 3. More...
 
using OIS3 = regbits< type, 12, 1 >
 Output Idle state 3. More...
 
using OIS2N = regbits< type, 11, 1 >
 Output Idle state 2. More...
 
using OIS2 = regbits< type, 10, 1 >
 Output Idle state 2. More...
 
using OIS1N = regbits< type, 9, 1 >
 Output Idle state 1. More...
 
using OIS1 = regbits< type, 8, 1 >
 Output Idle state 1. More...
 
using TI1S = regbits< type, 7, 1 >
 TI1 selection. More...
 
using MMS = regbits< type, 4, 3 >
 Master mode selection. More...
 
using CCDS = regbits< type, 3, 1 >
 Capture/compare DMA selection. More...
 
using CCUS = regbits< type, 2, 1 >
 Capture/compare control update selection. More...
 
using CCPC = regbits< type, 0, 1 >
 Capture/compare preloaded control. More...
 
- Public Types inherited from mptl::reg< std::uint_fast16_t, base_addr+0x4, rw, 0x0000 >
typedef reg< Tp, base_addr+0x4, rw, 0x0000 > 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, 0x0000 >
typedef Tp value_type
 

Additional Inherited Members

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

Member Typedef Documentation

◆ CCDS

template<reg_addr_t _base_addr>
using mptl::TIM_common< _base_addr >::CR2::CCDS = regbits< type, 3, 1 >

◆ CCPC

template<reg_addr_t _base_addr>
using mptl::TIM_common< _base_addr >::CR2::CCPC = regbits< type, 0, 1 >

◆ CCUS

template<reg_addr_t _base_addr>
using mptl::TIM_common< _base_addr >::CR2::CCUS = regbits< type, 2, 1 >

◆ MMS

template<reg_addr_t _base_addr>
using mptl::TIM_common< _base_addr >::CR2::MMS = regbits< type, 4, 3 >

◆ OIS1

template<reg_addr_t _base_addr>
using mptl::TIM_common< _base_addr >::CR2::OIS1 = regbits< type, 8, 1 >

◆ OIS1N

template<reg_addr_t _base_addr>
using mptl::TIM_common< _base_addr >::CR2::OIS1N = regbits< type, 9, 1 >

◆ OIS2

template<reg_addr_t _base_addr>
using mptl::TIM_common< _base_addr >::CR2::OIS2 = regbits< type, 10, 1 >

◆ OIS2N

template<reg_addr_t _base_addr>
using mptl::TIM_common< _base_addr >::CR2::OIS2N = regbits< type, 11, 1 >

◆ OIS3

template<reg_addr_t _base_addr>
using mptl::TIM_common< _base_addr >::CR2::OIS3 = regbits< type, 12, 1 >

◆ OIS3N

template<reg_addr_t _base_addr>
using mptl::TIM_common< _base_addr >::CR2::OIS3N = regbits< type, 13, 1 >

◆ OIS4

template<reg_addr_t _base_addr>
using mptl::TIM_common< _base_addr >::CR2::OIS4 = regbits< type, 14, 1 >

◆ TI1S

template<reg_addr_t _base_addr>
using mptl::TIM_common< _base_addr >::CR2::TI1S = regbits< type, 7, 1 >

◆ type

template<reg_addr_t _base_addr>
using mptl::TIM_common< _base_addr >::CR2::type = reg< std::uint_fast16_t, base_addr + 0x4, rw, 0x0000 >

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