Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

ISC Bit Setting for Interrupt Service Routine

  1. May 17, 2014 #1
    I'm setting up an interrupt service routine, but I'm unsure which ISC bit setting I should use.

    ISC bit settings:

    ISCx1 ISCx Description
    0 0 Low level of INTx generates an interrupt request
    0 1 Any logic change on INTx generates an interrupt request
    1 0 The falling edge of INTx generates an interrupt request
    1 1 The rising edge of INTx generates an interrupt request

    I want the interrupt to take place, when an input signal on a pin in the external interrupt control register goes high.

    Would the following ISC bit setting be correct:

    EICRA = (1<<ISC11)
     
  2. jcsd
  3. May 23, 2014 #2

    Baluncore

    User Avatar
    Science Advisor

    It might help if you identified the processor you are using.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: ISC Bit Setting for Interrupt Service Routine
  1. 8 bit Binary Decoder (Replies: 13)

  2. Oxygen Service (Replies: 4)

Loading...