V2.31
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
void NMI_Handler(void) __attribute__((interrupt("WCH-Interrupt-fast")));
|
||||
void HardFault_Handler(void) __attribute__((interrupt("WCH-Interrupt-fast")));
|
||||
void EXTI0_IRQHandler(void) __attribute__((interrupt("WCH-Interrupt-fast")));
|
||||
|
||||
|
||||
/*********************************************************************
|
||||
* @fn NMI_Handler
|
||||
@@ -44,21 +44,6 @@ void HardFault_Handler(void)
|
||||
}
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* @fn EXTI0_IRQHandler
|
||||
*
|
||||
* @brief This function handles EXTI0 exception.
|
||||
*
|
||||
* @return none
|
||||
*/
|
||||
void EXTI0_IRQHandler(void)
|
||||
{
|
||||
if(EXTI_GetITStatus(EXTI_Line0)!=RESET)
|
||||
{
|
||||
SystemInit();
|
||||
printf("EXTI0 Wake_up\r\n");
|
||||
EXTI_ClearITPendingBit(EXTI_Line0); /* Clear Flag */
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user