STM32LIB
Namespaces | Classes | Enumerations | Functions | Variables
STM32LIB Namespace Reference

A STM32F0xx library to ease the programming. More...

Namespaces

 StringUtil
 

Classes

class  BaseTimer
 
struct  ClockControl
 Reset and Clock Control acesss. More...
 
struct  ClockSource
 Peripheral Clock Source Control. More...
 
struct  ClockSource< PERIPHERAL_I2C1 >
 
struct  ClockSource< PERIPHERAL_USART1 >
 
struct  ClockSource< PERIPHERAL_USART2 >
 
class  EXTI_CONTROLER
 
class  EXTI_IRQ
 
class  EXTI_IRQ< EXTI0_1 >
 
class  EXTI_IRQ< EXTI2_3 >
 
class  EXTI_IRQ< EXTI4_15 >
 
class  GPIO
 GPIO Access class. More...
 
class  NVIC_CONTROLER
 NVIC interface class. More...
 
class  SemiHosting
 
class  SYSCONFIG
 
struct  SystemClock
 
struct  SystemClock< HSI >
 
class  TIMER
 TIMER class. More...
 
class  WAIT
 The class that implements the active waiting pause. More...
 

Enumerations

enum  EXTIn_IRQ { EXTI0_1, EXTI2_3, EXTI4_15 }
 
enum  PinName {
  PA_0 = 0x00, PA_1 = 0x01, PA_2 = 0x02, PA_3 = 0x03,
  PA_4 = 0x04, PA_5 = 0x05, PA_6 = 0x06, PA_7 = 0x07,
  PA_8 = 0x08, PA_9 = 0x09, PA_10 = 0x0A, PA_11 = 0x0B,
  PA_12 = 0x0C, PA_13 = 0x0D, PA_14 = 0x0E, PA_15 = 0x0F,
  PB_0 = 0x10, PB_1 = 0x11, PB_2 = 0x12, PB_3 = 0x13,
  PB_4 = 0x14, PB_5 = 0x15, PB_6 = 0x16, PB_7 = 0x17,
  PB_8 = 0x18, PB_9 = 0x19, PB_10 = 0x1A, PB_11 = 0x1B,
  PB_12 = 0x1C, PB_13 = 0x1D, PB_14 = 0x1E, PB_15 = 0x1F,
  PC_0 = 0x20, PC_1 = 0x21, PC_2 = 0x22, PC_3 = 0x23,
  PC_4 = 0x24, PC_5 = 0x25, PC_6 = 0x26, PC_7 = 0x27,
  PC_8 = 0x28, PC_9 = 0x29, PC_10 = 0x2A, PC_11 = 0x2B,
  PC_12 = 0x2C, PC_13 = 0x2D, PC_14 = 0x2E, PC_15 = 0x2F,
  PD_2 = 0x32, PF_0 = 0x50, PF_1 = 0x51, PF_4 = 0x54,
  PF_5 = 0x55, PF_6 = 0x56, PF_7 = 0x57
}
 

Functions

constexpr uint32_t STM32_PORT (PinName Pin)
 
constexpr uint32_t STM32_PIN (PinName Pin)
 
void __attribute__ ((interrupt("IRQ"))) TIM1_BRK_UP_TRG_COM_IRQHandler(void)
 

Variables

SemiHosting shost
 

Detailed Description

A STM32F0xx library to ease the programming.

For now it only supports the STM32F030R8

Author
Joao Cabral

Enumeration Type Documentation

Enumerator
EXTI0_1 
EXTI2_3 
EXTI4_15 

Pin Names

Enumerator
PA_0 
PA_1 
PA_2 
PA_3 
PA_4 
PA_5 
PA_6 
PA_7 
PA_8 
PA_9 
PA_10 
PA_11 
PA_12 
PA_13 
PA_14 
PA_15 
PB_0 
PB_1 
PB_2 
PB_3 
PB_4 
PB_5 
PB_6 
PB_7 
PB_8 
PB_9 
PB_10 
PB_11 
PB_12 
PB_13 
PB_14 
PB_15 
PC_0 
PC_1 
PC_2 
PC_3 
PC_4 
PC_5 
PC_6 
PC_7 
PC_8 
PC_9 
PC_10 
PC_11 
PC_12 
PC_13 
PC_14 
PC_15 
PD_2 
PF_0 
PF_1 
PF_4 
PF_5 
PF_6 
PF_7 

Function Documentation

constexpr uint32_t STM32LIB::STM32_PORT ( PinName  Pin)
constexpr uint32_t STM32LIB::STM32_PIN ( PinName  Pin)
void STM32LIB::__attribute__ ( (interrupt("IRQ"))  )

Variable Documentation

SemiHosting STM32LIB::shost