STM8L15x Standard Peripherals Drivers: C:/FALCO/Introduction Package/DOC/Others/STM8L15x_StdPeriph_Lib/Little Falco/STM8L15x_StdPeriph_Lib_V1.5.0/Libraries/STM8L15x_StdPeriph_Driver/src/ Directory Reference

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

src Directory Reference

Files

file  stm8l15x_adc.c [code]
 

This file provides firmware functions to manage the following functionalities of the Analog to Digital Convertor (ADC) peripheral:

  • Initialization and Configuration
  • Power saving
  • Analog Watchdog configuration
  • Temperature Sensor & Vrefint (Voltage Reference internal) management
  • Regular Channels Configuration
  • Regular Channels DMA Configuration
  • Injected channels Configuration
  • Interrupts and flags management.
file  stm8l15x_aes.c [code]
 

This file provides firmware functions to manage the following functionalities of the Advanced Encryption Standard (AES) peripheral:

  • Configuration
  • Read/Write operations
  • DMA transfers management
  • Interrupts and flags management.

file  stm8l15x_beep.c [code]
 

This file provides firmware functions to manage the following functionalities of the BEEPER (BEEP) peripheral:

  • Initialization and Configuration
  • Low Speed Internal Clock(LSI) Calibration.

file  stm8l15x_clk.c [code]
 

This file provides firmware functions to manage the following functionalities of the clock controler (CLK) peripheral:

  • Internal/external clocks, CSS and CCO configuration
  • System clocks configuration
  • Peripheral clocks configuration
  • CSS on LSE configuration
  • Low power clock configuration
  • Interrupts and flags management.

file  stm8l15x_comp.c [code]
 

This file provides firmware functions to manage the following functionalities of the comparators (COMP1 and COMP2) peripheral:

  • Comparators configuration
  • Window mode control
  • Internal Reference Voltage (VREFINT) output
  • Comparator channels trigger configuration
  • Interrupts and flags management.

file  stm8l15x_dac.c [code]
 

This file provides firmware functions to manage the following functionalities of the Digital-to-Analog Converter (DAC) peripheral:

  • DAC channels configuration: trigger, output buffer, data format
  • DMA management
  • Interrupts and flags management.

file  stm8l15x_dma.c [code]
 

This file provides all the DMA firmware functions.


file  stm8l15x_exti.c [code]
 

This file provides firmware functions to manage the following functionalities of the EXTI peripheral:

  • Interrupt sensitivity of GPIO ports/pins configuration
  • Interrupt status management.

file  stm8l15x_flash.c [code]
 

This file provides all the Flash firmware functions. These functions can be executed from Internal FLASH or Internal RAM memories.

  • FLASH program and Data EEPROM memories interface configuration
  • FLASH program and Data EEPROM memories Programming
  • Option Bytes Programming
  • Interrupts and flags management
  • Functions to be executed from RAM.

file  stm8l15x_gpio.c [code]
 

This file provides firmware functions to manage the following functionalities of the GPIO peripheral:

  • Initialization and Configuration
  • GPIO Read and Write.

file  stm8l15x_i2c.c [code]
 

This file provides firmware functions to manage the following functionalities of the Inter-integrated circuit (I2C)

  • Initialization and Configuration
  • Data transfers
  • PEC management
  • DMA transfers management
  • Interrupts, events and flags management.

file  stm8l15x_irtim.c [code]
 

This file provides firmware functions to configure the IRTIM peripheral.


file  stm8l15x_itc.c [code]
 

This file provides firmware functions to manage the following functionality of the Interrupt controller (ITC) peripheral:

  • Configuration and management.

file  stm8l15x_iwdg.c [code]
 

This file provides firmware functions to manage the following functionalities of the Independent watchdog (IWDG) peripheral:

  • Prescaler and Counter configuration
  • IWDG activation.

file  stm8l15x_lcd.c [code]
 

This file provides firmware functions to manage the following functionalities of the LCD controller (LCD) peripheral:

  • Initialization and configuration
  • LCD RAM memory write
  • Interrupts and flags management.

file  stm8l15x_pwr.c [code]
 

This file provides firmware functions to manage the following functionalities of the Power Controller (PWR) peripheral:

  • PVD configuration
  • Ultra Low Power mode configuration
  • Interrupts and flags management.

file  stm8l15x_rst.c [code]
 

This file provides firmware functions to manage the following functionalities of the RST peripheral:

  • Flag management
  • NRST Pin configuration.

file  stm8l15x_rtc.c [code]
 

This file provides firmware functions to manage the following functionalities of the Real-Time Clock (RTC) peripheral:

  • Initialization
  • Calendar (Time and Date) configuration
  • Alarm configuration
  • WakeUp Timer configuration
  • Daylight Saving configuration
  • Output pin Configuration
  • Smooth Calibration configuration
  • Tampers configuration
  • Output Type configuration
  • Interrupts and flags management.

file  stm8l15x_spi.c [code]
 

This file provides firmware functions to manage the following functionalities of the Serial peripheral interface (SPI):

  • Initialization and Configuration
  • Data transfers functions
  • Hardware CRC Calculation
  • DMA transfers management
  • Interrupts and flags management.

file  stm8l15x_syscfg.c [code]
 

This file provides firmware functions to manage the following functionalities of the RI and SYSCFG:

  • RI configuration
  • SYSCFG configuration.

file  stm8l15x_tim1.c [code]
 

This file provides firmware functions to manage the following functionalities of the TIM1 peripheral:

  • TimeBase management
  • Output Compare management
  • Input Capture management
  • Interrupts, DMA and flags management
  • Clocks management
  • Synchronization management
  • Specific interface management.

file  stm8l15x_tim2.c [code]
 

This file provides firmware functions to manage the following functionalities of the TIM2 peripheral:

  • TimeBase management
  • Output Compare management
  • Input Capture management
  • Interrupts, DMA and flags management
  • Clocks management
  • Synchronization management
  • Specific interface management.

file  stm8l15x_tim3.c [code]
 

This file provides firmware functions to manage the following functionalities of the TIM3 peripheral:

  • TimeBase management
  • Output Compare management
  • Input Capture management
  • Interrupts, DMA and flags management
  • Clocks management
  • Synchronization management
  • Specific interface management.

file  stm8l15x_tim4.c [code]
 

This file provides firmware functions to manage the following functionalities of the TIM4 peripheral:

  • TimeBase management
  • Interrupts, DMA and flags management
  • Clocks management
  • Synchronization management.

file  stm8l15x_tim5.c [code]
 

This file provides firmware functions to manage the following functionalities of the TIM5 peripheral:

  • TimeBase management
  • Output Compare management
  • Input Capture management
  • Interrupts, DMA and flags management
  • Clocks management
  • Synchronization management
  • Specific interface management.

file  stm8l15x_usart.c [code]
 

This file provides firmware functions to manage the following functionalities of the Universal synchronous asynchronous receiver transmitter (USART):

  • Initialization and Configuration
  • Data transfers
  • Multi-Processor Communication
  • Half-duplex mode
  • Smartcard mode
  • IrDA mode
  • DMA transfers management
  • Interrupts and flags management.

file  stm8l15x_wfe.c [code]
 

This file provides firmware functions to manage the following functionalities of the Wait for Event (WFE) peripheral:

  • WFE Source configuration and management.

file  stm8l15x_wwdg.c [code]
 

This file provides firmware functions to manage the following functionalities of the Window watchdog (WWDG) peripheral:

  • Refresh window and Counter configuration
  • WWDG activation
  • Couter and software reset management.

STM8S Firmware Library: Overview

 

 

 

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