STM32L4xx_HAL_Driver  1.14.0
stm32l4xx_hal.h File Reference

This file contains all the functions prototypes for the HAL module driver. More...

Go to the source code of this file.

Functions

HAL_StatusTypeDef HAL_Init (void)
 Configure the Flash prefetch, the Instruction and Data caches, the time base source, NVIC and any required global low level hardware by calling the HAL_MspInit() callback function to be optionally defined in user file stm32l4xx_hal_msp.c. More...
 
HAL_StatusTypeDef HAL_DeInit (void)
 De-initialize common part of the HAL and stop the source of time base. More...
 
void HAL_MspInit (void)
 Initialize the MSP. More...
 
void HAL_MspDeInit (void)
 DeInitialize the MSP. More...
 
HAL_StatusTypeDef HAL_InitTick (uint32_t TickPriority)
 This function configures the source of the time base: The time source is configured to have 1ms time base with a dedicated Tick interrupt priority. More...
 
void HAL_IncTick (void)
 This function is called to increment a global variable "uwTick" used as application time base. More...
 
void HAL_Delay (uint32_t Delay)
 This function provides minimum delay (in milliseconds) based on variable incremented. More...
 
uint32_t HAL_GetTick (void)
 Provide a tick value in millisecond. More...
 
uint32_t HAL_GetTickPrio (void)
 This function returns a tick priority. More...
 
HAL_StatusTypeDef HAL_SetTickFreq (uint32_t Freq)
 Set new tick Freq. More...
 
uint32_t HAL_GetTickFreq (void)
 Return tick frequency. More...
 
void HAL_SuspendTick (void)
 Suspend Tick increment. More...
 
void HAL_ResumeTick (void)
 Resume Tick increment. More...
 
uint32_t HAL_GetHalVersion (void)
 Return the HAL revision. More...
 
uint32_t HAL_GetREVID (void)
 Return the device revision identifier. More...
 
uint32_t HAL_GetDEVID (void)
 Return the device identifier. More...
 
uint32_t HAL_GetUIDw0 (void)
 Return the first word of the unique device identifier (UID based on 96 bits) More...
 
uint32_t HAL_GetUIDw1 (void)
 Return the second word of the unique device identifier (UID based on 96 bits) More...
 
uint32_t HAL_GetUIDw2 (void)
 Return the third word of the unique device identifier (UID based on 96 bits) More...
 
void HAL_DBGMCU_EnableDBGSleepMode (void)
 Enable the Debug Module during SLEEP mode. More...
 
void HAL_DBGMCU_DisableDBGSleepMode (void)
 Disable the Debug Module during SLEEP mode. More...
 
void HAL_DBGMCU_EnableDBGStopMode (void)
 Enable the Debug Module during STOP0/STOP1/STOP2 modes. More...
 
void HAL_DBGMCU_DisableDBGStopMode (void)
 Disable the Debug Module during STOP0/STOP1/STOP2 modes. More...
 
void HAL_DBGMCU_EnableDBGStandbyMode (void)
 Enable the Debug Module during STANDBY mode. More...
 
void HAL_DBGMCU_DisableDBGStandbyMode (void)
 Disable the Debug Module during STANDBY mode. More...
 
void HAL_SYSCFG_SRAM2Erase (void)
 Start a hardware SRAM2 erase operation. More...
 
void HAL_SYSCFG_EnableMemorySwappingBank (void)
 Enable the Internal FLASH Bank Swapping. More...
 
void HAL_SYSCFG_DisableMemorySwappingBank (void)
 Disable the Internal FLASH Bank Swapping. More...
 
void HAL_SYSCFG_VREFBUF_VoltageScalingConfig (uint32_t VoltageScaling)
 Configure the internal voltage reference buffer voltage scale. More...
 
void HAL_SYSCFG_VREFBUF_HighImpedanceConfig (uint32_t Mode)
 Configure the internal voltage reference buffer high impedance mode. More...
 
