External interrupt pins on a processor

Discussion in 'Embedded Systems and Microcontrollers' started by cshalini, Mar 25, 2013.

  1. cshalini

    Thread Starter New Member

    Mar 21, 2013
    2
    0
    If you have less external interrupt pins on a processor, then how to interface multiple interrupts ?
     
  2. ErnieM

    AAC Fanatic!

    Apr 24, 2011
    7,394
    1,606
    You OR them together to make 1 interrupt, then the ISR needs to poll each source to see which ones are triggered.
     
    cshalini likes this.
  3. tshuck

    Well-Known Member

    Oct 18, 2012
    3,531
    675
    To tack on to what Ernie said, you should poll them in order of priority, so higher priority interrupts are serviced first.
     
    cshalini likes this.
Loading...