STM32L486xx HAL User Manual
Src Directory Reference

Files

file  stm32l4xx_hal.c [code]
 

HAL module driver. This is the common part of the HAL initialization.


file  stm32l4xx_hal_adc.c [code]
 

This file provides firmware functions to manage the following functionalities of the Analog to Digital Convertor (ADC) peripheral: + Initialization and de-initialization functions ++ Initialization and Configuration of ADC + Operation functions ++ Start, stop, get result of conversions of regular group, using 3 possible modes: polling, interruption or DMA. + Control functions ++ Channels configuration on regular group ++ Analog Watchdog configuration + State functions ++ ADC state machine management ++ Interrupts and flags management Other functions (extended functions) are available in file "stm32l4xx_hal_adc_ex.c".


file  stm32l4xx_hal_adc_ex.c [code]
 

This file provides firmware functions to manage the following functionalities of the Analog to Digital Convertor (ADC) peripheral: + Operation functions ++ Start, stop, get result of conversions of ADC group injected, using 2 possible modes: polling, interruption. ++ Calibration +++ ADC automatic self-calibration +++ Calibration factors get or set ++ Multimode feature when available + Control functions ++ Channels configuration on ADC group injected + State functions ++ ADC group injected contexts queue management Other functions (generic functions) are available in file "stm32l4xx_hal_adc.c".


file  stm32l4xx_hal_can.c [code]
 

CAN HAL module driver. This file provides firmware functions to manage the following functionalities of the Controller Area Network (CAN) peripheral: + Initialization and de-initialization functions + Configuration functions + Control functions + Interrupts management + Callbacks functions + Peripheral State and Error functions.


file  stm32l4xx_hal_comp.c [code]
 

COMP HAL module driver. This file provides firmware functions to manage the following functionalities of the COMP peripheral: + Initialization and de-initialization functions + Start/Stop operation functions in polling mode + Start/Stop operation functions in interrupt mode (through EXTI interrupt) + Peripheral control functions + Peripheral state functions.


file  stm32l4xx_hal_cortex.c [code]
 

CORTEX HAL module driver. This file provides firmware functions to manage the following functionalities of the CORTEX: + Initialization and Configuration functions + Peripheral Control functions.


file  stm32l4xx_hal_crc.c [code]
 

CRC HAL module driver. This file provides firmware functions to manage the following functionalities of the Cyclic Redundancy Check (CRC) peripheral: + Initialization and de-initialization functions + Peripheral Control functions + Peripheral State functions.


file  stm32l4xx_hal_crc_ex.c [code]
 

Extended CRC HAL module driver. This file provides firmware functions to manage the extended functionalities of the CRC peripheral.


file  stm32l4xx_hal_cryp.c [code]
 

CRYP HAL module driver. This file provides firmware functions to manage the following functionalities of the Cryptography (CRYP) peripheral: + Initialization and de-initialization functions + Processing functions using polling mode + Processing functions using interrupt mode + Processing functions using DMA mode + Peripheral State functions.


file  stm32l4xx_hal_cryp_ex.c [code]
 

CRYPEx HAL module driver. This file provides firmware functions to manage the extended functionalities of the Cryptography (CRYP) peripheral.


file  stm32l4xx_hal_dac.c [code]
 

DAC HAL module driver. This file provides firmware functions to manage the following functionalities of the Digital to Analog Converter (DAC) peripheral: + Initialization and de-initialization functions + IO operation functions + Peripheral Control functions + Peripheral State and Errors functions.


file  stm32l4xx_hal_dac_ex.c [code]
 

DAC HAL module driver. This file provides firmware functions to manage the extended functionalities of the DAC peripheral.


file  stm32l4xx_hal_dcmi.c [code]
 

DCMI HAL module driver This file provides firmware functions to manage the following functionalities of the Digital Camera Interface (DCMI) peripheral: + Initialization and de-initialization functions + IO operation functions + Peripheral Control functions + Peripheral State and Error functions.


file  stm32l4xx_hal_dfsdm.c [code]
 

This file provides firmware functions to manage the following functionalities of the Digital Filter for Sigma-Delta Modulators (DFSDM) peripherals: + Initialization and configuration of channels and filters + Regular channels configuration + Injected channels configuration + Regular/Injected Channels DMA Configuration + Interrupts and flags management + Analog watchdog feature + Short-circuit detector feature + Extremes detector feature + Clock absence detector feature + Break generation on analog watchdog or short-circuit event.


