KugleFirmware/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pwr_ex.c
/**
  * @brief  This function handles the PWR PVD/AVD interrupt request.
  * @note   This API should be called under the PVD_AVD_IRQHandler().
  * @retval None
  */
@brief  This function handles the PWR PVD/AVD interrupt request.
@note   This API should be called under the PVD_AVD_IRQHandler().
@retval None
@brief This function handles the PWR PVD / AVD interrupt request . @note This API should be called under the PVD_AVD_IRQHandler () . @retval None
void HAL_PWREx_PVD_AVD_IRQHandler(void)
{
  if(READ_BIT(PWR->CR1, PWR_CR1_PVDEN) != RESET)
  {
    if(__HAL_PWR_PVD_EXTI_GET_FLAG() != RESET)
    {
      HAL_PWR_PVDCallback();
      __HAL_PWR_PVD_EXTI_CLEAR_FLAG();
    }
  }
  if(READ_BIT(PWR->CR1, PWR_CR1_AVDEN) != RESET)
  {
    if(__HAL_PWR_AVD_EXTI_GET_FLAG() != RESET)
    {
      HAL_PWREx_AVDCallback();
      __HAL_PWR_AVD_EXTI_CLEAR_FLAG();
    }
  }
}
void HAL_PWREx_PVD_AVD_IRQHandler ( void ) { if ( READ_BIT ( PWR -> CR1 , PWR_CR1_PVDEN ) != RESET ) { if ( __HAL_PWR_PVD_EXTI_GET_FLAG ( ) != RESET ) { HAL_PWR_PVDCallback ( ) ; __HAL_PWR_PVD_EXTI_CLEAR_FLAG ( ) ; } } if ( READ_BIT ( PWR -> CR1 , PWR_CR1_AVDEN ) != RESET ) { if ( __HAL_PWR_AVD_EXTI_GET_FLAG ( ) != RESET ) { HAL_PWREx_AVDCallback ( ) ; __HAL_PWR_AVD_EXTI_CLEAR_FLAG ( ) ; } } }
@brief  This function handles the PWR PVD/AVD interrupt request.
@brief This function handles the PWR PVD / AVD interrupt request .
/* PVD EXTI line interrupt detected */ /* Check PWR EXTI flag */ /* PWR PVD interrupt user callback */ /* Clear PWR EXTI pending bit */ /* AVD EXTI line interrupt detected */ /* Check PWR EXTI flag */ /* PWR AVD interrupt user callback */ /* Clear PWR EXTI pending bit */