Overview

External interrupts – RB port change interrupts


  • The student will be able to handle external interrupts:
    • INT0 (RB0)
    • INT1 (RB1)
    • INT2 (RB2)
  • The student will be able to handle RB port change interrupts (on pins RB4~RB7)
  • The student will be able to load and animate a microcontroller program in the Proteus Design Suite








Τhe duration of this module is 3 hours



TipRequirement / operation of the compiler about RB change interrupts: The value of PORTB (or one of the pins RB4, RB5, RB6, RB7) must be read to clear the interrupt flag (IF). If the IF is not cleared when exiting the interrupt service routine (ISR), the IF is raised and the program re-enters the ISR.

Last modified: Sunday, 21 November 2021, 1:08 PM