file  stm32l4xx_hal_dfsdm_ex.c [code]
 

DFSDM Extended HAL module driver. This file provides firmware functions to manage the following functionality of the DFSDM Peripheral Controller: + Set and get pulses skipping on channel.


file  stm32l4xx_hal_dma.c [code]
 

DMA HAL module driver. This file provides firmware functions to manage the following functionalities of the Direct Memory Access (DMA) peripheral: + Initialization and de-initialization functions + IO operation functions + Peripheral State and errors functions.


file  stm32l4xx_hal_dma2d.c [code]
 

DMA2D HAL module driver. This file provides firmware functions to manage the following functionalities of the DMA2D peripheral: + Initialization and de-initialization functions + IO operation functions + Peripheral Control functions + Peripheral State and Errors functions.


file  stm32l4xx_hal_dma_ex.c [code]
 

DMA Extension HAL module driver This file provides firmware functions to manage the following functionalities of the DMA Extension peripheral: + Extended features functions.


file  stm32l4xx_hal_dsi.c [code]
 

DSI HAL module driver. This file provides firmware functions to manage the following functionalities of the DSI peripheral: + Initialization and de-initialization functions + IO operation functions + Peripheral Control functions + Peripheral State and Errors functions.


file  stm32l4xx_hal_firewall.c [code]
 

FIREWALL HAL module driver. This file provides firmware functions to manage the Firewall Peripheral initialization and enabling.


file  stm32l4xx_hal_flash.c [code]
 

FLASH HAL module driver. This file provides firmware functions to manage the following functionalities of the internal FLASH memory: + Program operations functions + Memory Control functions + Peripheral Errors functions.


file  stm32l4xx_hal_flash_ex.c [code]
 

Extended FLASH HAL module driver. This file provides firmware functions to manage the following functionalities of the FLASH extended peripheral: + Extended programming operations functions.


file  stm32l4xx_hal_flash_ramfunc.c [code]
 

FLASH RAMFUNC driver. This file provides a Flash firmware functions which should be executed from internal SRAM + FLASH HalfPage Programming + FLASH Power Down in Run mode.


file  stm32l4xx_hal_gfxmmu.c [code]
 

This file provides firmware functions to manage the following functionalities of the Graphic MMU (GFXMMU) peripheral: + Initialization and De-initialization. + LUT configuration. + Modify physical buffer adresses. + Error management.


file  stm32l4xx_hal_gpio.c [code]
 

GPIO HAL module driver. This file provides firmware functions to manage the following functionalities of the General Purpose Input/Output (GPIO) peripheral: + Initialization and de-initialization functions + IO operation functions.


file  stm32l4xx_hal_hash.c [code]
 

HASH HAL module driver. This file provides firmware functions to manage the following functionalities of the HASH peripheral: + Initialization and de-initialization methods + HASH or HMAC processing in polling mode + HASH or HMAC processing in interrupt mode + HASH or HMAC processing in DMA mode + Peripheral State methods + HASH or HMAC processing suspension/resumption.


file  stm32l4xx_hal_hash_ex.c [code]
 

Extended HASH HAL module driver. This file provides firmware functions to manage the following functionalities of the HASH peripheral for SHA-224 and SHA-256 alogrithms: + HASH or HMAC processing in polling mode + HASH or HMAC processing in interrupt mode + HASH or HMAC processing in DMA mode Additionally, this file provides functions to manage HMAC multi-buffer DMA-based processing for MD-5, SHA-1, SHA-224 and SHA-256.


file  stm32l4xx_hal_hcd.c [code]
 

HCD HAL module driver. This file provides firmware functions to manage the following functionalities of the USB Peripheral Controller: + Initialization and de-initialization functions + IO operation functions + Peripheral Control functions + Peripheral State functions.


file  stm32l4xx_hal_i2c.c [code]
 

I2C HAL module driver. This file provides firmware functions to manage the following functionalities of the Inter Integrated Circuit (I2C) peripheral: + Initialization and de-initialization functions + IO operation functions + Peripheral State and Errors functions.


file  stm32l4xx_hal_i2c_ex.c [code]
 

I2C Extended HAL module driver. This file provides firmware functions to manage the following functionalities of I2C Extended peripheral: + Extended features functions.


file  stm32l4xx_hal_irda.c [code]
 

IRDA HAL module driver. This file provides firmware functions to manage the following functionalities of the IrDA (Infrared Data Association) Peripheral (IRDA) + Initialization and de-initialization functions + IO operation functions + Peripheral State and Errors functions + Peripheral Control functions.


