OpenMPTL - STM32F10X
C++ Microprocessor Template Library
Public Types | List of all members
mptl::RCC::APB2ENR Struct Reference

APB2 peripheral clock enable register (RCC_APB2ENR)

#include <rcc.hpp>

Inheritance diagram for mptl::RCC::APB2ENR:
mptl::reg< uint32_t, base_addr+0x18, rw, 0x00000000 > mptl::reg_access< Tp, base_addr+0x18, rw, 0x00000000 > mptl::typelist_element

Public Types

using AFIOEN = regbits< type, 0, 1 >
 Alternate function I/O clock enable. More...
 
using IOPAEN = regbits< type, 2, 1 >
 I/O port A clock enable. More...
 
using IOPBEN = regbits< type, 3, 1 >
 I/O port B clock enable. More...
 
using IOPCEN = regbits< type, 4, 1 >
 I/O port C clock enable. More...
 
using IOPDEN = regbits< type, 5, 1 >
 I/O port D clock enable. More...
 
using IOPEEN = regbits< type, 6, 1 >
 I/O port E clock enable (not available on low-density devices!) More...
 
using IOPFEN = regbits< type, 7, 1 >
 I/O port F clock enable (only available on high- and XL-density devices!) More...
 
using IOPGEN = regbits< type, 8, 1 >
 I/O port G clock enable (only available on high- and XL-density devices!) More...
 
using ADC1EN = regbits< type, 9, 1 >
 ADC 1 interface clock enable. More...
 
using ADC2EN = regbits< type, 10, 1 >
 ADC 2 interface clock enable (not available on low- and medium-density devices!) More...
 
using TIM1EN = regbits< type, 11, 1 >
 TIM1 Timer clock enable. More...
 
using SPI1EN = regbits< type, 12, 1 >
 SPI 1 clock enable. More...
 
using TIM8EN = regbits< type, 13, 1 >
 TIM8 Timer clock enable (only available on high- and XL-density devices!) More...
 
using USART1EN = regbits< type, 14, 1 >
 USART1 clock enable. More...
 
using ADC3EN = regbits< type, 15, 1 >
 ADC 3 interface clock enable (only available on high- and XL-density devices!) More...
 
using TIM15EN = regbits< type, 16, 1 >
 TIM15 Timer clock enable (only available on low- and medium-density devices!) More...
 
using TIM16EN = regbits< type, 17, 1 >
 TIM16 Timer clock enable (only available on low- and medium-density devices!) More...
 
using TIM17EN = regbits< type, 18, 1 >
 TIM17 Timer clock enable (only available on low- and medium-density devices!) More...
 
using TIM9EN = regbits< type, 19, 1 >
 TIM9 Timer clock enable (only available on XL-density devices!) More...
 
using TIM10EN = regbits< type, 20, 1 >
 TIM10 Timer clock enable (only available on XL-density devices!) More...
 
using TIM11EN = regbits< type, 21, 1 >
 TIM11 Timer clock enable (only available on XL-density devices!) More...
 
- Public Types inherited from mptl::reg< uint32_t, base_addr+0x18, rw, 0x00000000 >
typedef reg< Tp, base_addr+0x18, 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+0x18, rw, 0x00000000 >
typedef Tp value_type
 

Additional Inherited Members

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

Member Typedef Documentation

◆ ADC1EN

◆ ADC2EN

◆ ADC3EN

◆ AFIOEN

◆ IOPAEN

◆ IOPBEN

◆ IOPCEN

◆ IOPDEN

◆ IOPEEN

◆ IOPFEN

◆ IOPGEN

◆ SPI1EN

◆ TIM10EN

◆ TIM11EN

◆ TIM15EN

◆ TIM16EN

◆ TIM17EN

◆ TIM1EN

◆ TIM8EN

◆ TIM9EN

◆ USART1EN


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