STM8L15x Standard Peripherals Drivers: STM8L15x_StdPeriph_Driver

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

STM8L15x_StdPeriph_Driver

Data Structures

struct  RST_struct
 Reset Controller (RST) More...

Modules

 TIM3
 

TIM3 driver modules.


 ADC
 

ADC driver modules.


 AES
 

AES driver modules.


 BEEP
 

BEEP driver modules.


 CLK
 

CLK driver modules.


 COMP
 

COMP driver modules.


 DAC
 

DAC driver modules.


 DMA
 

DMA driver modules.


 EXTI
 

EXTI driver modules.


 FLASH
 

FLASH driver modules.


 I2C
 

I2C driver modules.


 IRTIM
 

IRTIM driver modules.


 ITC
 

ITC driver modules.


 IWDG
 

IWDG driver modules.


 LCD
 

LCD driver modules.


 PWR
 

PWR driver modules.


 RST
 

RST driver modules.


 RTC
 

RTC driver modules.


 SPI
 

SPI driver modules.


 SYSCFG
 

SYSCFG driver modules.


 TIM1
 

TIM1 driver modules.


 TIM2
 

TIM2 driver modules.


 TIM4
 

TIM4 driver modules.


 TIM5
 

TIM5 driver modules.


 USART
 

USART driver modules.


 WFE
 

WFE driver modules.


 WWDG
 

WWDG driver modules.


 Exported_types
 MAP_FILE_Exported_Types_and_Constants

Defines

#define __CONST   CONST
 Legacy definition.
#define __STM8L15X_STDPERIPH_VERSION
#define __STM8L15X_STDPERIPH_VERSION_MAIN   ((uint8_t)0x01)
#define __STM8L15X_STDPERIPH_VERSION_RC   ((uint8_t)0x00)
#define __STM8L15X_STDPERIPH_VERSION_SUB1   ((uint8_t)0x05)
#define __STM8L15X_STDPERIPH_VERSION_SUB2   ((uint8_t)0x00)
#define CONST   const
#define EEPROM   __eeprom
#define FAR   __far
#define HSE_VALUE   ((uint32_t)16000000)
 In the following line adjust the value of External High Speed oscillator (HSE) used in your application.
#define HSI_VALUE   ((uint32_t)16000000)
 Definition of Device on-chip RC oscillator frequencies.
#define IN_RAM(a)   a
#define LSE_VALUE   ((uint32_t)32768)
 Definition of External Low Speed oscillator (LSE) frequency.
#define LSI_VALUE   ((uint32_t)38000)
#define NEAR   __near
#define PointerAttr   FAR
#define TINY   __tiny
#define USE_STDPERIPH_DRIVER

Typedefs

typedef struct RST_struct RST_TypeDef
 Reset Controller (RST)

Define Documentation

#define __CONST   CONST

Legacy definition.

Definition at line 134 of file stm8l15x.h.

#define __STM8L15X_STDPERIPH_VERSION
#define __STM8L15X_STDPERIPH_VERSION_MAIN   ((uint8_t)0x01)

< [31:16] STM8L15X Standard Peripheral Library main version [31:24] main version

Definition at line 162 of file stm8l15x.h.

#define __STM8L15X_STDPERIPH_VERSION_RC   ((uint8_t)0x00)

[7:0] release candidate

Definition at line 165 of file stm8l15x.h.

#define __STM8L15X_STDPERIPH_VERSION_SUB1   ((uint8_t)0x05)

[23:16] sub1 version

Definition at line 163 of file stm8l15x.h.

#define __STM8L15X_STDPERIPH_VERSION_SUB2   ((uint8_t)0x00)

[15:8] sub2 version

Definition at line 164 of file stm8l15x.h.

#define CONST   const

Definition at line 128 of file stm8l15x.h.

#define EEPROM   __eeprom

Definition at line 127 of file stm8l15x.h.

#define FAR   __far

Definition at line 124 of file stm8l15x.h.

#define HSE_VALUE   ((uint32_t)16000000)

In the following line adjust the value of External High Speed oscillator (HSE) used in your application.

Tip: To avoid modifying this file each time you need to use different HSE, you can define the HSE value in your toolchain compiler preprocessor. Typical Value of the HSE in Hz

Definition at line 90 of file stm8l15x.h.

Referenced by CLK_GetClockFreq().

#define HSI_VALUE   ((uint32_t)16000000)

Definition of Device on-chip RC oscillator frequencies.

Typical Value of the HSI in Hz

Definition at line 101 of file stm8l15x.h.

Referenced by CLK_GetClockFreq().

#define IN_RAM (   a )    a

Definition at line 158 of file stm8l15x.h.

#define LSE_VALUE   ((uint32_t)32768)

Definition of External Low Speed oscillator (LSE) frequency.

Typical Value of the LSE in Hz

Definition at line 96 of file stm8l15x.h.

Referenced by CLK_GetClockFreq().

#define LSI_VALUE   ((uint32_t)38000)

Typical Value of the LSI in Hz

Definition at line 102 of file stm8l15x.h.

Referenced by CLK_GetClockFreq().

#define NEAR   __near

Definition at line 125 of file stm8l15x.h.

#define PointerAttr   FAR

< Used with memory Models for code higher than 64K

Definition at line 141 of file stm8l15x.h.

Referenced by FLASH_EraseByte(), FLASH_EraseOptionByte(), FLASH_ProgramByte(), FLASH_ProgramOptionByte(), FLASH_ProgramWord(), and FLASH_ReadByte().

#define TINY   __tiny

Definition at line 126 of file stm8l15x.h.

#define USE_STDPERIPH_DRIVER

< STM8L15X_LD: STM8L15x Low density devices

< STM8L15X_MD: STM8L15x Medium density devices

< STM8L15X_MDP: STM8L15x Medium density plus devices

< STM8L15X_HD: STM8L15x/16x High density devices

Definition at line 79 of file stm8l15x.h.


Typedef Documentation

typedef struct RST_struct RST_TypeDef

Reset Controller (RST)

STM8S Firmware Library: Overview

 

 

 

For complete documentation on STM8L15x 8-bit microcontrollers platform visit www.st.com