Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Auto generated API documentation and code listings for STM32L4xx_HAL_Driver
FMC_NAND_InitTypeDef | FMC_NAND Configuration Structure definition |
FMC_NAND_PCC_TimingTypeDef | FMC_NAND Timing parameters structure definition |
FMC_NORSRAM_InitTypeDef | FMC_NORSRAM Configuration Structure definition |
FMC_NORSRAM_TimingTypeDef | FMC_NORSRAM Timing parameters structure definition |
SDMMC_CmdInitTypeDef | SDMMC Command Control structure |
SDMMC_DataInitTypeDef | SDMMC Data Control structure |
SDMMC_InitTypeDef | SDMMC Configuration Structure definition |
USB_OTG_CfgTypeDef | PCD Initialization Structure definition |
Code
stm32_hal_legacy.h [code] | This file contains aliases definition for the STM32Cube HAL constants macros and functions maintained for legacy purpose |
stm32l4xx_hal.c [code] | HAL module driver. This is the common part of the HAL initialization |
stm32l4xx_hal.h [code] | This file contains all the functions prototypes for the HAL module driver |
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 ++ Configuration of ADC + Operation functions ++ Start, stop, get result of regular conversions of regular using 3 possible modes: polling, interruption or DMA. + Control functions ++ Analog Watchdog configuration ++ Channels configuration on regular group + State functions ++ ADC state machine management ++ Interrupts and flags management |
stm32l4xx_hal_adc.h [code] | Header file of ADC HAL module |
stm32l4xx_hal_adc_ex.c [code] | This file provides firmware functions to manage the following functionalities of the Analog to Digital Convertor (ADC) peripheral: + Calibration functions ++ Calibration start-up ++ Calibration value reading or setting + Operation functions ++ Start, stop, get result of conversions of injected groups, using 3 possible modes: polling or interruption. ++ Multimode feature when available + Control functions ++ Configure channels on injected group + State functions ++ Injected group queues management |
stm32l4xx_hal_adc_ex.h [code] | Header file of ADC HAL extended module |
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 + IO operation functions + Peripheral Control functions + Peripheral State and Error functions |
stm32l4xx_hal_can.h [code] | Header file of CAN HAL module |
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. + Peripheral Control functions + Peripheral State functions |
stm32l4xx_hal_comp.h [code] | Header file of COMP HAL module |
stm32l4xx_hal_conf_template.h [code] | |
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 |
stm32l4xx_hal_cortex.h [code] | Header file of CORTEX HAL module |
stm32l4xx_hal_crc.c [code] | CRC HAL module driver. This file provides firmware functions to manage the following functionalities of the CRC peripheral: + Initialization and de-initialization functions + Peripheral Control functions + Peripheral State functions |
stm32l4xx_hal_crc.h [code] | Header file of CRC HAL module |
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 |
stm32l4xx_hal_crc_ex.h [code] | Header file of CRC HAL extended module |
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 |
stm32l4xx_hal_cryp.h [code] | Header file of CRYP HAL module |
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 |
stm32l4xx_hal_cryp_ex.h [code] | Header file of CRYPEx HAL module |
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 |
stm32l4xx_hal_dac.h [code] | Header file of DAC HAL module |
stm32l4xx_hal_dac_ex.c [code] | DAC HAL module driver. This file provides firmware functions to manage the extended functionalities of the DAC peripheral |
stm32l4xx_hal_dac_ex.h [code] | Header file of DAC HAL Extended module |
stm32l4xx_hal_def.h [code] | This file contains HAL common defines, enumeration, macros and structures definitions |
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 |
stm32l4xx_hal_dfsdm.h [code] | Header file of DFSDM HAL module |
stm32l4xx_hal_dma.c [code] | DMA HAL module driver |
stm32l4xx_hal_dma.h [code] | Header file of DMA HAL module |
stm32l4xx_hal_firewall.c [code] | FIREWALL HAL module driver. This file provides firmware functions to manage the Firewall Peripheral initialization and enabling |
stm32l4xx_hal_firewall.h [code] | Header file of FIREWALL HAL module |
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 |
stm32l4xx_hal_flash.h [code] | Header file of FLASH HAL module |
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 |
stm32l4xx_hal_flash_ex.h [code] | Header file of FLASH HAL Extended module |
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 |
stm32l4xx_hal_flash_ramfunc.h [code] | Header file of FLASH RAMFUNC driver |
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 |
stm32l4xx_hal_gpio.h [code] | Header file of GPIO HAL module |
stm32l4xx_hal_gpio_ex.h [code] | Header file of GPIO HAL Extended module |
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 |
stm32l4xx_hal_hcd.h [code] | Header file of HCD HAL module |
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 |
stm32l4xx_hal_i2c.h [code] | Header file of I2C HAL module |
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 |
stm32l4xx_hal_i2c_ex.h [code] | Header file of I2C HAL Extended module |
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 |
stm32l4xx_hal_irda.h [code] | Header file of IRDA HAL module |
stm32l4xx_hal_irda_ex.h [code] | Header file of IRDA HAL Extended module |
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 de-initialization functions + IO operation functions + Peripheral State functions |
stm32l4xx_hal_iwdg.h [code] | Header file of IWDG HAL module |
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 |
stm32l4xx_hal_lcd.h [code] | Header file of LCD Controller HAL module |
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 |
stm32l4xx_hal_lptim.h [code] | Header file of LPTIM HAL module |
stm32l4xx_hal_msp_template.c [code] | HAL MSP module. This file template is located in the HAL folder and should be copied to the user folder |
stm32l4xx_hal_nand.c [code] | NAND HAL module driver. This file provides a generic firmware to drive NAND memories mounted as external device |
stm32l4xx_hal_nand.h [code] | Header file of NAND HAL module |
stm32l4xx_hal_nor.c [code] | NOR HAL module driver. This file provides a generic firmware to drive NOR memories mounted as external device |
stm32l4xx_hal_nor.h [code] | Header file of NOR HAL module |
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 |
stm32l4xx_hal_opamp.h [code] | Header file of OPAMP HAL module |
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 |
stm32l4xx_hal_opamp_ex.h [code] | Header file of OPAMP HAL Extended module |
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 |
stm32l4xx_hal_pcd.h [code] | Header file of PCD HAL module |
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 |
stm32l4xx_hal_pcd_ex.h [code] | Header file of PCD HAL module |
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 |
stm32l4xx_hal_pwr.h [code] | Header file of PWR HAL module |
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 |
stm32l4xx_hal_pwr_ex.h [code] | Header file of PWR HAL Extended module |
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 |
stm32l4xx_hal_qspi.h [code] | Header file of QSPI HAL module |
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 |
stm32l4xx_hal_rcc.h [code] | Header file of RCC HAL module |
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 |
stm32l4xx_hal_rcc_ex.h [code] | Header file of RCC HAL Extended module |
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 |
stm32l4xx_hal_rng.h [code] | Header file of RNG HAL module |
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 |
stm32l4xx_hal_rtc.h [code] | Header file of RTC HAL module |
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 |
stm32l4xx_hal_rtc_ex.h [code] | Header file of RTC HAL Extended module |
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 |
stm32l4xx_hal_sai.h [code] | Header file of SAI HAL module |
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 + Peripheral State functions |
stm32l4xx_hal_sd.h [code] | Header file of SD HAL module |
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 |
stm32l4xx_hal_smartcard.h [code] | Header file of SMARTCARD HAL module |
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 |
stm32l4xx_hal_smartcard_ex.h [code] | Header file of SMARTCARD HAL Extended module |
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 |
stm32l4xx_hal_smbus.h [code] | Header file of SMBUS HAL module |
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 |
stm32l4xx_hal_spi.h [code] | Header file of SPI HAL module |
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 |
stm32l4xx_hal_spi_ex.h [code] | Header file of SPI HAL Extended module |
stm32l4xx_hal_sram.c [code] | SRAM HAL module driver. This file provides a generic firmware to drive SRAM memories mounted as external device |
stm32l4xx_hal_sram.h [code] | Header file of SRAM HAL module |
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 |
stm32l4xx_hal_swpmi.h [code] | Header file of SWPMI HAL module |
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 |
stm32l4xx_hal_tim.h [code] | Header file of TIM HAL module |
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 |
stm32l4xx_hal_tim_ex.h [code] | Header file of TIM HAL Extended module |
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 |
stm32l4xx_hal_tsc.h [code] | Header file of TSC HAL module |
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 |
stm32l4xx_hal_uart.h [code] | Header file of UART HAL module |
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 |
stm32l4xx_hal_uart_ex.h [code] | Header file of UART HAL Extended module |
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 |
stm32l4xx_hal_usart.h [code] | Header file of USART HAL module |
stm32l4xx_hal_usart_ex.h [code] | Header file of USART HAL Extended module |
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 de-initialization functions + IO operation functions + Peripheral State functions |
stm32l4xx_hal_wwdg.h [code] | Header file of WWDG HAL module |
stm32l4xx_ll_adc.h [code] | Header file of ADC LL module |
stm32l4xx_ll_bus.h [code] | Header file of BUS LL module |
stm32l4xx_ll_comp.h [code] | Header file of COMP LL module |
stm32l4xx_ll_cortex.h [code] | Header file of CORTEX LL module |
stm32l4xx_ll_crc.h [code] | Header file of CRC LL module |
stm32l4xx_ll_dac.h [code] | Header file of DAC LL module |
stm32l4xx_ll_dma.h [code] | Header file of DMA LL module |
stm32l4xx_ll_exti.h [code] | Header file of EXTI LL module |
stm32l4xx_ll_fmc.c [code] | FMC Low Layer HAL module driver. This file provides firmware functions to manage the following functionalities of the Flexible Memory Controller (FMC) peripheral memories: + Initialization/de-initialization functions + Peripheral Control functions + Peripheral State functions |
stm32l4xx_ll_fmc.h [code] | Header file of FMC HAL module |
stm32l4xx_ll_gpio.h [code] | Header file of GPIO LL module |
stm32l4xx_ll_i2c.h [code] | Header file of I2C LL module |
stm32l4xx_ll_iwdg.h [code] | Header file of IWDG LL module |
stm32l4xx_ll_lptim.h [code] | Header file of LPTIM LL module |
stm32l4xx_ll_lpuart.h [code] | Header file of LPUART LL module |
stm32l4xx_ll_opamp.h [code] | Header file of OPAMP LL module |
stm32l4xx_ll_pwr.h [code] | Header file of PWR LL module |
stm32l4xx_ll_rcc.h [code] | Header file of RCC LL module |
stm32l4xx_ll_rng.h [code] | Header file of RNG LL module |
stm32l4xx_ll_rtc.h [code] | Header file of RTC LL module |
stm32l4xx_ll_sdmmc.c [code] | SDMMC Low Layer HAL module driver. This file provides firmware functions to manage the following functionalities of the SDMMC peripheral: + Initialization/de-initialization functions + I/O operation functions + Peripheral Control functions + Peripheral State functions |
stm32l4xx_ll_sdmmc.h [code] | Header file of low layer SDMMC HAL module |
stm32l4xx_ll_spi.h [code] | Header file of SPI LL module |
stm32l4xx_ll_swpmi.h [code] | Header file of SWPMI LL module |
stm32l4xx_ll_system.h [code] | Header file of SYSTEM LL module |
stm32l4xx_ll_tim.h [code] | Header file of TIM LL module |
stm32l4xx_ll_usart.h [code] | Header file of USART LL module |
stm32l4xx_ll_usb.c [code] | USB Low Layer HAL module driver |
stm32l4xx_ll_usb.h [code] | Header file of USB Core HAL module |
stm32l4xx_ll_utils.h [code] | Header file of UTILS LL module |
stm32l4xx_ll_wwdg.h [code] | Header file of WWDG LL module |