STM32H735xx HAL User Manual
Modules | Defines | Functions
HAL
STM32H7xx_HAL_Driver

HAL module driver. More...

Modules

 HAL Exported Variables
 HAL Private Functions
 Tick Frequency
 device revision ID
 VREFBUF Voltage Scale
 VREFBUF High Impedance
 SYSCFG ADC2 Alternate Connection
 Ethernet Config
 Analog Switch Config
 Boot Config
 IOCompenstionCell Config
 Event Input Config
 SwapBankMapping Config
 SYSCFG Exported Macros
 HAL Private Macros

Defines

#define __STM32H7xx_HAL_VERSION_MAIN   (0x01UL)
 STM32H7xx HAL Driver version number V1.10.1.
#define __STM32H7xx_HAL_VERSION_SUB1   (0x0AUL)
#define __STM32H7xx_HAL_VERSION_SUB2   (0x01UL)
#define __STM32H7xx_HAL_VERSION_RC   (0x00UL)
#define __STM32H7xx_HAL_VERSION
#define IDCODE_DEVID_MASK   ((uint32_t)0x00000FFF)
#define VREFBUF_TIMEOUT_VALUE   (uint32_t)10 /* 10 ms */
#define IS_SYSCFG_ANALOG_SWITCH(SWITCH)
#define IS_SYSCFG_SWITCH_STATE(STATE)
#define __HAL_DBGMCU_FREEZE_WWDG1()   (DBGMCU->APB3FZ1 |= (DBGMCU_APB3FZ1_DBG_WWDG1))
 Freeze/Unfreeze Peripherals in Debug mode.
#define __HAL_DBGMCU_FREEZE_TIM2()   (DBGMCU->APB1LFZ1 |= (DBGMCU_APB1LFZ1_DBG_TIM2))
#define __HAL_DBGMCU_FREEZE_TIM3()   (DBGMCU->APB1LFZ1 |= (DBGMCU_APB1LFZ1_DBG_TIM3))
#define __HAL_DBGMCU_FREEZE_TIM4()   (DBGMCU->APB1LFZ1 |= (DBGMCU_APB1LFZ1_DBG_TIM4))
#define __HAL_DBGMCU_FREEZE_TIM5()   (DBGMCU->APB1LFZ1 |= (DBGMCU_APB1LFZ1_DBG_TIM5))
#define __HAL_DBGMCU_FREEZE_TIM6()   (DBGMCU->APB1LFZ1 |= (DBGMCU_APB1LFZ1_DBG_TIM6))
#define __HAL_DBGMCU_FREEZE_TIM7()   (DBGMCU->APB1LFZ1 |= (DBGMCU_APB1LFZ1_DBG_TIM7))
#define __HAL_DBGMCU_FREEZE_TIM12()   (DBGMCU->APB1LFZ1 |= (DBGMCU_APB1LFZ1_DBG_TIM12))
#define __HAL_DBGMCU_FREEZE_TIM13()   (DBGMCU->APB1LFZ1 |= (DBGMCU_APB1LFZ1_DBG_TIM13))
#define __HAL_DBGMCU_FREEZE_TIM14()   (DBGMCU->APB1LFZ1 |= (DBGMCU_APB1LFZ1_DBG_TIM14))
#define __HAL_DBGMCU_FREEZE_LPTIM1()   (DBGMCU->APB1LFZ1 |= (DBGMCU_APB1LFZ1_DBG_LPTIM1))
#define __HAL_DBGMCU_FREEZE_I2C1()   (DBGMCU->APB1LFZ1 |= (DBGMCU_APB1LFZ1_DBG_I2C1))
#define __HAL_DBGMCU_FREEZE_I2C2()   (DBGMCU->APB1LFZ1 |= (DBGMCU_APB1LFZ1_DBG_I2C2))
#define __HAL_DBGMCU_FREEZE_I2C3()   (DBGMCU->APB1LFZ1 |= (DBGMCU_APB1LFZ1_DBG_I2C3))
#define __HAL_DBGMCU_FREEZE_I2C5()   (DBGMCU->APB1LFZ1 |= (DBGMCU_APB1LFZ1_DBG_I2C5))
#define __HAL_DBGMCU_FREEZE_TIM23()   (DBGMCU->APB1HFZ1 |= (DBGMCU_APB1HFZ1_DBG_TIM23))
#define __HAL_DBGMCU_FREEZE_TIM24()   (DBGMCU->APB1HFZ1 |= (DBGMCU_APB1HFZ1_DBG_TIM24))
#define __HAL_DBGMCU_FREEZE_TIM1()   (DBGMCU->APB2FZ1 |= (DBGMCU_APB2FZ1_DBG_TIM1))
#define __HAL_DBGMCU_FREEZE_TIM8()   (DBGMCU->APB2FZ1 |= (DBGMCU_APB2FZ1_DBG_TIM8))
#define __HAL_DBGMCU_FREEZE_TIM15()   (DBGMCU->APB2FZ1 |= (DBGMCU_APB2FZ1_DBG_TIM15))
#define __HAL_DBGMCU_FREEZE_TIM16()   (DBGMCU->APB2FZ1 |= (DBGMCU_APB2FZ1_DBG_TIM16))
#define __HAL_DBGMCU_FREEZE_TIM17()   (DBGMCU->APB2FZ1 |= (DBGMCU_APB2FZ1_DBG_TIM17))
#define __HAL_DBGMCU_FREEZE_HRTIM()   (DBGMCU->APB2FZ1 |= (DBGMCU_APB2FZ1_DBG_HRTIM))
#define __HAL_DBGMCU_FREEZE_I2C4()   (DBGMCU->APB4FZ1 |= (DBGMCU_APB4FZ1_DBG_I2C4))
#define __HAL_DBGMCU_FREEZE_LPTIM2()   (DBGMCU->APB4FZ1 |= (DBGMCU_APB4FZ1_DBG_LPTIM2))
#define __HAL_DBGMCU_FREEZE_LPTIM3()   (DBGMCU->APB4FZ1 |= (DBGMCU_APB4FZ1_DBG_LPTIM3))
#define __HAL_DBGMCU_FREEZE_LPTIM4()   (DBGMCU->APB4FZ1 |= (DBGMCU_APB4FZ1_DBG_LPTIM4))
#define __HAL_DBGMCU_FREEZE_LPTIM5()   (DBGMCU->APB4FZ1 |= (DBGMCU_APB4FZ1_DBG_LPTIM5))
#define __HAL_DBGMCU_FREEZE_RTC()   (DBGMCU->APB4FZ1 |= (DBGMCU_APB4FZ1_DBG_RTC))
#define __HAL_DBGMCU_FREEZE_IWDG1()   (DBGMCU->APB4FZ1 |= (DBGMCU_APB4FZ1_DBG_IWDG1))
#define __HAL_DBGMCU_UnFreeze_WWDG1()   (DBGMCU->APB3FZ1 &= ~ (DBGMCU_APB3FZ1_DBG_WWDG1))
#define __HAL_DBGMCU_UnFreeze_TIM2()   (DBGMCU->APB1LFZ1 &= ~ (DBGMCU_APB1LFZ1_DBG_TIM2))
#define __HAL_DBGMCU_UnFreeze_TIM3()   (DBGMCU->APB1LFZ1 &= ~ (DBGMCU_APB1LFZ1_DBG_TIM3))
#define __HAL_DBGMCU_UnFreeze_TIM4()   (DBGMCU->APB1LFZ1 &= ~ (DBGMCU_APB1LFZ1_DBG_TIM4))
#define __HAL_DBGMCU_UnFreeze_TIM5()   (DBGMCU->APB1LFZ1 &= ~ (DBGMCU_APB1LFZ1_DBG_TIM5))
#define __HAL_DBGMCU_UnFreeze_TIM6()   (DBGMCU->APB1LFZ1 &= ~ (DBGMCU_APB1LFZ1_DBG_TIM6))
#define __HAL_DBGMCU_UnFreeze_TIM7()   (DBGMCU->APB1LFZ1 &= ~ (DBGMCU_APB1LFZ1_DBG_TIM7))
#define __HAL_DBGMCU_UnFreeze_TIM12()   (DBGMCU->APB1LFZ1 &= ~ (DBGMCU_APB1LFZ1_DBG_TIM12))
#define __HAL_DBGMCU_UnFreeze_TIM13()   (DBGMCU->APB1LFZ1 &= ~ (DBGMCU_APB1LFZ1_DBG_TIM13))
#define __HAL_DBGMCU_UnFreeze_TIM14()   (DBGMCU->APB1LFZ1 &= ~ (DBGMCU_APB1LFZ1_DBG_TIM14))
#define __HAL_DBGMCU_UnFreeze_LPTIM1()   (DBGMCU->APB1LFZ1 &= ~ (DBGMCU_APB1LFZ1_DBG_LPTIM1))
#define __HAL_DBGMCU_UnFreeze_I2C1()   (DBGMCU->APB1LFZ1 &= ~ (DBGMCU_APB1LFZ1_DBG_I2C1))
#define __HAL_DBGMCU_UnFreeze_I2C2()   (DBGMCU->APB1LFZ1 &= ~ (DBGMCU_APB1LFZ1_DBG_I2C2))
#define __HAL_DBGMCU_UnFreeze_I2C3()   (DBGMCU->APB1LFZ1 &= ~ (DBGMCU_APB1LFZ1_DBG_I2C3))
#define __HAL_DBGMCU_UnFreeze_I2C5()   (DBGMCU->APB1LFZ1 &= ~ (DBGMCU_APB1LFZ1_DBG_I2C5))
#define __HAL_DBGMCU_UnFreeze_TIM23()   (DBGMCU->APB1HFZ1 &= ~ (DBGMCU_APB1HFZ1_DBG_TIM23))
#define __HAL_DBGMCU_UnFreeze_TIM24()   (DBGMCU->APB1HFZ1 &= ~ (DBGMCU_APB1HFZ1_DBG_TIM24))
#define __HAL_DBGMCU_UnFreeze_TIM1()   (DBGMCU->APB2FZ1 &= ~ (DBGMCU_APB2FZ1_DBG_TIM1))
#define __HAL_DBGMCU_UnFreeze_TIM8()   (DBGMCU->APB2FZ1 &= ~ (DBGMCU_APB2FZ1_DBG_TIM8))
#define __HAL_DBGMCU_UnFreeze_TIM15()   (DBGMCU->APB2FZ1 &= ~ (DBGMCU_APB2FZ1_DBG_TIM15))
#define __HAL_DBGMCU_UnFreeze_TIM16()   (DBGMCU->APB2FZ1 &= ~ (DBGMCU_APB2FZ1_DBG_TIM16))
#define __HAL_DBGMCU_UnFreeze_TIM17()   (DBGMCU->APB2FZ1 &= ~ (DBGMCU_APB2FZ1_DBG_TIM17))
#define __HAL_DBGMCU_UnFreeze_HRTIM()   (DBGMCU->APB2FZ1 &= ~ (DBGMCU_APB2FZ1_DBG_HRTIM))
#define __HAL_DBGMCU_UnFreeze_I2C4()   (DBGMCU->APB4FZ1 &= ~ (DBGMCU_APB4FZ1_DBG_I2C4))
#define __HAL_DBGMCU_UnFreeze_LPTIM2()   (DBGMCU->APB4FZ1 &= ~ (DBGMCU_APB4FZ1_DBG_LPTIM2))
#define __HAL_DBGMCU_UnFreeze_LPTIM3()   (DBGMCU->APB4FZ1 &= ~ (DBGMCU_APB4FZ1_DBG_LPTIM3))
#define __HAL_DBGMCU_UnFreeze_LPTIM4()   (DBGMCU->APB4FZ1 &= ~ (DBGMCU_APB4FZ1_DBG_LPTIM4))
#define __HAL_DBGMCU_UnFreeze_LPTIM5()   (DBGMCU->APB4FZ1 &= ~ (DBGMCU_APB4FZ1_DBG_LPTIM5))
#define __HAL_DBGMCU_UnFreeze_RTC()   (DBGMCU->APB4FZ1 &= ~ (DBGMCU_APB4FZ1_DBG_RTC))
#define __HAL_DBGMCU_UnFreeze_IWDG1()   (DBGMCU->APB4FZ1 &= ~ (DBGMCU_APB4FZ1_DBG_IWDG1))

