/******************************************************************************* * Function Name : EXTI15_10_IRQHandler * Description : This function handles EXTI15_10 interrupt request. * Input : None * Output : None * Return : None *******************************************************************************/ void EXTI15_10_IRQHandler(void) { //EXTI_Line10 and EXTI_Line12 support is not required for CORE_V02 if (EXTI_GetITStatus(EXTI_Line13) != RESET) { /* Clear the EXTI line pending bit */ EXTI_ClearITPendingBit(EXTI_Line13); if(NULL != HAL_EXTI_Handler) { HAL_EXTI_Handler(13); } } if (EXTI_GetITStatus(EXTI_Line14) != RESET) { /* Clear the EXTI line pending bit */ EXTI_ClearITPendingBit(EXTI_Line14); if(NULL != HAL_EXTI_Handler) { HAL_EXTI_Handler(14); } } if (EXTI_GetITStatus(EXTI_Line15) != RESET) { /* Clear the EXTI line pending bit */ EXTI_ClearITPendingBit(EXTI_Line15); if(NULL != HAL_EXTI_Handler) { HAL_EXTI_Handler(15); } } if (EXTI_GetITStatus(EXTI_Line11) != RESET)//CC3000_WIFI_INT_EXTI_LINE { /* Clear the EXTI line pending bit */ EXTI_ClearITPendingBit(EXTI_Line11);//CC3000_WIFI_INT_EXTI_LINE SPI_EXTI_IntHandler(); } }
/******************************************************************************* * Function Name : EXTI4_IRQHandler * Description : This function handles EXTI4 interrupt request. * Input : None * Output : None * Return : None *******************************************************************************/ void EXTI4_IRQHandler(void) { if (EXTI_GetITStatus(EXTI_Line4) != RESET) { /* Clear the EXTI line pending bit */ EXTI_ClearITPendingBit(EXTI_Line4); HAL_EXTI_Handler(4); } }
/******************************************************************************* * Function Name : EXTI2_IRQHandler * Description : This function handles EXTI2 interrupt request. * Input : None * Output : None * Return : None *******************************************************************************/ void EXTI2_IRQHandler(void) { if (EXTI_GetITStatus(EXTI_Line2) != RESET)//BUTTON1_EXTI_LINE { /* Clear the EXTI line pending bit */ EXTI_ClearITPendingBit(EXTI_Line2);//BUTTON1_EXTI_LINE HAL_EXTI_Handler(2); } }
/******************************************************************************* * Function Name : EXTI9_5_IRQHandler * Description : This function handles EXTI9_5 interrupt request. * Input : None * Output : None * Return : None *******************************************************************************/ void EXTI9_5_IRQHandler(void) { if (EXTI_GetITStatus(EXTI_Line5) != RESET) { /* Clear the EXTI line pending bit */ EXTI_ClearITPendingBit(EXTI_Line5); HAL_EXTI_Handler(5); } if (EXTI_GetITStatus(EXTI_Line6) != RESET) { /* Clear the EXTI line pending bit */ EXTI_ClearITPendingBit(EXTI_Line6); HAL_EXTI_Handler(6); } if (EXTI_GetITStatus(EXTI_Line7) != RESET) { Handle_Mode_Button_EXTI_irq(); } if (EXTI_GetITStatus(EXTI_Line8) != RESET) { /* Clear the EXTI line pending bit */ EXTI_ClearITPendingBit(EXTI_Line8); HAL_EXTI_Handler(8); } if (EXTI_GetITStatus(EXTI_Line9) != RESET) { /* Clear the EXTI line pending bit */ EXTI_ClearITPendingBit(EXTI_Line9); HAL_EXTI_Handler(9); } }
/******************************************************************************* * Function Name : EXTI3_IRQHandler * Description : This function handles EXTI3 interrupt request. * Input : None * Output : None * Return : None *******************************************************************************/ void EXTI3_IRQHandler(void) { if (EXTI_GetITStatus(EXTI_Line3) != RESET) { /* Clear the EXTI line pending bit */ EXTI_ClearITPendingBit(EXTI_Line3); if(NULL != HAL_EXTI_Handler) { HAL_EXTI_Handler(3); } } }
/******************************************************************************* * Function Name : EXTI9_5_IRQHandler * Description : This function handles EXTI9_5 interrupt request. * Input : None * Output : None * Return : None *******************************************************************************/ void EXTI9_5_IRQHandler(void) { //EXTI_Line8 and EXTI_Line9 support is not required for CORE_V02 if (EXTI_GetITStatus(EXTI_Line5) != RESET) { /* Clear the EXTI line pending bit */ EXTI_ClearITPendingBit(EXTI_Line5); if(NULL != HAL_EXTI_Handler) { HAL_EXTI_Handler(5); } } if (EXTI_GetITStatus(EXTI_Line6) != RESET) { /* Clear the EXTI line pending bit */ EXTI_ClearITPendingBit(EXTI_Line6); if(NULL != HAL_EXTI_Handler) { HAL_EXTI_Handler(6); } } if (EXTI_GetITStatus(EXTI_Line7) != RESET) { /* Clear the EXTI line pending bit */ EXTI_ClearITPendingBit(EXTI_Line7); if(NULL != HAL_EXTI_Handler) { HAL_EXTI_Handler(7); } } }
/******************************************************************************* * Function Name : EXTI15_10_IRQHandler * Description : This function handles EXTI15_10 interrupt request. * Input : None * Output : None * Return : None *******************************************************************************/ void EXTI15_10_IRQHandler(void) { if (EXTI_GetITStatus(EXTI_Line10) != RESET) { /* Clear the EXTI line pending bit */ EXTI_ClearITPendingBit(EXTI_Line10); HAL_EXTI_Handler(10); } if (EXTI_GetITStatus(EXTI_Line11) != RESET) { /* Clear the EXTI line pending bit */ EXTI_ClearITPendingBit(EXTI_Line11); HAL_EXTI_Handler(11); } if (EXTI_GetITStatus(EXTI_Line12) != RESET) { /* Clear the EXTI line pending bit */ EXTI_ClearITPendingBit(EXTI_Line12); HAL_EXTI_Handler(12); } if (EXTI_GetITStatus(EXTI_Line13) != RESET) { /* Clear the EXTI line pending bit */ EXTI_ClearITPendingBit(EXTI_Line13); HAL_EXTI_Handler(13); } if (EXTI_GetITStatus(EXTI_Line14) != RESET) { /* Clear the EXTI line pending bit */ EXTI_ClearITPendingBit(EXTI_Line14); HAL_EXTI_Handler(14); } if (EXTI_GetITStatus(EXTI_Line15) != RESET) { /* Clear the EXTI line pending bit */ EXTI_ClearITPendingBit(EXTI_Line15); HAL_EXTI_Handler(15); } }