HAL module driver. This is the common part of the HAL initialization. More...
#include "stm32h7xx_hal.h"
Go to the source code of this file.
Macros | |
#define | __STM32H7xx_HAL_VERSION |
#define | __STM32H7xx_HAL_VERSION_MAIN (0x01UL) |
STM32H7xx HAL Driver version number V1.10.0. More... | |
#define | __STM32H7xx_HAL_VERSION_RC (0x00UL) |
#define | __STM32H7xx_HAL_VERSION_SUB1 (0x0AUL) |
#define | __STM32H7xx_HAL_VERSION_SUB2 (0x00UL) |
#define | IDCODE_DEVID_MASK ((uint32_t)0x00000FFF) |
#define | VREFBUF_TIMEOUT_VALUE (uint32_t)10 /* 10 ms */ |
Functions | |
HAL_StatusTypeDef | HAL_DeInit (void) |
This function de-Initializes common part of the HAL and stops the systick. This function is optional. More... | |
__weak void | HAL_Delay (uint32_t Delay) |
This function provides minimum delay (in milliseconds) based on variable incremented. More... | |
void | HAL_DisableCompensationCell (void) |
Power-down the I/O Compensation Cell. More... | |
void | HAL_DisableDBGSleepMode (void) |
Disable the Debug Module during Domain1/CDomain SLEEP mode. More... | |
void | HAL_DisableDBGStandbyMode (void) |
Disable the Debug Module during Domain1/CDomain STANDBY mode. More... | |
void | HAL_DisableDBGStopMode (void) |
Disable the Debug Module during Domain1/CDomain STOP mode. More... | |
void | HAL_EnableCompensationCell (void) |
Enables the I/O Compensation Cell. More... | |
void | HAL_EnableDBGSleepMode (void) |
Enable the Debug Module during Domain1/CDomain SLEEP mode. More... | |
void | HAL_EnableDBGStandbyMode (void) |
Enable the Debug Module during Domain1/CDomain STANDBY mode. More... | |
void | HAL_EnableDBGStopMode (void) |
Enable the Debug Module during Domain1/CDomain STOP mode. More... | |
void | HAL_EXTI_D1_ClearFlag (uint32_t EXTI_Line) |
Clears the EXTI's line pending flags for Domain D1. More... | |
void | HAL_EXTI_D1_EventInputConfig (uint32_t EXTI_Line, uint32_t EXTI_Mode, uint32_t EXTI_LineCmd) |
Configure the EXTI input event line for Domain D1. More... | |
void | HAL_EXTI_D3_EventInputConfig (uint32_t EXTI_Line, uint32_t EXTI_LineCmd, uint32_t EXTI_ClearSrc) |
Configure the EXTI input event line for Domain D3. More... | |
void | HAL_EXTI_EdgeConfig (uint32_t EXTI_Line, uint32_t EXTI_Edge) |
Configure the EXTI input event line edge. More... | |
void | HAL_EXTI_GenerateSWInterrupt (uint32_t EXTI_Line) |
Generates a Software interrupt on selected EXTI line. More... | |
uint32_t | HAL_GetDEVID (void) |
Returns the device identifier. More... | |
uint32_t | HAL_GetFMCMemorySwappingConfig (void) |
Get FMC Bank mapping mode. More... | |
uint32_t | HAL_GetHalVersion (void) |
Returns the HAL revision. More... | |
uint32_t | HAL_GetREVID (void) |
Returns the device revision identifier. More... | |
__weak uint32_t | HAL_GetTick (void) |
Provides a tick value in millisecond. More... | |
HAL_TickFreqTypeDef | HAL_GetTickFreq (void) |
Return tick frequency. More... | |
uint32_t | HAL_GetTickPrio (void) |
This function returns a tick priority. 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... | |
__weak void | HAL_IncTick (void) |
This function is called to increment a global variable "uwTick" used as application time base. More... | |
HAL_StatusTypeDef | HAL_Init (void) |
This function is used to initialize the HAL Library; it must be the first instruction to be executed in the main program (before to call any other HAL function), it performs the following: Configures the SysTick to generate an interrupt each 1 millisecond, which is clocked by the HSI (at this stage, the clock is not yet configured and thus the system is running from the internal HSI at 16 MHz). Set NVIC Group Priority to 4. Calls the HAL_MspInit() callback function defined in user file "stm32h7xx_hal_msp.c" to do the global low level hardware initialization. More... | |
__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. More... | |
__weak void | HAL_MspDeInit (void) |
DeInitializes the MSP. More... | |
__weak void | HAL_MspInit (void) |
Initializes the MSP. More... | |
__weak void | HAL_ResumeTick (void) |
Resume Tick increment. More... | |
void | HAL_SetFMCMemorySwappingConfig (uint32_t BankMapConfig) |
Set the FMC Memory Mapping Swapping config. More... | |
HAL_StatusTypeDef | HAL_SetTickFreq (HAL_TickFreqTypeDef Freq) |
Set new tick Freq. More... | |
__weak void | HAL_SuspendTick (void) |
Suspend Tick increment. More... | |
void | HAL_SYSCFG_AnalogSwitchConfig (uint32_t SYSCFG_AnalogSwitch, uint32_t SYSCFG_SwitchState) |
Analog Switch control for dual analog pads. More... | |
void | HAL_SYSCFG_CompensationCodeConfig (uint32_t SYSCFG_PMOSCode, uint32_t SYSCFG_NMOSCode) |
Code selection for the I/O Compensation cell. More... | |
void | HAL_SYSCFG_CompensationCodeSelect (uint32_t SYSCFG_CompCode) |
Code selection for the I/O Compensation cell. More... | |
void | HAL_SYSCFG_DisableIOSpeedOptimize (void) |
To Disable optimize the I/O speed when the product voltage is low. More... | |
void | HAL_SYSCFG_DisableVREFBUF (void) |
Disable the Internal Voltage Reference buffer (VREFBUF). More... | |
void | HAL_SYSCFG_EnableIOSpeedOptimize (void) |
To Enable optimize the I/O speed when the product voltage is low. More... | |
HAL_StatusTypeDef | HAL_SYSCFG_EnableVREFBUF (void) |
Enable the Internal Voltage Reference buffer (VREFBUF). 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... | |
void | HAL_SYSCFG_VREFBUF_VoltageScalingConfig (uint32_t VoltageScaling) |
Configure the internal voltage reference buffer voltage scale. More... | |
Variables | |
__IO uint32_t | uwTick |
HAL_TickFreqTypeDef | uwTickFreq = HAL_TICK_FREQ_DEFAULT |
uint32_t | uwTickPrio = (1UL << __NVIC_PRIO_BITS) |
HAL module driver. This is the common part of the HAL initialization.
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 stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal.c.