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

APB1 peripheral clock enable register (RCC_APB1ENR)

#include <rcc.hpp>

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

Public Types

using TIM2EN = regbits< type, 0, 1 >
 Timer 2 clock enable. More...
 
using TIM3EN = regbits< type, 1, 1 >
 Timer 3 clock enable. More...
 
using TIM4EN = regbits< type, 2, 1 >
 Timer 4 clock enable (not available on low-density devices!) More...
 
using TIM5EN = regbits< type, 3, 1 >
 Timer 5 clock enable. More...
 
using TIM6EN = regbits< type, 4, 1 >
 Timer 6 clock enable. More...
 
using TIM7EN = regbits< type, 5, 1 >
 Timer 7 clock enable. More...
 
using TIM12EN = regbits< type, 6, 1 >
 Timer 12 clock enable (only available on XL-density devices!) More...
 
using TIM13EN = regbits< type, 7, 1 >
 Timer 13 clock enable (only available on XL-density devices!) More...
 
using TIM14EN = regbits< type, 8, 1 >
 Timer 14 clock enable (only available on XL-density devices!) More...
 
using WWDGEN = regbits< type, 11, 1 >
 Window watchdog clock enable. More...
 
using SPI2EN = regbits< type, 14, 1 >
 SPI 2 clock enable (not available on low-density devices!) More...
 
using SPI3EN = regbits< type, 15, 1 >
 SPI 3 clock enable. More...
 
using USART2EN = regbits< type, 17, 1 >
 USART 2 clock enable. More...
 
using USART3EN = regbits< type, 18, 1 >
 USART 3 clock enable (not available on low-density devices!) More...
 
using UART4EN = regbits< type, 19, 1 >
 UART 4 clock enable. More...
 
using UART5EN = regbits< type, 20, 1 >
 UART 5 clock enable. More...
 
using I2C1EN = regbits< type, 21, 1 >
 I2C 1 clock enable. More...
 
using I2C2EN = regbits< type, 22, 1 >
 I2C 2 clock enable (not available on low-density devices!) More...
 
using USBEN = regbits< type, 23, 1 >
 USB device clock enable (not available on connectivity line devices!) More...
 
using CAN1EN = regbits< type, 25, 1 >
 CAN1 clock enable (not available on low- and medium-density devices!) More...
 
using CAN2EN = regbits< type, 26, 1 >
 CAN2 clock enable (only available on connectivity line devices!) More...
 
using BKPEN = regbits< type, 27, 1 >
 Backup interface clock enable. More...
 
using PWREN = regbits< type, 28, 1 >
 Power interface clock enable. More...
 
using DACEN = regbits< type, 29, 1 >
 DAC interface clock enable. More...
 
using CECEN = regbits< type, 30, 1 >
 CEC interface clock enable. More...
 
- Public Types inherited from mptl::reg< uint32_t, base_addr+0x1c, rw, 0x00000000 >
typedef reg< Tp, base_addr+0x1c, 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+0x1c, rw, 0x00000000 >
typedef Tp value_type
 

Additional Inherited Members

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

Member Typedef Documentation

◆ BKPEN

◆ CAN1EN

◆ CAN2EN

◆ CECEN

◆ DACEN

◆ I2C1EN

◆ I2C2EN

◆ PWREN

◆ SPI2EN

◆ SPI3EN

◆ TIM12EN

◆ TIM13EN

◆ TIM14EN

◆ TIM2EN

◆ TIM3EN

◆ TIM4EN

◆ TIM5EN

◆ TIM6EN

◆ TIM7EN

◆ UART4EN

◆ UART5EN

◆ USART2EN

◆ USART3EN

◆ USBEN

◆ WWDGEN


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