This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

external interrupts

Hi, i wanna know how to make an external interrupt from falling edge to rising edge, the example on the keil site only works with falling edge.. how can i do that ?

Parents Reply Children
  • there is one other way (I have used it).

    Use a derivative with comparator interrupts.
    Derivatives such as the SILabs F12x has comparator interrupts for 'gone above' and 'gone below'. setting the reference at 1/2 Vcc gives you one interrupt on rising edge and another on falling edge. One word of warning: the comparator interrupts, typically are a bit slow (microseconds, not immediate)

    Erik