file  stm32l4xx_hal_iwdg.c [code]
 

IWDG HAL module driver. This file provides firmware functions to manage the following functionalities of the Independent Watchdog (IWDG) peripheral: + Initialization and Start functions + IO operation functions.


file  stm32l4xx_hal_lcd.c [code]
 

LCD Controller HAL module driver. This file provides firmware functions to manage the following functionalities of the LCD Controller (LCD) peripheral: + Initialization/de-initialization methods + I/O operation methods + Peripheral State methods.


file  stm32l4xx_hal_lptim.c [code]
 

LPTIM HAL module driver. This file provides firmware functions to manage the following functionalities of the Low Power Timer (LPTIM) peripheral: + Initialization and de-initialization functions. + Start/Stop operation functions in polling mode. + Start/Stop operation functions in interrupt mode. + Reading operation functions. + Peripheral State functions.


file  stm32l4xx_hal_ltdc.c [code]
 

LTDC HAL module driver. This file provides firmware functions to manage the following functionalities of the LTDC peripheral: + Initialization and de-initialization functions + IO operation functions + Peripheral Control functions + Peripheral State and Errors functions.


file  stm32l4xx_hal_ltdc_ex.c [code]
 

LTDC Extension HAL module driver.


file  stm32l4xx_hal_nand.c [code]
 

NAND HAL module driver. This file provides a generic firmware to drive NAND memories mounted as external device.


file  stm32l4xx_hal_nor.c [code]
 

NOR HAL module driver. This file provides a generic firmware to drive NOR memories mounted as external device.


file  stm32l4xx_hal_opamp.c [code]
 

OPAMP HAL module driver. This file provides firmware functions to manage the following functionalities of the operational amplifier(s) peripheral: + OPAMP configuration + OPAMP calibration Thanks to + Initialization and de-initialization functions + IO operation functions + Peripheral Control functions + Peripheral State functions.


file  stm32l4xx_hal_opamp_ex.c [code]
 

Extended OPAMP HAL module driver. This file provides firmware functions to manage the following functionalities of the operational amplifier(s)(OPAMP1, OPAMP2 etc) peripheral: + Extended Initialization and de-initialization functions + Extended Peripheral Control functions.


file  stm32l4xx_hal_ospi.c [code]
 

OSPI HAL module driver. This file provides firmware functions to manage the following functionalities of the OctoSPI interface (OSPI). + Initialization and de-initialization functions + Hyperbus configuration + Indirect functional mode management + Memory-mapped functional mode management + Auto-polling functional mode management + Interrupts and flags management + DMA channel configuration for indirect functional mode + Errors management and abort functionality + IO manager configuration.


file  stm32l4xx_hal_pcd.c [code]
 

PCD HAL module driver. This file provides firmware functions to manage the following functionalities of the USB Peripheral Controller: + Initialization and de-initialization functions + IO operation functions + Peripheral Control functions + Peripheral State functions.


file  stm32l4xx_hal_pcd_ex.c [code]
 

PCD Extended HAL module driver. This file provides firmware functions to manage the following functionalities of the USB Peripheral Controller: + Extended features functions.


file  stm32l4xx_hal_pwr.c [code]
 

PWR HAL module driver. This file provides firmware functions to manage the following functionalities of the Power Controller (PWR) peripheral: + Initialization/de-initialization functions + Peripheral Control functions.


file  stm32l4xx_hal_pwr_ex.c [code]
 

Extended PWR HAL module driver. This file provides firmware functions to manage the following functionalities of the Power Controller (PWR) peripheral: + Extended Initialization and de-initialization functions + Extended Peripheral Control functions.


file  stm32l4xx_hal_qspi.c [code]
 

QSPI HAL module driver. This file provides firmware functions to manage the following functionalities of the QuadSPI interface (QSPI). + Initialization and de-initialization functions + Indirect functional mode management + Memory-mapped functional mode management + Auto-polling functional mode management + Interrupts and flags management + DMA channel configuration for indirect functional mode + Errors management and abort functionality.


file  stm32l4xx_hal_rcc.c [code]
 

RCC HAL module driver. This file provides firmware functions to manage the following functionalities of the Reset and Clock Control (RCC) peripheral: + Initialization and de-initialization functions + Peripheral Control functions.


file  stm32l4xx_hal_rcc_ex.c [code]
 

