STM32L443xx HAL User Manual
|
HAL module driver. This is the common part of the HAL initialization. More...
#include "stm32l4xx_hal.h"
Go to the source code of this file.
Defines | |
#define | STM32L4XX_HAL_VERSION_MAIN (0x01U) |
STM32L4xx HAL Driver version number. | |
#define | STM32L4XX_HAL_VERSION_SUB1 (0x0DU) |
#define | STM32L4XX_HAL_VERSION_SUB2 (0x02U) |
#define | STM32L4XX_HAL_VERSION_RC (0x00U) |
#define | STM32L4XX_HAL_VERSION |
#define | VREFBUF_TIMEOUT_VALUE 10U /* 10 ms (to be confirmed) */ |
#define | SYSCFG_OFFSET (SYSCFG_BASE - PERIPH_BASE) |
#define | MEMRMP_OFFSET SYSCFG_OFFSET |
#define | FB_MODE_BitNumber 8U |
#define | FB_MODE_BB (PERIPH_BB_BASE + (MEMRMP_OFFSET * 32U) + (FB_MODE_BitNumber * 4U)) |
#define | SCSR_OFFSET (SYSCFG_OFFSET + 0x18U) |
#define | BRER_BitNumber 0U |
#define | SCSR_SRAM2ER_BB (PERIPH_BB_BASE + (SCSR_OFFSET * 32U) + (BRER_BitNumber * 4U)) |
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. | |
HAL_StatusTypeDef | HAL_DeInit (void) |
De-initialize common part of the HAL and stop the source of time base. | |
__weak void | HAL_MspInit (void) |
Initialize the MSP. | |
__weak void | HAL_MspDeInit (void) |
DeInitialize the MSP. | |
__weak 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. | |
__weak void | HAL_IncTick (void) |
This function is called to increment a global variable "uwTick" used as application time base. | |
__weak uint32_t | HAL_GetTick (void) |
Provide a tick value in millisecond. | |
uint32_t | HAL_GetTickPrio (void) |
This function returns a tick priority. | |
HAL_StatusTypeDef | HAL_SetTickFreq (HAL_TickFreqTypeDef Freq) |
Set new tick Freq. | |
HAL_TickFreqTypeDef | HAL_GetTickFreq (void) |
Return tick frequency. | |
__weak void | HAL_Delay (uint32_t Delay) |
This function provides minimum delay (in milliseconds) based on variable incremented. | |
__weak void | HAL_SuspendTick (void) |
Suspend Tick increment. | |
__weak void | HAL_ResumeTick (void) |
Resume Tick increment. | |
uint32_t | HAL_GetHalVersion (void) |
Return the HAL revision. | |
uint32_t | HAL_GetREVID (void) |
Return the device revision identifier. | |
uint32_t | HAL_GetDEVID (void) |
Return the device identifier. | |
uint32_t | HAL_GetUIDw0 (void) |
Return the first word of the unique device identifier (UID based on 96 bits) | |
uint32_t | HAL_GetUIDw1 (void) |
Return the second word of the unique device identifier (UID based on 96 bits) | |
uint32_t | HAL_GetUIDw2 (void) |
Return the third word of the unique device identifier (UID based on 96 bits) | |
void | HAL_DBGMCU_EnableDBGSleepMode (void) |
Enable the Debug Module during SLEEP mode. | |
void | HAL_DBGMCU_DisableDBGSleepMode (void) |
Disable the Debug Module during SLEEP mode. | |
void | HAL_DBGMCU_EnableDBGStopMode (void) |
Enable the Debug Module during STOP0/STOP1/STOP2 modes. | |
void | HAL_DBGMCU_DisableDBGStopMode (void) |
Disable the Debug Module during STOP0/STOP1/STOP2 modes. | |
void | HAL_DBGMCU_EnableDBGStandbyMode (void) |
Enable the Debug Module during STANDBY mode. | |
void | HAL_DBGMCU_DisableDBGStandbyMode (void) |
Disable the Debug Module during STANDBY mode. | |
void | HAL_SYSCFG_SRAM2Erase (void) |
Start a hardware SRAM2 erase operation. | |
void | HAL_SYSCFG_EnableMemorySwappingBank (void) |
Enable the Internal FLASH Bank Swapping. | |
void | HAL_SYSCFG_DisableMemorySwappingBank (void) |
Disable the Internal FLASH Bank Swapping. | |
void | HAL_SYSCFG_VREFBUF_VoltageScalingConfig (uint32_t VoltageScaling) |
Configure the internal voltage reference buffer voltage scale. | |
void | HAL_SYSCFG_VREFBUF_HighImpedanceConfig (uint32_t Mode) |
Configure the internal voltage reference buffer high impedance mode. | |
void | HAL_SYSCFG_VREFBUF_TrimmingConfig (uint32_t TrimmingValue) |
Tune the Internal Voltage Reference buffer (VREFBUF). | |
HAL_StatusTypeDef | HAL_SYSCFG_EnableVREFBUF (void) |
Enable the Internal Voltage Reference buffer (VREFBUF). | |
void | HAL_SYSCFG_DisableVREFBUF (void) |
Disable the Internal Voltage Reference buffer (VREFBUF). | |
void | HAL_SYSCFG_EnableIOAnalogSwitchBooster (void) |
Enable the I/O analog switch voltage booster. | |
void | HAL_SYSCFG_DisableIOAnalogSwitchBooster (void) |
Disable the I/O analog switch voltage booster. | |
Variables | |
__IO uint32_t | uwTick |
uint32_t | uwTickPrio = (1UL << __NVIC_PRIO_BITS) |
HAL_TickFreqTypeDef | uwTickFreq = HAL_TICK_FREQ_DEFAULT |
HAL module driver. This is the common part of the HAL initialization.
Copyright (c) 2017 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
============================================================================== ##### How to use this driver ##### ============================================================================== [..] The common HAL driver contains a set of generic and common APIs that can be used by the PPP peripheral drivers and the user to start using the HAL. [..] The HAL contains two APIs' categories: (+) Common HAL APIs (+) Services HAL APIs
Definition in file stm32l4xx_hal.c.