void HAL_SYSCFG_VREFBUF_TrimmingConfig (uint32_t TrimmingValue)
 Tune the Internal Voltage Reference buffer (VREFBUF). More...
 
HAL_StatusTypeDef HAL_SYSCFG_EnableVREFBUF (void)
 Enable the Internal Voltage Reference buffer (VREFBUF). More...
 
void HAL_SYSCFG_DisableVREFBUF (void)
 Disable the Internal Voltage Reference buffer (VREFBUF). More...
 
void HAL_SYSCFG_EnableIOAnalogSwitchBooster (void)
 Enable the I/O analog switch voltage booster. More...
 
void HAL_SYSCFG_DisableIOAnalogSwitchBooster (void)
 Disable the I/O analog switch voltage booster. More...
 

Variables

 C
 
uint32_t uwTickPrio
 
uint32_t uwTickFreq
 

Detailed Description

This file contains all the functions prototypes for the HAL module driver.

Author
MCD Application Team
Attention

© Copyright (c) 2017 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Definition in file stm32l4xx_hal.h.

Variable Documentation

◆ C

C

Floating Point Unit Invalid operation Interrupt Floating Point Unit Divide-by-zero Interrupt Floating Point Unit Underflow Interrupt Floating Point Unit Overflow Interrupt Floating Point Unit Input denormal Interrupt Floating Point Unit Inexact Interrupt SRAM2 Write protection page 0 SRAM2 Write protection page 1 SRAM2 Write protection page 2 SRAM2 Write protection page 3 SRAM2 Write protection page 4 SRAM2 Write protection page 5 SRAM2 Write protection page 6 SRAM2 Write protection page 7 SRAM2 Write protection page 8 SRAM2 Write protection page 9 SRAM2 Write protection page 10 SRAM2 Write protection page 11 SRAM2 Write protection page 12 SRAM2 Write protection page 13 SRAM2 Write protection page 14 SRAM2 Write protection page 15 SRAM2 Write protection page 16 SRAM2 Write protection page 17 SRAM2 Write protection page 18 SRAM2 Write protection page 19 SRAM2 Write protection page 20 SRAM2 Write protection page 21 SRAM2 Write protection page 22 SRAM2 Write protection page 23 SRAM2 Write protection page 24 SRAM2 Write protection page 25 SRAM2 Write protection page 26 SRAM2 Write protection page 27 SRAM2 Write protection page 28 SRAM2 Write protection page 29 SRAM2 Write protection page 30 SRAM2 Write protection page 31 SRAM2 Write protection page 32 SRAM2 Write protection page 33 SRAM2 Write protection page 34 SRAM2 Write protection page 35 SRAM2 Write protection page 36 SRAM2 Write protection page 37 SRAM2 Write protection page 38 SRAM2 Write protection page 39 SRAM2 Write protection page 40 SRAM2 Write protection page 41 SRAM2 Write protection page 42 SRAM2 Write protection page 43 SRAM2 Write protection page 44 SRAM2 Write protection page 45 SRAM2 Write protection page 46 SRAM2 Write protection page 47 SRAM2 Write protection page 48 SRAM2 Write protection page 49 SRAM2 Write protection page 50 SRAM2 Write protection page 51 SRAM2 Write protection page 52 SRAM2 Write protection page 53 SRAM2 Write protection page 54 SRAM2 Write protection page 55 SRAM2 Write protection page 56 SRAM2 Write protection page 57 SRAM2 Write protection page 58 SRAM2 Write protection page 59 SRAM2 Write protection page 60 SRAM2 Write protection page 61 SRAM2 Write protection page 62 SRAM2 Write protection page 63 Voltage reference scale 0 (VREF_OUT1) Voltage reference scale 1 (VREF_OUT2) VREF_plus pin is internally connected to Voltage reference buffer output VREF_plus pin is high impedance SRAM2 parity error SRAM2 busy by erase operation Enable Fast-mode Plus on PB6 Enable Fast-mode Plus on PB7 Enable Fast-mode Plus on PB8 Enable Fast-mode Plus on PB9