2 Replies Latest reply on Nov 9, 2012 4:06 AM by content.librarian

    complex-/ and simple-GPIO interrupts timing



      can someone help me to find timing description for the GPIO interrupt configurations?




      typedef enum CyU3PGpioIntrMode_t
          CY_U3P_GPIO_NO_INTR = 0,        /* No Interrupt is triggered*/
          CY_U3P_GPIO_INTR_POS_EDGE,      /* Interrupt is triggered for positive edge of input. */
          CY_U3P_GPIO_INTR_NEG_EDGE,      /* Interrupt is triggered for negative edge of input. */
          CY_U3P_GPIO_INTR_BOTH_EDGE,     /* Interrupt is triggered for both edge of input. */
          CY_U3P_GPIO_INTR_LOW_LEVEL,     /* Interrupt is triggered for Low level of input. */
          CY_U3P_GPIO_INTR_HIGH_LEVEL,    /* Interrupt is triggered for High level of input. */
          CY_U3P_GPIO_INTR_TIMER_THRES,   /* Interrupt is triggered when the timer crosses the
                                             threshold. Valid only for complex GPIO pin. */
          CY_U3P_GPIO_INTR_TIMER_ZERO     /* Interrupt is triggered when the timer reaches zero.
                                             Valid only for complex GPIO pin. */
      } CyU3PGpioIntrMode_t;


      How long has a signal to be, that a interrupt is executed in case of low-/, high-level?


      How long does it take if I use positive edge till the edge is detected?