Functions

void HAL_DBGMCU_EnableDBGSleepMode (void)
 Enable the Debug Module during Domain1/CDomain SLEEP mode.
void HAL_DBGMCU_DisableDBGSleepMode (void)
 Disable the Debug Module during Domain1/CDomain SLEEP mode.
void HAL_DBGMCU_EnableDBGStopMode (void)
 Enable the Debug Module during Domain1/CDomain STOP mode.
void HAL_DBGMCU_DisableDBGStopMode (void)
 Disable the Debug Module during Domain1/CDomain STOP mode.
void HAL_DBGMCU_EnableDBGStandbyMode (void)
 Enable the Debug Module during Domain1/CDomain STANDBY mode.
void HAL_DBGMCU_DisableDBGStandbyMode (void)
 Disable the Debug Module during Domain1/CDomain STANDBY mode.
void HAL_EnableDomain3DBGStopMode (void)
 Enable the Debug Module during Domain3/SRDomain STOP mode.
void HAL_DisableDomain3DBGStopMode (void)
 Disable the Debug Module during Domain3/SRDomain STOP mode.
void HAL_EnableDomain3DBGStandbyMode (void)
 Enable the Debug Module during Domain3/SRDomain STANDBY mode.
void HAL_DisableDomain3DBGStandbyMode (void)
 Disable the Debug Module during Domain3/SRDomain STANDBY mode.
void HAL_SetFMCMemorySwappingConfig (uint32_t BankMapConfig)
 Set the FMC Memory Mapping Swapping config.
uint32_t HAL_GetFMCMemorySwappingConfig (void)
 Get FMC Bank mapping mode.
void HAL_EXTI_EdgeConfig (uint32_t EXTI_Line, uint32_t EXTI_Edge)
 Configure the EXTI input event line edge.
void HAL_EXTI_GenerateSWInterrupt (uint32_t EXTI_Line)
 Generates a Software interrupt on selected EXTI line.
void HAL_EXTI_D1_ClearFlag (uint32_t EXTI_Line)
 Clears the EXTI's line pending flags for Domain D1.
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.
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.
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).
HAL_StatusTypeDef HAL_DeInit (void)
 This function de-Initializes common part of the HAL and stops the systick.
void HAL_MspInit (void)
 Initializes the MSP.
void HAL_MspDeInit (void)
 DeInitializes the MSP.
HAL_StatusTypeDef HAL_InitTick (uint32_t TickPriority)
 This function configures the source of the time base.
void HAL_IncTick (void)
 This function is called to increment a global variable "uwTick" used as application time base.
void HAL_Delay (uint32_t Delay)
 This function provides minimum delay (in milliseconds) based on variable incremented.
uint32_t HAL_GetTick (void)
 Provides 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.
void HAL_SuspendTick (void)
 Suspend Tick increment.
void HAL_ResumeTick (void)
 Resume Tick increment.
uint32_t HAL_GetHalVersion (void)
 Returns the HAL revision.
