AnsweredAssumed Answered

EXTI not work correct

Question asked by nguyen_phu.thinh.001 on Aug 4, 2011
Latest reply on Aug 5, 2011 by nguyen_phu.thinh.001
When I use PA6,PD6 is EXTI_Trigger_Rising_Falling.When PA6 go H-->L, it generate interrupt, but When I keep PA6 still Low, and PD6 go H-->L, it not generate interrupt.
Please help me.
void main()

    GPIO_Init(GPIOD ,GPIO_Pin_6, GPIO_Mode_In_FL_IT);
    GPIO_Init(GPIOA ,GPIO_Pin_6, GPIO_Mode_In_FL_IT);

    EXTI_SetPinSensitivity(EXTI_Pin_6, EXTI_Trigger_Rising_Falling);

    while (1)

  * @brief External IT PIN6 Interrupt routine.
  * @param  None
  * @retval None
    /* In order to detect unexpected events during development,
       it is recommended to set a breakpoint on the following instruction.
    if(GPIO_ReadInputDataBit(GPIOA ,GPIO_Pin_6)== RESET)
    else if(GPIO_ReadInputDataBit(GPIOD ,GPIO_Pin_6)== RESET)


Tks all