Extended RCC HAL module driver. This file provides firmware functions to manage the following functionalities RCC extended peripheral: + Extended Peripheral Control functions + Extended Clock management functions + Extended Clock Recovery System Control functions.


file  stm32l4xx_hal_rng.c [code]
 

RNG HAL module driver. This file provides firmware functions to manage the following functionalities of the Random Number Generator (RNG) peripheral: + Initialization/de-initialization functions + Peripheral Control functions + Peripheral State functions.


file  stm32l4xx_hal_rtc.c [code]
 

RTC HAL module driver. This file provides firmware functions to manage the following functionalities of the Real-Time Clock (RTC) peripheral: + Initialization + Calendar (Time and Date) configuration + Alarms (Alarm A and Alarm B) configuration + WakeUp Timer configuration + TimeStamp configuration + Tampers configuration + Backup Data Registers configuration + RTC Tamper and TimeStamp Pins Selection + Interrupts and flags management.


file  stm32l4xx_hal_rtc_ex.c [code]
 

Extended RTC HAL module driver. This file provides firmware functions to manage the following functionalities of the Real Time Clock (RTC) Extended peripheral: + RTC Time Stamp functions + RTC Tamper functions + RTC Wake-up functions + Extended Control functions + Extended RTC features functions.


file  stm32l4xx_hal_sai.c [code]
 

SAI HAL module driver. This file provides firmware functions to manage the following functionalities of the Serial Audio Interface (SAI) peripheral: + Initialization/de-initialization functions + I/O operation functions + Peripheral Control functions + Peripheral State functions.


file  stm32l4xx_hal_sai_ex.c [code]
 

SAI Extended HAL module driver. This file provides firmware functions to manage the following functionality of the SAI Peripheral Controller: + Modify PDM microphone delays.


file  stm32l4xx_hal_sd.c [code]
 

SD card HAL module driver. This file provides firmware functions to manage the following functionalities of the Secure Digital (SD) peripheral: + Initialization and de-initialization functions + IO operation functions + Peripheral Control functions + SD card Control functions.


file  stm32l4xx_hal_sd_ex.c [code]
 

SD card Extended HAL module driver. This file provides firmware functions to manage the following functionalities of the Secure Digital (SD) peripheral: + Extended features functions.


file  stm32l4xx_hal_smartcard.c [code]
 

SMARTCARD HAL module driver. This file provides firmware functions to manage the following functionalities of the SMARTCARD peripheral: + Initialization and de-initialization functions + IO operation functions + Peripheral Control functions + Peripheral State and Error functions.


file  stm32l4xx_hal_smartcard_ex.c [code]
 

SMARTCARD HAL module driver. This file provides extended firmware functions to manage the following functionalities of the SmartCard. + Initialization and de-initialization functions + Peripheral Control functions.


file  stm32l4xx_hal_smbus.c [code]
 

SMBUS HAL module driver. This file provides firmware functions to manage the following functionalities of the System Management Bus (SMBus) peripheral, based on I2C principles of operation : + Initialization and de-initialization functions + IO operation functions + Peripheral State and Errors functions.


file  stm32l4xx_hal_spi.c [code]
 

SPI HAL module driver. This file provides firmware functions to manage the following functionalities of the Serial Peripheral Interface (SPI) peripheral: + Initialization and de-initialization functions + IO operation functions + Peripheral Control functions + Peripheral State functions.


file  stm32l4xx_hal_spi_ex.c [code]
 

Extended SPI HAL module driver. This file provides firmware functions to manage the following SPI peripheral extended functionalities : + IO operation functions.


file  stm32l4xx_hal_sram.c [code]
 

SRAM HAL module driver. This file provides a generic firmware to drive SRAM memories mounted as external device.


file  stm32l4xx_hal_swpmi.c [code]
 

SWPMI HAL module driver. This file provides firmware functions to manage the following functionalities of the Single Wire Protocol Master Interface (SWPMI). + Initialization and Configuration + Data transfers functions + DMA transfers management + Interrupts and flags management.


file  stm32l4xx_hal_tim.c [code]
 

TIM HAL module driver. This file provides firmware functions to manage the following functionalities of the Timer (TIM) peripheral: + Time Base Initialization + Time Base Start + Time Base Start Interruption + Time Base Start DMA + Time Output Compare/PWM Initialization + Time Output Compare/PWM Channel Configuration + Time Output Compare/PWM Start + Time Output Compare/PWM Start Interruption + Time Output Compare/PWM Start DMA + Time Input Capture Initialization + Time Input Capture Channel Configuration + Time Input Capture Start + Time Input Capture Start Interruption + Time Input Capture Start DMA + Time One Pulse Initialization + Time One Pulse Channel Configuration + Time One Pulse Start + Time Encoder Interface Initialization + Time Encoder Interface Start + Time Encoder Interface Start Interruption + Time Encoder Interface Start DMA + Commutation Event configuration with Interruption and DMA + Time OCRef clear configuration + Time External Clock configuration.


