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

interrupts

Many thanks for those who help me! (:

I got a problem here...

If i were to use 3 types of interrupts(external interrupt0, timer0 and timer1) in one single program, how should i go about writing the codes in the program?

Parents
  • erik,
    As Per Westermark mentioned in the following post, a level triggered interrupt that remains asserted can cause
    havoc. That can happen even if a peripheral is shutdown!
    I still didn't finish reading all posts, but another con I can think of, is that often when using interrupts you are bound to a certain processor pin, making portability a little more difficult.

Reply
  • erik,
    As Per Westermark mentioned in the following post, a level triggered interrupt that remains asserted can cause
    havoc. That can happen even if a peripheral is shutdown!
    I still didn't finish reading all posts, but another con I can think of, is that often when using interrupts you are bound to a certain processor pin, making portability a little more difficult.

Children