AnsweredAssumed Answered

EXTI, while(1) use stoping

Question asked by Minseo Kim on Jul 23, 2017
Latest reply on Jul 25, 2017 by Minseo Kim

I use STM32F103C3

 

void EXTI9_5_IRQHandler(void)
{
  /* USER CODE BEGIN EXTI9_5_IRQn 0 */
 while(1){
  HAL_GPIO_TogglePin(GPIOA, GPIO_PIN_10);
  HAL_GPIO_TogglePin(GPIOA, GPIO_PIN_11);

  HAL_Delay(1000);

 }
  /* USER CODE END EXTI9_5_IRQn 0 */
  HAL_GPIO_EXTI_IRQHandler(GPIO_PIN_6);
  /* USER CODE BEGIN EXTI9_5_IRQn 1 */

  /* USER CODE END EXTI9_5_IRQn 1 */
}

 

that is not recycle,

I use interrupt, so toggle mode just one, not anymore working....

Outcomes