STM8L15x Standard Peripherals Drivers: File List

STM8L15x/16x Standard Peripherals Drivers

File List

Here is a list of all files with brief descriptions:
stm8l15x.h [code]This file contains all the peripheral register's definitions, bits definitions and memory mapping for STM8L15x devices
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
stm8l15x_adc.h [code]This file contains all the functions prototypes for the ADC firmware library
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
stm8l15x_aes.h [code]This file contains all the functions prototypes for the AES firmware library
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
stm8l15x_beep.h [code]This file contains all the functions prototypes for the BEEP firmware library
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
stm8l15x_clk.h [code]This file contains all the functions prototypes for the CLK firmware library
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
stm8l15x_comp.h [code]This file contains all the functions prototypes for the COMP firmware library
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
stm8l15x_dac.h [code]This file contains all the functions prototypes for the DAC firmware library
stm8l15x_dma.c [code]This file provides all the DMA firmware functions
stm8l15x_dma.h [code]This file contains all the functions prototypes for the DMA firmware library
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
stm8l15x_exti.h [code]This file contains all the functions prototypes for the EXTI firmware library
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
stm8l15x_flash.h [code]This file contains all the functions prototypes for the FLASH firmware library
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
stm8l15x_gpio.h [code]This file contains all the functions prototypes for the GPIO firmware library
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
stm8l15x_i2c.h [code]This file contains all the functions prototypes for the I2C firmware library
stm8l15x_irtim.c [code]This file provides firmware functions to configure the IRTIM peripheral
stm8l15x_irtim.h [code]This file contains all the functions prototypes for the IRTIM firmware library
stm8l15x_itc.c [code]This file provides firmware functions to manage the following functionality of the Interrupt controller (ITC) peripheral:
  • Configuration and management
stm8l15x_itc.h [code]This file contains all the functions prototypes for the ITC firmware library
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
stm8l15x_iwdg.h [code]
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
stm8l15x_lcd.h [code]This file contains all the functions prototypes for the LCD firmware library
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
stm8l15x_pwr.h [code]This file contains all the functions prototypes for the PWR firmware library
stm8l15x_rst.c [code]This file provides firmware functions to manage the following functionalities of the RST peripheral:
  • Flag management
  • NRST Pin configuration
stm8l15x_rst.h [code]This file contains all the functions prototypes for the RST firmware library
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
stm8l15x_rtc.h [code]This file contains all the functions prototypes for the RTC firmware library
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
stm8l15x_spi.h [code]This file contains all the functions prototypes for the SPI firmware library
stm8l15x_syscfg.c [code]This file provides firmware functions to manage the following functionalities of the RI and SYSCFG:
  • RI configuration
  • SYSCFG configuration
stm8l15x_syscfg.h [code]This file contains all the functions prototypes for the SYSCFG firmware library
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
stm8l15x_tim1.h [code]This file contains all the functions prototypes for the TIM1 firmware library
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
stm8l15x_tim2.h [code]This file contains all the functions prototypes for the TIM2 firmware library
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
stm8l15x_tim3.h [code]This file contains all the functions prototypes for the TIM3 firmware library
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
stm8l15x_tim4.h [code]This file contains all the functions prototypes for the TIM4 firmware library
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
stm8l15x_tim5.h [code]This file contains all the functions prototypes for the TIM5 firmware library
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
stm8l15x_usart.h [code]This file contains all the functions prototypes for the USART firmware library
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
stm8l15x_wfe.h [code]This file contains all the functions prototypes for the WFE firmware library
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
stm8l15x_wwdg.h [code]This file contains all the functions prototypes for the WWDG firmware library
STM8S Firmware Library: Overview

 

 

 

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