title: STM32F4 Delay after button press in EXTI0
body: <p>I'm trying to stop the user from pressing the button for 1 second if it has already been pressed. Can this be done without using the superloop in main.c?
  My EXTI0 is in stm32f4xx_it.</p>
  
  <pre><code>void EXTI0_IRQHandler(void)
  {
    /* USER CODE BEGIN EXTI0_IRQn 0 */
      if (HAL_GPIO_ReadPin (GPIOA,GPIO_PIN_0))
          {
              HAL_GPIO_WritePin (GPIOD, GPIO_PIN_12, GPIO_PIN_SET);
              TIM1_TRG_COM_TIM11_IRQHandler();
              HAL_GPIO_WritePin (GPIOD, GPIO_PIN_12, GPIO_PIN_RESET);
          } 
          else
          {
              HAL_GPIO_WritePin (GPIOD, GPIO_PIN_12, GPIO_PIN_RESET);
          }
    /* USER CODE END EXTI0_IRQn 0 */
    HAL_GPIO_EXTI_IRQHandler(GPIO_PIN_0);
    /* USER CODE BEGIN EXTI0_IRQn 1 */
  
    /* USER CODE END EXTI0_IRQn 1 */
  }
  </code></pre>