OpenMPTL - STM32 (common)
C++ Microprocessor Template Library
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
mptl Namespace Reference

Namespaces

 irq
 
 NVIC
 
 reg
 
 regbits
 
 reglist
 
 regmask
 
 sane_typelist
 
 SCB
 
 sim
 
 systick_clock
 
 typelist_element
 

Classes

struct  arm_cortex_vector_table
 
struct  bitband_periph
 
struct  core_base
 
class  core_exception
 
class  counted_ring_buffer
 
class  cycle_counter
 
struct  DEBUG
 
class  dwt
 
struct  DWT
 
class  fifo
 
class  gpio_analog_io_base
 
class  gpio_input_base
 
class  gpio_led_base
 
class  gpio_output_base
 
struct  irq_base
 
class  irq_channel
 
struct  irq_handler
 
struct  irq_handler_base
 
struct  MPU
 
struct  NVIC
 
class  reg
 
struct  reg_access
 
class  regbits
 
class  reglist
 
class  regmask
 
class  regval
 
class  ring_buffer
 
class  sane_typelist
 
struct  SCB
 
struct  SPI_Common
 Serial peripheral interface (SPI) More...
 
class  SPI_Common_Ext
 Some architectures (e.g. More...
 
class  spi_stm32_common
 
class  systick
 
struct  systick_clock
 
struct  TIM_common
 Advanced timer. More...
 
class  typelist_element
 
struct  typelist_unique_element
 
struct  USART_common
 Universal synchronous asynchronous receiver transmitter (USART), common to all stm32 processors. More...
 
class  USART_common_ext
 Some architectures (e.g. More...
 
class  usart_irq_stream
 
class  usart_stm32_common
 
struct  vector_table
 

Typedefs

typedef unsigned int freq_t
 
typedef void(*const isr_t) (void)
 
typedef typename mpl::merged_regmask< Tp... >::type merged_regmask
 
typedef reglist< typename typelist< Tp... >::template filter_type< mpl::regmask_tag > > make_reglist
 
typedef uintptr_t reg_addr_t
 
typedef typename mpl::make_typelist< sane_typelist<>, Tp... >::type typelist
 
typedef unsigned int voltage_t
 

Enumerations

enum  gpio_active_state { gpio_active_state::low, gpio_active_state::high }
 
enum  reg_perm
 

Functions

static constexpr freq_t hz (unsigned long long x)
 
static constexpr freq_t khz (unsigned long long x)
 
static constexpr freq_t mhz (unsigned long long x)
 
static constexpr voltage_t volt (long double x)
 

Variables

 ro
 
 wo
 
 rw