uint32_t HAL_GetREVID (void)
 Returns the device revision identifier.
uint32_t HAL_GetDEVID (void)
 Returns 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_SYSCFG_ETHInterfaceSelect (uint32_t SYSCFG_ETHInterface)
 Ethernet PHY Interface Selection either MII or RMII.
void HAL_SYSCFG_AnalogSwitchConfig (uint32_t SYSCFG_AnalogSwitch, uint32_t SYSCFG_SwitchState)
 Analog Switch control for dual analog pads.
void HAL_SYSCFG_EnableBOOST (void)
 Enables the booster to reduce the total harmonic distortion of the analog switch when the supply voltage is lower than 2.7 V.
void HAL_SYSCFG_DisableBOOST (void)
 Disables the booster.
void HAL_SYSCFG_CM7BootAddConfig (uint32_t BootRegister, uint32_t BootAddress)
 BootCM7 address 0 configuration.
void HAL_EnableCompensationCell (void)
 Enables the I/O Compensation Cell.
void HAL_DisableCompensationCell (void)
 Power-down the I/O Compensation Cell.
void HAL_SYSCFG_EnableIOSpeedOptimize (void)
 To Enable optimize the I/O speed when the product voltage is low.
void HAL_SYSCFG_DisableIOSpeedOptimize (void)
 To Disable optimize the I/O speed when the product voltage is low.
void HAL_SYSCFG_CompensationCodeSelect (uint32_t SYSCFG_CompCode)
 Code selection for the I/O Compensation cell.
void HAL_SYSCFG_CompensationCodeConfig (uint32_t SYSCFG_PMOSCode, uint32_t SYSCFG_NMOSCode)
 Code selection for the I/O Compensation cell.
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_ADC2ALT_Rout0Config (uint32_t Adc2AltRout0)
 SYSCFG ADC2 internal input alternate connection macros.
void HAL_SYSCFG_ADC2ALT_Rout1Config (uint32_t Adc2AltRout1)
 SYSCFG ADC2 internal input alternate connection macros.

Detailed Description

HAL module driver.


Define Documentation

#define __HAL_DBGMCU_FREEZE_HRTIM ( )    (DBGMCU->APB2FZ1 |= (DBGMCU_APB2FZ1_DBG_HRTIM))

Definition at line 874 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_FREEZE_I2C1 ( )    (DBGMCU->APB1LFZ1 |= (DBGMCU_APB1LFZ1_DBG_I2C1))

Definition at line 852 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_FREEZE_I2C2 ( )    (DBGMCU->APB1LFZ1 |= (DBGMCU_APB1LFZ1_DBG_I2C2))

Definition at line 853 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_FREEZE_I2C3 ( )    (DBGMCU->APB1LFZ1 |= (DBGMCU_APB1LFZ1_DBG_I2C3))

Definition at line 854 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_FREEZE_I2C4 ( )    (DBGMCU->APB4FZ1 |= (DBGMCU_APB4FZ1_DBG_I2C4))

Definition at line 876 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_FREEZE_I2C5 ( )    (DBGMCU->APB1LFZ1 |= (DBGMCU_APB1LFZ1_DBG_I2C5))

Definition at line 856 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_FREEZE_IWDG1 ( )    (DBGMCU->APB4FZ1 |= (DBGMCU_APB4FZ1_DBG_IWDG1))

Definition at line 882 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_FREEZE_LPTIM1 ( )    (DBGMCU->APB1LFZ1 |= (DBGMCU_APB1LFZ1_DBG_LPTIM1))

Definition at line 851 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_FREEZE_LPTIM2 ( )    (DBGMCU->APB4FZ1 |= (DBGMCU_APB4FZ1_DBG_LPTIM2))

Definition at line 877 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_FREEZE_LPTIM3 ( )    (DBGMCU->APB4FZ1 |= (DBGMCU_APB4FZ1_DBG_LPTIM3))

Definition at line 878 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_FREEZE_LPTIM4 ( )    (DBGMCU->APB4FZ1 |= (DBGMCU_APB4FZ1_DBG_LPTIM4))

Definition at line 879 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_FREEZE_LPTIM5 ( )    (DBGMCU->APB4FZ1 |= (DBGMCU_APB4FZ1_DBG_LPTIM5))

Definition at line 880 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_FREEZE_RTC ( )    (DBGMCU->APB4FZ1 |= (DBGMCU_APB4FZ1_DBG_RTC))

Definition at line 881 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_FREEZE_TIM1 ( )    (DBGMCU->APB2FZ1 |= (DBGMCU_APB2FZ1_DBG_TIM1))

Definition at line 869 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_FREEZE_TIM12 ( )    (DBGMCU->APB1LFZ1 |= (DBGMCU_APB1LFZ1_DBG_TIM12))

Definition at line 848 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_FREEZE_TIM13 ( )    (DBGMCU->APB1LFZ1 |= (DBGMCU_APB1LFZ1_DBG_TIM13))

Definition at line 849 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_FREEZE_TIM14 ( )    (DBGMCU->APB1LFZ1 |= (DBGMCU_APB1LFZ1_DBG_TIM14))

Definition at line 850 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_FREEZE_TIM15 ( )    (DBGMCU->APB2FZ1 |= (DBGMCU_APB2FZ1_DBG_TIM15))

Definition at line 871 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_FREEZE_TIM16 ( )    (DBGMCU->APB2FZ1 |= (DBGMCU_APB2FZ1_DBG_TIM16))

Definition at line 872 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_FREEZE_TIM17 ( )    (DBGMCU->APB2FZ1 |= (DBGMCU_APB2FZ1_DBG_TIM17))

Definition at line 873 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_FREEZE_TIM2 ( )    (DBGMCU->APB1LFZ1 |= (DBGMCU_APB1LFZ1_DBG_TIM2))

Definition at line 842 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_FREEZE_TIM23 ( )    (DBGMCU->APB1HFZ1 |= (DBGMCU_APB1HFZ1_DBG_TIM23))

Definition at line 863 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_FREEZE_TIM24 ( )    (DBGMCU->APB1HFZ1 |= (DBGMCU_APB1HFZ1_DBG_TIM24))

Definition at line 866 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_FREEZE_TIM3 ( )    (DBGMCU->APB1LFZ1 |= (DBGMCU_APB1LFZ1_DBG_TIM3))

Definition at line 843 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_FREEZE_TIM4 ( )    (DBGMCU->APB1LFZ1 |= (DBGMCU_APB1LFZ1_DBG_TIM4))

Definition at line 844 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_FREEZE_TIM5 ( )    (DBGMCU->APB1LFZ1 |= (DBGMCU_APB1LFZ1_DBG_TIM5))

Definition at line 845 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_FREEZE_TIM6 ( )    (DBGMCU->APB1LFZ1 |= (DBGMCU_APB1LFZ1_DBG_TIM6))

Definition at line 846 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_FREEZE_TIM7 ( )    (DBGMCU->APB1LFZ1 |= (DBGMCU_APB1LFZ1_DBG_TIM7))

Definition at line 847 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_FREEZE_TIM8 ( )    (DBGMCU->APB2FZ1 |= (DBGMCU_APB2FZ1_DBG_TIM8))

Definition at line 870 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_FREEZE_WWDG1 ( )    (DBGMCU->APB3FZ1 |= (DBGMCU_APB3FZ1_DBG_WWDG1))

Freeze/Unfreeze Peripherals in Debug mode.

Definition at line 840 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_UnFreeze_HRTIM ( )    (DBGMCU->APB2FZ1 &= ~ (DBGMCU_APB2FZ1_DBG_HRTIM))

Definition at line 919 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_UnFreeze_I2C1 ( )    (DBGMCU->APB1LFZ1 &= ~ (DBGMCU_APB1LFZ1_DBG_I2C1))

