Recent Changes - Search:

Introduction to Microcontroller Programming

About PICmicro Chips

Clocking Your PICmicro Devices

E-Blocks

Flowcode Step By Step

PICmicro Projects

Labs

PORT B Interrupt

<^< RB0 Interrupt | Course Index | A/D Conversion >^>

Largely simplified block schematic to demonstrate where the PORT Interrupt (sometimes called IOC or Interrupt on Change) is located in the PIC 16F1937 Architecture:

PORT B External Interrupt:

  • A logic level change on any combination of pins on PORTB can be configured to generate one and the same single interrupt.
  • It can be configured to react to a rising or to a falling edge, or to both.
  • When it is configured in Flowcode and a level change occurs on any of the selected input pins of Port B:
    • This will immediately stop the main program
    • The PORTB related macro is executed
    • After this PORTB macro is executed, the main program goes further where it had left before.

This will happen every time a level change is detected on one of the pins selected on PORTB.

<^< RB0 Interrupt | Course index | A/D Conversion >^>

Print - Search - Login

Page last modified on September 20, 2011, at 11:20 AM