2023-01-23 02:02:22 +08:00

49 lines
722 B
C

#include "main.h"
#include "py32f0xx_it.h"
/**
* @brief This function handles Non maskable interrupt.
*/
void NMI_Handler(void)
{
}
/**
* @brief This function handles Hard fault interrupt.
*/
void HardFault_Handler(void)
{
while (1)
{
}
}
/**
* @brief This function handles System service call via SWI instruction.
*/
void SVC_Handler(void)
{
}
/**
* @brief This function handles Pendable request for system service.
*/
void PendSV_Handler(void)
{
}
/**
* @brief This function handles System tick timer.
*/
void SysTick_Handler(void)
{
}
void ADC_COMP_IRQHandler(void)
{
if(LL_ADC_IsActiveFlag_AWD(ADC1) != 0)
{
LL_ADC_ClearFlag_AWD(ADC1);
APP_AdcAnalogWatchdogCallback();
}
}