Definition at line 897 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_UnFreeze_I2C2 ( )    (DBGMCU->APB1LFZ1 &= ~ (DBGMCU_APB1LFZ1_DBG_I2C2))

Definition at line 898 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_UnFreeze_I2C3 ( )    (DBGMCU->APB1LFZ1 &= ~ (DBGMCU_APB1LFZ1_DBG_I2C3))

Definition at line 899 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_UnFreeze_I2C4 ( )    (DBGMCU->APB4FZ1 &= ~ (DBGMCU_APB4FZ1_DBG_I2C4))

Definition at line 921 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_UnFreeze_I2C5 ( )    (DBGMCU->APB1LFZ1 &= ~ (DBGMCU_APB1LFZ1_DBG_I2C5))

Definition at line 901 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_UnFreeze_IWDG1 ( )    (DBGMCU->APB4FZ1 &= ~ (DBGMCU_APB4FZ1_DBG_IWDG1))

Definition at line 927 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_UnFreeze_LPTIM1 ( )    (DBGMCU->APB1LFZ1 &= ~ (DBGMCU_APB1LFZ1_DBG_LPTIM1))

Definition at line 896 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_UnFreeze_LPTIM2 ( )    (DBGMCU->APB4FZ1 &= ~ (DBGMCU_APB4FZ1_DBG_LPTIM2))

Definition at line 922 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_UnFreeze_LPTIM3 ( )    (DBGMCU->APB4FZ1 &= ~ (DBGMCU_APB4FZ1_DBG_LPTIM3))

Definition at line 923 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_UnFreeze_LPTIM4 ( )    (DBGMCU->APB4FZ1 &= ~ (DBGMCU_APB4FZ1_DBG_LPTIM4))

Definition at line 924 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_UnFreeze_LPTIM5 ( )    (DBGMCU->APB4FZ1 &= ~ (DBGMCU_APB4FZ1_DBG_LPTIM5))

Definition at line 925 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_UnFreeze_RTC ( )    (DBGMCU->APB4FZ1 &= ~ (DBGMCU_APB4FZ1_DBG_RTC))

Definition at line 926 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_UnFreeze_TIM1 ( )    (DBGMCU->APB2FZ1 &= ~ (DBGMCU_APB2FZ1_DBG_TIM1))

Definition at line 914 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_UnFreeze_TIM12 ( )    (DBGMCU->APB1LFZ1 &= ~ (DBGMCU_APB1LFZ1_DBG_TIM12))

Definition at line 893 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_UnFreeze_TIM13 ( )    (DBGMCU->APB1LFZ1 &= ~ (DBGMCU_APB1LFZ1_DBG_TIM13))

Definition at line 894 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_UnFreeze_TIM14 ( )    (DBGMCU->APB1LFZ1 &= ~ (DBGMCU_APB1LFZ1_DBG_TIM14))

Definition at line 895 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_UnFreeze_TIM15 ( )    (DBGMCU->APB2FZ1 &= ~ (DBGMCU_APB2FZ1_DBG_TIM15))

Definition at line 916 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_UnFreeze_TIM16 ( )    (DBGMCU->APB2FZ1 &= ~ (DBGMCU_APB2FZ1_DBG_TIM16))

Definition at line 917 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_UnFreeze_TIM17 ( )    (DBGMCU->APB2FZ1 &= ~ (DBGMCU_APB2FZ1_DBG_TIM17))

Definition at line 918 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_UnFreeze_TIM2 ( )    (DBGMCU->APB1LFZ1 &= ~ (DBGMCU_APB1LFZ1_DBG_TIM2))

Definition at line 887 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_UnFreeze_TIM23 ( )    (DBGMCU->APB1HFZ1 &= ~ (DBGMCU_APB1HFZ1_DBG_TIM23))

Definition at line 908 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_UnFreeze_TIM24 ( )    (DBGMCU->APB1HFZ1 &= ~ (DBGMCU_APB1HFZ1_DBG_TIM24))

Definition at line 911 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_UnFreeze_TIM3 ( )    (DBGMCU->APB1LFZ1 &= ~ (DBGMCU_APB1LFZ1_DBG_TIM3))

Definition at line 888 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_UnFreeze_TIM4 ( )    (DBGMCU->APB1LFZ1 &= ~ (DBGMCU_APB1LFZ1_DBG_TIM4))

Definition at line 889 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_UnFreeze_TIM5 ( )    (DBGMCU->APB1LFZ1 &= ~ (DBGMCU_APB1LFZ1_DBG_TIM5))

Definition at line 890 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_UnFreeze_TIM6 ( )    (DBGMCU->APB1LFZ1 &= ~ (DBGMCU_APB1LFZ1_DBG_TIM6))

Definition at line 891 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_UnFreeze_TIM7 ( )    (DBGMCU->APB1LFZ1 &= ~ (DBGMCU_APB1LFZ1_DBG_TIM7))

Definition at line 892 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_UnFreeze_TIM8 ( )    (DBGMCU->APB2FZ1 &= ~ (DBGMCU_APB2FZ1_DBG_TIM8))

Definition at line 915 of file stm32h7xx_hal.h.

#define __HAL_DBGMCU_UnFreeze_WWDG1 ( )    (DBGMCU->APB3FZ1 &= ~ (DBGMCU_APB3FZ1_DBG_WWDG1))

Definition at line 885 of file stm32h7xx_hal.h.

#define __STM32H7xx_HAL_VERSION_MAIN   (0x01UL)

STM32H7xx HAL Driver version number V1.10.1.

[31:24] main version

Definition at line 52 of file stm32h7xx_hal.c.

#define __STM32H7xx_HAL_VERSION_RC   (0x00UL)

[7:0] release candidate

Definition at line 55 of file stm32h7xx_hal.c.

#define __STM32H7xx_HAL_VERSION_SUB1   (0x0AUL)

[23:16] sub1 version

Definition at line 53 of file stm32h7xx_hal.c.

#define __STM32H7xx_HAL_VERSION_SUB2   (0x01UL)

[15:8] sub2 version

Definition at line 54 of file stm32h7xx_hal.c.

#define IDCODE_DEVID_MASK   ((uint32_t)0x00000FFF)

Definition at line 61 of file stm32h7xx_hal.c.

Referenced by HAL_GetDEVID().

#define IS_SYSCFG_ANALOG_SWITCH (   SWITCH)
Value:
((((SWITCH) & SYSCFG_SWITCH_PA0) == SYSCFG_SWITCH_PA0)|| \
                                           (((SWITCH) & SYSCFG_SWITCH_PA1) == SYSCFG_SWITCH_PA1) || \
                                           (((SWITCH) & SYSCFG_SWITCH_PC2) == SYSCFG_SWITCH_PC2) || \
                                           (((SWITCH) & SYSCFG_SWITCH_PC3) == SYSCFG_SWITCH_PC3))

Definition at line 186 of file stm32h7xx_hal.h.

Referenced by HAL_SYSCFG_AnalogSwitchConfig().

#define IS_SYSCFG_SWITCH_STATE (   STATE)
#define VREFBUF_TIMEOUT_VALUE   (uint32_t)10 /* 10 ms */

Definition at line 62 of file stm32h7xx_hal.c.

Referenced by HAL_SYSCFG_EnableVREFBUF().


Function Documentation

Disable the Debug Module during Domain1/CDomain SLEEP mode.

Return values:
None

Definition at line 926 of file stm32h7xx_hal.c.

Disable the Debug Module during Domain1/CDomain STANDBY mode.

Return values:
None

Definition at line 963 of file stm32h7xx_hal.c.

Disable the Debug Module during Domain1/CDomain STOP mode.