file  stm32l4xx_hal_tim_ex.c [code]
 

TIM HAL module driver. This file provides firmware functions to manage the following functionalities of the Timer Extended peripheral: + Time Hall Sensor Interface Initialization + Time Hall Sensor Interface Start + Time Complementary signal break and dead time configuration + Time Master and Slave synchronization configuration + Time Output Compare/PWM Channel Configuration (for channels 5 and 6) + Time OCRef clear configuration + Timer remapping capabilities configuration.


file  stm32l4xx_hal_tsc.c [code]
 

This file provides firmware functions to manage the following functionalities of the Touch Sensing Controller (TSC) peripheral: + Initialization and De-initialization + Channel IOs, Shield IOs and Sampling IOs configuration + Start and Stop an acquisition + Read acquisition result + Interrupts and flags management.


file  stm32l4xx_hal_uart.c [code]
 

UART HAL module driver. This file provides firmware functions to manage the following functionalities of the Universal Asynchronous Receiver Transmitter Peripheral (UART). + Initialization and de-initialization functions + IO operation functions + Peripheral Control functions.


file  stm32l4xx_hal_uart_ex.c [code]
 

Extended UART HAL module driver. This file provides firmware functions to manage the following extended functionalities of the Universal Asynchronous Receiver Transmitter Peripheral (UART). + Initialization and de-initialization functions + Peripheral Control functions.


file  stm32l4xx_hal_usart.c [code]
 

USART HAL module driver. This file provides firmware functions to manage the following functionalities of the Universal Synchronous/Asynchronous Receiver Transmitter Peripheral (USART). + Initialization and de-initialization functions + IO operation functions + Peripheral Control functions + Peripheral State and Error functions.


file  stm32l4xx_hal_usart_ex.c [code]
 

Extended USART HAL module driver. This file provides firmware functions to manage the following extended functionalities of the Universal Synchronous Receiver Transmitter Peripheral (USART). + Peripheral Control functions.


file  stm32l4xx_hal_wwdg.c [code]
 

WWDG HAL module driver. This file provides firmware functions to manage the following functionalities of the Window Watchdog (WWDG) peripheral: + Initialization and Configuration functions + IO operation functions.


file  stm32l4xx_ll_adc.c [code]
 

ADC LL module driver.


file  stm32l4xx_ll_comp.c [code]
 

COMP LL module driver.


file  stm32l4xx_ll_crc.c [code]
 

CRC LL module driver.


file  stm32l4xx_ll_crs.c [code]
file  stm32l4xx_ll_dac.c [code]
 

DAC LL module driver.


file  stm32l4xx_ll_dma.c [code]
 

DMA LL module driver.


file  stm32l4xx_ll_dma2d.c [code]
 

DMA2D LL module driver.


file  stm32l4xx_ll_exti.c [code]
 

EXTI LL module driver.


file  stm32l4xx_ll_gpio.c [code]
 

GPIO LL module driver.


file  stm32l4xx_ll_i2c.c [code]
 

I2C LL module driver.


file  stm32l4xx_ll_lptim.c [code]
 

LPTIM LL module driver.


file  stm32l4xx_ll_lpuart.c [code]
 

LPUART LL module driver.


file  stm32l4xx_ll_opamp.c [code]
 

OPAMP LL module driver.


file  stm32l4xx_ll_pwr.c [code]
 

PWR LL module driver.


file  stm32l4xx_ll_rcc.c [code]
 

RCC LL module driver.


file  stm32l4xx_ll_rng.c [code]
 

RNG LL module driver.


file  stm32l4xx_ll_rtc.c [code]
 

RTC LL module driver.


file  stm32l4xx_ll_spi.c [code]
 

SPI LL module driver.


file  stm32l4xx_ll_swpmi.c [code]
 

SWPMI LL module driver.


file  stm32l4xx_ll_tim.c [code]
 

TIM LL module driver.


file  stm32l4xx_ll_usart.c [code]
 

USART LL module driver.


file  stm32l4xx_ll_utils.c [code]
 

UTILS LL module driver.