title: STM32 rising and falling button interrupt detection
body: <p>I have button interruption:</p>
  
  <pre><code>    void EXTI0_IRQHandler(void)
      {
          if (EXTI_GetITStatus(EXTI_Line0) != RESET){
  
              if (/* BUTTON IS RELEASED */) {
                  /* do something */          
              }
              if (/* BUTTON IS PRESSED */) {
                  /* do something else */
              }
          EXTI_ClearITPendingBit(EXTI_Line0);
          }
  
      }
  </code></pre>
  
  <p>Is there possibility to check this?</p>