Return values:
None

Definition at line 945 of file stm32h7xx_hal.c.

Enable the Debug Module during Domain1/CDomain SLEEP mode.

Return values:
None

Definition at line 917 of file stm32h7xx_hal.c.

Enable the Debug Module during Domain1/CDomain STANDBY mode.

Return values:
None

Definition at line 954 of file stm32h7xx_hal.c.

Enable the Debug Module during Domain1/CDomain STOP mode.

Return values:
None

Definition at line 936 of file stm32h7xx_hal.c.

HAL_StatusTypeDef HAL_DeInit ( void  )
void HAL_Delay ( uint32_t  Delay)

This function provides minimum delay (in milliseconds) based on variable incremented.

Note:
In the default implementation , SysTick timer is the source of time base. It is used to generate interrupts at regular time intervals where uwTick is incremented.
This function is declared as __weak to be overwritten in case of other implementations in user file.
Parameters:
Delayspecifies the delay time length, in milliseconds.
Return values:
None

Definition at line 404 of file stm32h7xx_hal.c.

References HAL_GetTick(), and uwTickFreq.

Referenced by HAL_DAC_ConfigChannel(), HAL_DACEx_SelfCalibrate(), HAL_DTS_Start(), HAL_DTS_Start_IT(), HAL_MMC_InitCard(), HAL_OPAMP_SelfCalibrate(), HAL_OPAMPEx_SelfCalibrateAll(), HAL_PCDEx_BCD_VBUSDetect(), and HAL_SD_InitCard().

void HAL_DisableCompensationCell ( void  )

Power-down the I/O Compensation Cell.

Note:
The I/O compensation cell can be used only when the device supply voltage ranges from 1.62 to 2.0 V and from 2.7 to 3.6 V.
Return values:
None

Definition at line 786 of file stm32h7xx_hal.c.

Disable the Debug Module during Domain3/SRDomain STANDBY mode.

Return values:
None

Definition at line 1058 of file stm32h7xx_hal.c.

Disable the Debug Module during Domain3/SRDomain STOP mode.

Return values:
None

Definition at line 1038 of file stm32h7xx_hal.c.

void HAL_EnableCompensationCell ( void  )

Enables the I/O Compensation Cell.

Note:
The I/O compensation cell can be used only when the device supply voltage ranges from 1.62 to 2.0 V and from 2.7 to 3.6 V.
Return values:
None

Definition at line 775 of file stm32h7xx_hal.c.

Enable the Debug Module during Domain3/SRDomain STANDBY mode.

Return values:
None

Definition at line 1049 of file stm32h7xx_hal.c.

Enable the Debug Module during Domain3/SRDomain STOP mode.

Return values:
None

Definition at line 1029 of file stm32h7xx_hal.c.

void HAL_EXTI_D1_ClearFlag ( uint32_t  EXTI_Line)

Clears the EXTI's line pending flags for Domain D1.

Parameters:
EXTI_Line,:Specifies the EXTI LINE, it can be one of the following values, (EXTI_LINE0....EXTI_LINE87)excluding :line45, line81,line83 which are reserved
Return values:
None

Definition at line 1140 of file stm32h7xx_hal.c.

References assert_param, and IS_EXTI_D1_LINE.

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.

Parameters:
EXTI_Line,:Specifies the EXTI LINE, it can be one of the following values, (EXTI_LINE0....EXTI_LINE87)excluding :line45, line81,line83 which are reserved
EXTI_Mode,:Specifies which EXTI line is used as interrupt or an event. This parameter can be one or a combination of the following values :
  • EXTI_MODE_IT : Interrupt Mode selected
  • EXTI_MODE_EVT : Event Mode selected
EXTI_LineCmdcontrols (Enable/Disable) the EXTI line.
Return values:
None

Definition at line 1175 of file stm32h7xx_hal.c.

References assert_param, EXTI_MODE_EVT, EXTI_MODE_IT, IS_EXTI_D1_LINE, and IS_EXTI_MODE_LINE.

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.

Parameters:
EXTI_Line,:Specifies the EXTI LINE, it can be one of the following values, (EXTI_LINE0...EXTI_LINE15),(EXTI_LINE19...EXTI_LINE21),EXTI_LINE25, EXTI_LINE34, EXTI_LINE35,EXTI_LINE41,(EXTI_LINE48...EXTI_LINE53)
EXTI_LineCmdcontrols (Enable/Disable) the EXTI line.
EXTI_ClearSrc,:Specifies the clear source of D3 pending event. This parameter can be one of the following values :
  • BDMA_CH6_CLEAR : BDMA ch6 event selected as D3 domain pendclear source
  • BDMA_CH7_CLEAR : BDMA ch7 event selected as D3 domain pendclear source
  • LPTIM4_OUT_CLEAR : LPTIM4 out selected as D3 domain pendclear source
  • LPTIM5_OUT_CLEAR : LPTIM5 out selected as D3 domain pendclear source
Return values:
None

Definition at line 1269 of file stm32h7xx_hal.c.

References assert_param, IS_EXTI_D3_CLEAR, and IS_EXTI_D3_LINE.

void HAL_EXTI_EdgeConfig ( uint32_t  EXTI_Line,
uint32_t  EXTI_Edge 
)

Configure the EXTI input event line edge.

Note:
No edge configuration for direct lines but for configurable lines:(EXTI_LINE0..EXTI_LINE21), EXTI_LINE49,EXTI_LINE51,EXTI_LINE82,EXTI_LINE84,EXTI_LINE85 and EXTI_LINE86.
Parameters:
EXTI_Line,:Specifies the EXTI LINE, it can be one of the following values, (EXTI_LINE0....EXTI_LINE87)excluding :line45, line81,line83 which are reserved
EXTI_Edge,:Specifies EXTI line Edge used. This parameter can be one of the following values :
  • EXTI_RISING_EDGE : Configurable line, with Rising edge trigger detection
  • EXTI_FALLING_EDGE: Configurable line, with Falling edge trigger detection
Return values:
None

Definition at line 1099 of file stm32h7xx_hal.c.

References assert_param, EXTI_FALLING_EDGE, EXTI_RISING_EDGE, IS_EXTI_EDGE_LINE, and IS_HAL_EXTI_CONFIG_LINE.

void HAL_EXTI_GenerateSWInterrupt ( uint32_t  EXTI_Line)

Generates a Software interrupt on selected EXTI line.

Parameters:
EXTI_Line,:Specifies the EXTI LINE, it can be one of the following values, (EXTI_LINE0..EXTI_LINE21),EXTI_LINE49,EXTI_LINE51,EXTI_LINE82,EXTI_LINE84,EXTI_LINE85 and EXTI_LINE86.
Return values:
None

Definition at line 1125 of file stm32h7xx_hal.c.

References assert_param, and IS_HAL_EXTI_CONFIG_LINE.

uint32_t HAL_GetDEVID ( void  )

Returns the device identifier.

Return values:
Deviceidentifier

Definition at line 474 of file stm32h7xx_hal.c.

References IDCODE_DEVID_MASK.

uint32_t HAL_GetFMCMemorySwappingConfig ( void  )

Get FMC Bank mapping mode.

Return values:
TheFMC Bank mapping mode. This parameter can be FMC_SWAPBMAP_DISABLE, FMC_SWAPBMAP_SDRAM_SRAM, FMC_SWAPBMAP_SDRAMB2

Definition at line 1082 of file stm32h7xx_hal.c.

uint32_t HAL_GetHalVersion ( void  )

Returns the HAL revision.

Return values:
version: 0xXYZR (8bits for each decimal, R for RC)

Definition at line 456 of file stm32h7xx_hal.c.

References __STM32H7xx_HAL_VERSION.

