mikroSDK Reference Manual

Topics

 HAL Exported Constants
 
 HAL Exported Macros
 
 HAL Private Variables
 
 HAL Private Constants
 
 device revision ID
 
 VREFBUF Voltage Scale
 
 VREFBUF High Impedance
 
 Fast-mode Plus on GPIO
 
 Ethernet Config
 
 Analog Switch Config
 
 Boot Config
 
 IOCompenstionCell Config
 
 Event Input Config
 
 SwapBankMapping Config
 
 SYSCFG Exported Macros
 

Macros

#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_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_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 list

HAL_StatusTypeDef HAL_Init (void)
 
HAL_StatusTypeDef HAL_DeInit (void)
 
void HAL_MspInit (void)
 
void HAL_MspDeInit (void)
 
HAL_StatusTypeDef HAL_InitTick (uint32_t TickPriority)
 
void HAL_IncTick (void)
 
void HAL_Delay (uint32_t Delay)
 
uint32_t HAL_GetTick (void)
 
uint32_t HAL_GetTickPrio (void)
 
HAL_StatusTypeDef HAL_SetTickFreq (HAL_TickFreqTypeDef Freq)
 
HAL_TickFreqTypeDef HAL_GetTickFreq (void)
 
void HAL_SuspendTick (void)
 
void HAL_ResumeTick (void)
 
uint32_t HAL_GetHalVersion (void)
 
uint32_t HAL_GetREVID (void)
 
uint32_t HAL_GetDEVID (void)
 
uint32_t HAL_GetUIDw0 (void)
 
uint32_t HAL_GetUIDw1 (void)
 
uint32_t HAL_GetUIDw2 (void)
 
void HAL_SYSCFG_AnalogSwitchConfig (uint32_t SYSCFG_AnalogSwitch, uint32_t SYSCFG_SwitchState)
 
void HAL_EnableCompensationCell (void)
 
void HAL_DisableCompensationCell (void)
 
void HAL_SYSCFG_EnableIOSpeedOptimize (void)
 
void HAL_SYSCFG_DisableIOSpeedOptimize (void)
 
void HAL_SYSCFG_CompensationCodeSelect (uint32_t SYSCFG_CompCode)
 
void HAL_SYSCFG_CompensationCodeConfig (uint32_t SYSCFG_PMOSCode, uint32_t SYSCFG_NMOSCode)
 
void HAL_EnableDBGSleepMode (void)
 
void HAL_DisableDBGSleepMode (void)
 
void HAL_EnableDBGStopMode (void)
 
void HAL_DisableDBGStopMode (void)
 
void HAL_EnableDBGStandbyMode (void)
 
void HAL_DisableDBGStandbyMode (void)
 
void HAL_EXTI_EdgeConfig (uint32_t EXTI_Line, uint32_t EXTI_Edge)
 
void HAL_EXTI_GenerateSWInterrupt (uint32_t EXTI_Line)
 
void HAL_EXTI_D1_ClearFlag (uint32_t EXTI_Line)
 
void HAL_EXTI_D1_EventInputConfig (uint32_t EXTI_Line, uint32_t EXTI_Mode, uint32_t EXTI_LineCmd)
 
void HAL_EXTI_D3_EventInputConfig (uint32_t EXTI_Line, uint32_t EXTI_LineCmd, uint32_t EXTI_ClearSrc)
 
void HAL_SetFMCMemorySwappingConfig (uint32_t BankMapConfig)
 
uint32_t HAL_GetFMCMemorySwappingConfig (void)
 
void HAL_SYSCFG_VREFBUF_VoltageScalingConfig (uint32_t VoltageScaling)
 
void HAL_SYSCFG_VREFBUF_HighImpedanceConfig (uint32_t Mode)
 
void HAL_SYSCFG_VREFBUF_TrimmingConfig (uint32_t TrimmingValue)
 
HAL_StatusTypeDef HAL_SYSCFG_EnableVREFBUF (void)
 
void HAL_SYSCFG_DisableVREFBUF (void)
 

Macro Definition Documentation

◆ IS_SYSCFG_ANALOG_SWITCH

#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) || \
#define SYSCFG_SWITCH_PA1
Definition stm32h7xx_hal.h:167
#define SYSCFG_SWITCH_PC3
Definition stm32h7xx_hal.h:169
#define SYSCFG_SWITCH_PA0
Definition stm32h7xx_hal.h:166
#define SYSCFG_SWITCH_PC2
Definition stm32h7xx_hal.h:168

◆ IS_SYSCFG_SWITCH_STATE

#define IS_SYSCFG_SWITCH_STATE ( STATE)
Value:
#define SYSCFG_SWITCH_PA0_OPEN
Definition stm32h7xx_hal.h:174
#define SYSCFG_SWITCH_PC3_OPEN
Definition stm32h7xx_hal.h:180
#define SYSCFG_SWITCH_PA0_CLOSE
Definition stm32h7xx_hal.h:175
#define SYSCFG_SWITCH_PA1_OPEN
Definition stm32h7xx_hal.h:176
#define SYSCFG_SWITCH_PC2_OPEN
Definition stm32h7xx_hal.h:178
#define SYSCFG_SWITCH_PC3_CLOSE
Definition stm32h7xx_hal.h:181
#define SYSCFG_SWITCH_PA1_CLOSE
Definition stm32h7xx_hal.h:177
#define SYSCFG_SWITCH_PC2_CLOSE
Definition stm32h7xx_hal.h:179