• Home
  • QUESTIONS & ANSWERS
  • Integrated Circuits (ICs)
  • When multiple pins are simultaneously set to the same external interrupt, what is the external interrupt logic based on the mode bit and polarity bit?

    * Question

    When multiple pins are simultaneously set to the same external interrupt, what is the external interrupt logic based on the mode bit and polarity bit?


    *
    Answer

    The external interrupt logic is processed as follows: In the low-level trigger mode, the state of all pins using the EINT function is connected to a positive logic AND gate.If there is a multi-pin input, use the pin with the lowest GPIo port number, regardless of the polarity setting of the pin.Selecting multiple EINT pins in the edge trigger mode is considered a programming error.


    COMMENTS

    WORDPRESS: 0
    DISQUS: 0