uint32_t HAL_GetREVID ( void  )

Returns the device revision identifier.

Return values:
Devicerevision identifier

Definition at line 465 of file stm32h7xx_hal.c.

Referenced by ADC_ConfigureBoostMode(), HAL_ADC_Init(), HAL_CRYP_Init(), HAL_RCC_GetOscConfig(), HAL_RCCEx_CRSConfig(), and HAL_SAI_Init().

uint32_t HAL_GetTick ( void  )

Provides a tick value in millisecond.

Note:
This function is declared as __weak to be overwritten in case of other implementations in user file.
Return values:
tickvalue

Definition at line 338 of file stm32h7xx_hal.c.

References uwTick.

Referenced by ADC_ConversionStop(), ADC_Disable(), ADC_Enable(), CRYP_AESCCM_Process(), CRYP_AESGCM_Process(), CRYP_WaitOnBUSYFlag(), CRYP_WaitOnIFEMFlag(), CRYP_WaitOnOFNEFlag(), DelayBlock_Enable(), FLASH_CRC_WaitForLastOperation(), FLASH_OB_WaitForLastOperation(), FLASH_WaitForLastOperation(), FMAC_FilterConfig(), FMAC_FilterPreload(), FMAC_Reset(), FMAC_WaitOnStartUntilTimeout(), HAL_ADC_PollForConversion(), HAL_ADC_PollForEvent(), HAL_ADCEx_InjectedPollForConversion(), HAL_ADCEx_MultiModeStop_DMA(), HAL_ADCEx_RegularMultiModeStop_DMA(), HAL_CORDIC_Calculate(), HAL_CORDIC_CalculateZO(), HAL_CRYPEx_AESCCM_GenerateAuthTAG(), HAL_CRYPEx_AESGCM_GenerateAuthTAG(), HAL_DAC_ConfigChannel(), HAL_Delay(), HAL_DFSDM_ChannelCkabStart(), HAL_DFSDM_ChannelCkabStart_IT(), HAL_DFSDM_ChannelPollForCkab(), HAL_DFSDM_ChannelPollForScd(), HAL_DFSDM_FilterPollForInjConversion(), HAL_DFSDM_FilterPollForRegConversion(), HAL_DMA2D_Abort(), HAL_DMA2D_CLUTLoading_Abort(), HAL_DMA2D_CLUTLoading_Suspend(), HAL_DMA2D_PollForTransfer(), HAL_DMA2D_Suspend(), HAL_DMA_Abort(), HAL_DMA_Init(), HAL_DMA_PollForTransfer(), HAL_DTS_Start(), HAL_DTS_Start_IT(), HAL_ETH_Init(), HAL_ETH_ReadPHYRegister(), HAL_ETH_Transmit(), HAL_ETH_WritePHYRegister(), HAL_FDCAN_EnterPowerDownMode(), HAL_FDCAN_ExitPowerDownMode(), HAL_FDCAN_Init(), HAL_FDCAN_TT_ConfigOperation(), HAL_FMAC_PollFilterData(), HAL_I2C_IsDeviceReady(), HAL_I2C_Master_Receive(), HAL_I2C_Master_Transmit(), HAL_I2C_Mem_Read(), HAL_I2C_Mem_Read_DMA(), HAL_I2C_Mem_Read_IT(), HAL_I2C_Mem_Write(), HAL_I2C_Mem_Write_DMA(), HAL_I2C_Mem_Write_IT(), HAL_I2C_Slave_Receive(), HAL_I2C_Slave_Transmit(), HAL_I2S_DMAPause(), HAL_I2SEx_TransmitReceive(), HAL_IRDA_Receive(), HAL_IRDA_Transmit(), HAL_IWDG_Init(), HAL_MDMA_Abort(), HAL_MDMA_Init(), HAL_MDMA_PollForTransfer(), HAL_MMC_AwakeDevice(), HAL_MMC_ConfigSpeedBusOperation(), HAL_MMC_EraseSequence(), HAL_MMC_GetCardExtCSD(), HAL_MMC_ReadBlocks(), HAL_MMC_Sanitize(), HAL_MMC_SleepDevice(), HAL_MMC_WriteBlocks(), HAL_NAND_Read_Page_16b(), HAL_NAND_Read_Page_8b(), HAL_NAND_Read_SpareArea_16b(), HAL_NAND_Read_SpareArea_8b(), HAL_NAND_Write_Page_16b(), HAL_NAND_Write_Page_8b(), HAL_NAND_Write_SpareArea_16b(), HAL_NAND_Write_SpareArea_8b(), HAL_NOR_GetStatus(), HAL_OSPI_Abort(), HAL_OSPI_AutoPolling(), HAL_OSPI_AutoPolling_IT(), HAL_OSPI_Command(), HAL_OSPI_Command_IT(), HAL_OSPI_HyperbusCfg(), HAL_OSPI_HyperbusCmd(), HAL_OSPI_Init(), HAL_OSPI_MemoryMapped(), HAL_OSPI_Receive(), HAL_OSPI_Transmit(), HAL_PCDEx_BCD_VBUSDetect(), HAL_PSSI_Receive(), HAL_PSSI_Transmit(), HAL_PWREx_ConfigSupply(), HAL_PWREx_ControlVoltageScaling(), HAL_PWREx_DisableBkUpReg(), HAL_PWREx_DisableUSBReg(), HAL_PWREx_EnableBkUpReg(), HAL_PWREx_EnableUSBReg(), HAL_RCC_ClockConfig(), HAL_RCC_DeInit(), HAL_RCC_OscConfig(), HAL_RCCEx_CRSWaitSynchronization(), HAL_RCCEx_PeriphCLKConfig(), HAL_RNG_DeInit(), HAL_RNG_GenerateRandomNumber(), HAL_RNG_Init(), HAL_RNGEx_SetConfig(), HAL_RTC_DeactivateAlarm(), HAL_RTC_DeInit(), HAL_RTC_PollForAlarmAEvent(), HAL_RTC_SetAlarm(), HAL_RTC_SetAlarm_IT(), HAL_RTC_WaitForSynchro(), HAL_RTCEx_DeactivateWakeUpTimer(), HAL_RTCEx_PollForAlarmBEvent(), HAL_RTCEx_PollForTamper1Event(), HAL_RTCEx_PollForTamper2Event(), HAL_RTCEx_PollForTamper3Event(), HAL_RTCEx_PollForTimeStampEvent(), HAL_RTCEx_PollForWakeUpTimerEvent(), HAL_RTCEx_SetSmoothCalib(), HAL_RTCEx_SetSynchroShift(), HAL_RTCEx_SetWakeUpTimer(), HAL_RTCEx_SetWakeUpTimer_IT(), HAL_SAI_Receive(), HAL_SAI_Transmit(), HAL_SAI_Transmit_DMA(), HAL_SD_ConfigSpeedBusOperation(), HAL_SD_Init(), HAL_SD_ReadBlocks(), HAL_SD_WriteBlocks(), HAL_SMARTCARD_Receive(), HAL_SMARTCARD_Transmit(), HAL_SMBUS_IsDeviceReady(), HAL_SPDIFRX_ReceiveCtrlFlow(), HAL_SPDIFRX_ReceiveDataFlow(), HAL_SPI_Receive(), HAL_SPI_Transmit(), HAL_SPI_TransmitReceive(), HAL_SWPMI_Init(), HAL_SWPMI_Receive(), HAL_SWPMI_Transmit(), HAL_SYSCFG_EnableVREFBUF(), HAL_TIMEx_ReArmBreakInput(), HAL_UART_Receive(), HAL_UART_Transmit(), HAL_UARTEx_ReceiveToIdle(), HAL_UARTEx_StopModeWakeUpSourceConfig(), HAL_USART_Receive(), HAL_USART_Transmit(), HAL_USART_TransmitReceive(), HASH_WaitOnFlagUntilTimeout(), I2C_IsErrorOccurred(), I2C_WaitOnFlagUntilTimeout(), I2C_WaitOnRXNEFlagUntilTimeout(), I2C_WaitOnSTOPFlagUntilTimeout(), I2C_WaitOnTXISFlagUntilTimeout(), I2S_WaitFlagStateUntilTimeout(), IRDA_CheckIdleState(), IRDA_WaitOnFlagUntilTimeout(), MMC_ReadExtCSD(), PSSI_WaitOnStatusUntilTimeout(), RCCEx_PLL2_Config(), RCCEx_PLL3_Config(), RTC_EnterInitMode(), SD_FindSCR(), SD_HighSpeed(), SD_InitCard(), SD_PowerON(), SD_SendSDStatus(), SMARTCARD_CheckIdleState(), SMARTCARD_WaitOnFlagUntilTimeout(), SMBUS_WaitOnFlagUntilTimeout(), SPDIFRX_WaitOnFlagUntilTimeout(), SPI_WaitOnFlagUntilTimeout(), SWPMI_DMATransmitCplt(), SWPMI_WaitOnFlagSetUntilTimeout(), UART_CheckIdleState(), UART_WaitOnFlagUntilTimeout(), USART_CheckIdleState(), and USART_WaitOnFlagUntilTimeout().

