1 2 Previous Next 17 Replies Latest reply on Mar 14, 2013 6:30 AM by user_14586677

    Interrupt from comparator - S/W guidelines.



      How to generate an interrupt from comparator's output without using any DigBuf module? Can I get two interrupts using the same transition before & after routing to a DigBuf ? I read related stuff on cypress documentation but wasn't able to figure out anything conclusive.

      I did include pragma interrupt_handler in the beginning. I tried incorporating ljmp  _Comp1 (taking Comp1 as the name) in boot.tpl file & then to begin with, in my ISR, which I'm coding in C, I tried to change an LED's status everytime an interrupt occurs but couldn't succeed. Tell me the correct sequence and/or example code for the same. 

      Thanks a lot.

        1 2 Previous Next