How to use and customize the library
/**************************************************************
************/
/**
* @brief This function handles External line 6
* interrupt request.
* @param None
* @retval None
*/
void EXTI9_5_IRQHandler(void)
{
if(EXTI_GetITStatus(EXTI_Line6) != RESET)
{
/* Toggle LD1 */
STM_EVAL_LEDToggle(LED1);
/* Clear the EXTI line 6 pending bit */
EXTI_ClearITPendingBit(EXTI_Line6);
}
}
2. In stm32f30x_it.h file add the EXTI Line2 ISR prototype as follows (just after the line
void SysTick_Handler(void); )
void EXTI9_5_IRQHandler(void);