Return tick frequency.

Return values:
tickperiod in Hz

Definition at line 388 of file stm32h7xx_hal.c.

References uwTickFreq.

uint32_t HAL_GetTickPrio ( void  )

This function returns a tick priority.

Return values:
tickpriority

Definition at line 347 of file stm32h7xx_hal.c.

References uwTickPrio.

uint32_t HAL_GetUIDw0 ( void  )

Return the first word of the unique device identifier (UID based on 96 bits)

Return values:
Deviceidentifier

Definition at line 483 of file stm32h7xx_hal.c.

uint32_t HAL_GetUIDw1 ( void  )

Return the second word of the unique device identifier (UID based on 96 bits)

Return values:
Deviceidentifier

Definition at line 492 of file stm32h7xx_hal.c.

uint32_t HAL_GetUIDw2 ( void  )

Return the third word of the unique device identifier (UID based on 96 bits)

Return values:
Deviceidentifier

Definition at line 501 of file stm32h7xx_hal.c.

void HAL_IncTick ( void  )

This function is called to increment a global variable "uwTick" used as application time base.

Note:
In the default implementation, this variable is incremented each 1ms in Systick ISR.
This function is declared as __weak to be overwritten in case of other implementations in user file.
Return values:
None

Definition at line 327 of file stm32h7xx_hal.c.

References uwTick, and uwTickFreq.

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

Note:
SysTick is used as time base for the HAL_Delay() function, the application need to ensure that the SysTick time base is always set to 1 millisecond to have correct HAL operation.
Return values:
HALstatus

Definition at line 134 of file stm32h7xx_hal.c.

References HAL_InitTick(), HAL_MspInit(), HAL_NVIC_SetPriorityGrouping(), HAL_RCC_GetSysClockFreq(), NVIC_PRIORITYGROUP_4, and TICK_INT_PRIORITY.

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.

Note:
This function is called automatically at the beginning of program after reset by HAL_Init() or at any time when clock is reconfigured by HAL_RCC_ClockConfig().
In the default implementation, SysTick timer is the source of time base. It is used to generate interrupts at regular time intervals. Care must be taken if HAL_Delay() is called from a peripheral ISR process, The the SysTick interrupt must have higher priority (numerically lower) than the peripheral interrupt. Otherwise the caller ISR process will be blocked. The function is declared as __weak to be overwritten in case of other implementation in user file.
Parameters:
TickPriority,:Tick interrupt priority.
Return values:
HALstatus

Definition at line 262 of file stm32h7xx_hal.c.

References HAL_NVIC_SetPriority(), HAL_SYSTICK_Config(), uwTickFreq, and uwTickPrio.

Referenced by HAL_Init(), HAL_RCC_ClockConfig(), HAL_RCC_DeInit(), and HAL_SetTickFreq().

void HAL_MspDeInit ( void  )

DeInitializes the MSP.

Return values:
None

Definition at line 239 of file stm32h7xx_hal.c.

Referenced by HAL_DeInit().

void HAL_MspInit ( void  )

Initializes the MSP.

Return values:
None

Definition at line 228 of file stm32h7xx_hal.c.

Referenced by HAL_Init().

void HAL_ResumeTick ( void  )

Resume Tick increment.

Note:
In the default implementation , SysTick timer is the source of time base. It is used to generate interrupts at regular time intervals. Once HAL_ResumeTick() is called, the the SysTick interrupt will be enabled and so Tick increment is resumed.
This function is declared as __weak to be overwritten in case of other implementations in user file.
Return values:
None

Definition at line 446 of file stm32h7xx_hal.c.

void HAL_SetFMCMemorySwappingConfig ( uint32_t  BankMapConfig)

Set the FMC Memory Mapping Swapping config.

Parameters:
BankMapConfig,:Defines the FMC Bank mapping configuration. This parameter can be FMC_SWAPBMAP_DISABLE, FMC_SWAPBMAP_SDRAM_SRAM, FMC_SWAPBMAP_SDRAMB2
Return values:
HALstate

Definition at line 1070 of file stm32h7xx_hal.c.

References assert_param, and IS_FMC_SWAPBMAP_MODE.

HAL_StatusTypeDef HAL_SetTickFreq ( HAL_TickFreqTypeDef  Freq)

Set new tick Freq.

Return values:
Status

Definition at line 356 of file stm32h7xx_hal.c.

References assert_param, HAL_InitTick(), IS_TICKFREQ, uwTickFreq, and uwTickPrio.

void HAL_SuspendTick ( void  )

Suspend Tick increment.

Note:
In the default implementation , SysTick timer is the source of time base. It is used to generate interrupts at regular time intervals. Once HAL_SuspendTick() is called, the the SysTick interrupt will be disabled and so Tick increment is suspended.
This function is declared as __weak to be overwritten in case of other implementations in user file.
Return values:
None

Definition at line 430 of file stm32h7xx_hal.c.

void HAL_SYSCFG_ADC2ALT_Rout0Config ( uint32_t  Adc2AltRout0)

SYSCFG ADC2 internal input alternate connection macros.

Parameters:
Adc2AltRout0This parameter can be a value of :

Definition at line 883 of file stm32h7xx_hal.c.

References assert_param, and IS_SYSCFG_ADC2ALT_ROUT0.

void HAL_SYSCFG_ADC2ALT_Rout1Config ( uint32_t  Adc2AltRout1)

SYSCFG ADC2 internal input alternate connection macros.

Parameters:
Adc2AltRout1This parameter can be a value of :

Definition at line 901 of file stm32h7xx_hal.c.

References assert_param, and IS_SYSCFG_ADC2ALT_ROUT1.

void HAL_SYSCFG_AnalogSwitchConfig ( uint32_t  SYSCFG_AnalogSwitch,
uint32_t  SYSCFG_SwitchState 
)

Analog Switch control for dual analog pads.

Parameters:
SYSCFG_AnalogSwitch,:Selects the analog pad This parameter can be one or a combination of the following values:
  • SYSCFG_SWITCH_PA0 : Select PA0 analog switch
  • SYSCFG_SWITCH_PA1: Select PA1 analog switch
  • SYSCFG_SWITCH_PC2 : Select PC2 analog switch
  • SYSCFG_SWITCH_PC3: Select PC3 analog switch
SYSCFG_SwitchState,:Open or Close the analog switch between dual pads (PXn and PXn_C) This parameter can be one or a combination of the following values:
  • SYSCFG_SWITCH_PA0_OPEN
  • SYSCFG_SWITCH_PA0_CLOSE
  • SYSCFG_SWITCH_PA1_OPEN
  • SYSCFG_SWITCH_PA1_CLOSE
  • SYSCFG_SWITCH_PC2_OPEN
  • SYSCFG_SWITCH_PC2_CLOSE
  • SYSCFG_SWITCH_PC3_OPEN
  • SYSCFG_SWITCH_PC3_CLOSE
Return values:
None

Definition at line 630 of file stm32h7xx_hal.c.

References assert_param, IS_SYSCFG_ANALOG_SWITCH, and IS_SYSCFG_SWITCH_STATE.

void HAL_SYSCFG_CM7BootAddConfig ( uint32_t  BootRegister,
uint32_t  BootAddress 
)

BootCM7 address 0 configuration.

Parameters:
BootRegister:Specifies the Boot Address register (Address0 or Address1) This parameter can be one of the following values:
  • SYSCFG_BOOT_ADDR0 : Select the boot address0
  • SYSCFG_BOOT_ADDR1: Select the boot address1
BootAddress:Specifies the CM7 Boot Address to be loaded in Address0 or Address1
Return values:
None

Definition at line 676 of file stm32h7xx_hal.c.

References assert_param, IS_SYSCFG_BOOT_ADDRESS, IS_SYSCFG_BOOT_REGISTER, and SYSCFG_BOOT_ADDR0.

void HAL_SYSCFG_CompensationCodeConfig ( uint32_t  SYSCFG_PMOSCode,
uint32_t  SYSCFG_NMOSCode 
)

Code selection for the I/O Compensation cell.

Parameters:
SYSCFG_PMOSCode,:PMOS compensation code This code is applied to the I/O compensation cell when the CS bit of the SYSCFG_CMPCR is set
SYSCFG_NMOSCode,:NMOS compensation code This code is applied to the I/O compensation cell when the CS bit of the SYSCFG_CMPCR is set
Return values:
None

Definition at line 849 of file stm32h7xx_hal.c.

References assert_param, and IS_SYSCFG_CODE_CONFIG.

void HAL_SYSCFG_CompensationCodeSelect ( uint32_t  SYSCFG_CompCode)

Code selection for the I/O Compensation cell.

Parameters:
SYSCFG_CompCode,:Selects the code to be applied for the I/O compensation cell This parameter can be one of the following values:
  • SYSCFG_CELL_CODE : Select Code from the cell (available in the SYSCFG_CCVR)
  • SYSCFG_REGISTER_CODE: Select Code from the SYSCFG compensation cell code register (SYSCFG_CCCR)
Return values:
None

Definition at line 832 of file stm32h7xx_hal.c.

References assert_param, and IS_SYSCFG_CODE_SELECT.

void HAL_SYSCFG_DisableBOOST ( void  )

Disables the booster.

Note:
Activating the booster allows to guaranty the analog switch AC performance when the supply voltage is below 2.7 V: in this case, the analog switch performance is the same on the full voltage range
Return values:
None

Definition at line 660 of file stm32h7xx_hal.c.

To Disable optimize the I/O speed when the product voltage is low.

Note:
This bit is active only if PRODUCT_BELOW_25V user option bit is set. It must be used only if the product supply voltage is below 2.5 V. Setting this bit when VDD is higher than 2.5 V might be destructive.
Return values:
None

Definition at line 815 of file stm32h7xx_hal.c.

void HAL_SYSCFG_DisableVREFBUF ( void  )

Disable the Internal Voltage Reference buffer (VREFBUF).

Return values:
None

Definition at line 586 of file stm32h7xx_hal.c.

void HAL_SYSCFG_EnableBOOST ( void  )

Enables the booster to reduce the total harmonic distortion of the analog switch when the supply voltage is lower than 2.7 V.

Note:
Activating the booster allows to guaranty the analog switch AC performance when the supply voltage is below 2.7 V: in this case, the analog switch performance is the same on the full voltage range
Return values:
None

Definition at line 648 of file stm32h7xx_hal.c.

To Enable optimize the I/O speed when the product voltage is low.

Note:
This bit is active only if PRODUCT_BELOW_25V user option bit is set. It must be used only if the product supply voltage is below 2.5 V. Setting this bit when VDD is higher than 2.5 V might be destructive.
Return values:
None

Definition at line 799 of file stm32h7xx_hal.c.

HAL_StatusTypeDef HAL_SYSCFG_EnableVREFBUF ( void  )

Enable the Internal Voltage Reference buffer (VREFBUF).

Return values:
HAL_OK/HAL_TIMEOUT

Definition at line 560 of file stm32h7xx_hal.c.

References HAL_GetTick(), and VREFBUF_TIMEOUT_VALUE.

void HAL_SYSCFG_ETHInterfaceSelect ( uint32_t  SYSCFG_ETHInterface)

Ethernet PHY Interface Selection either MII or RMII.

Parameters:
SYSCFG_ETHInterface,:Selects the Ethernet PHY interface This parameter can be one of the following values:
  • SYSCFG_ETH_MII : Select the Media Independent Interface
  • SYSCFG_ETH_RMII: Select the Reduced Media Independent Interface
Return values:
None

Definition at line 600 of file stm32h7xx_hal.c.

References assert_param, and IS_SYSCFG_ETHERNET_CONFIG.

Referenced by HAL_ETH_Init().

void HAL_SYSCFG_VREFBUF_HighImpedanceConfig ( uint32_t  Mode)

Configure the internal voltage reference buffer high impedance mode.

Parameters:
Modespecifies the high impedance mode This parameter can be one of the following values:
  • SYSCFG_VREFBUF_HIGH_IMPEDANCE_DISABLE: VREF+ pin is internally connect to VREFINT output.
  • SYSCFG_VREFBUF_HIGH_IMPEDANCE_ENABLE: VREF+ pin is high impedance.
Return values:
None

Definition at line 536 of file stm32h7xx_hal.c.

References assert_param, and IS_SYSCFG_VREFBUF_HIGH_IMPEDANCE.

void HAL_SYSCFG_VREFBUF_TrimmingConfig ( uint32_t  TrimmingValue)

Tune the Internal Voltage Reference buffer (VREFBUF).

Return values:
None

Definition at line 548 of file stm32h7xx_hal.c.

References assert_param, and IS_SYSCFG_VREFBUF_TRIMMING.

void HAL_SYSCFG_VREFBUF_VoltageScalingConfig ( uint32_t  VoltageScaling)

Configure the internal voltage reference buffer voltage scale.

Parameters:
VoltageScalingspecifies the output voltage to achieve This parameter can be one of the following values:
  • SYSCFG_VREFBUF_VOLTAGE_SCALE0: VREF_OUT1 around 2.5 V. This requires VDDA equal to or higher than 2.8 V.
  • SYSCFG_VREFBUF_VOLTAGE_SCALE1: VREF_OUT2 around 2.048 V. This requires VDDA equal to or higher than 2.4 V.
  • SYSCFG_VREFBUF_VOLTAGE_SCALE2: VREF_OUT3 around 1.8 V. This requires VDDA equal to or higher than 2.1 V.
  • SYSCFG_VREFBUF_VOLTAGE_SCALE3: VREF_OUT4 around 1.5 V. This requires VDDA equal to or higher than 1.8 V.
Return values:
None

Definition at line 520 of file stm32h7xx_hal.c.

References assert_param, and IS_SYSCFG_VREFBUF_VOLTAGE_SCALE.