Recent Changes - Search:
<^< RB0 Interrupt | Course index | A/D Conversion >^>

Introduction to Microcontroller Programming * Course Index * Introduction * About the Author * About this Course * Feedback * Course Navigation * Quick Course Navigation * How to use this Course * Acronyms Used and Course Conventions

About PICmicro Chips * What is a PICmicro? * Microcontrollers * Digital versus Analogue * Inputs and Outputs * Memory * Programming * 16F1937 Architecture ## PORT A ## PORT B ## PORT C ## PORT D ## PORT E ## Memory in the 16F1937 ## ALU ## Timer 1 ## Timer 0 ## RB0 Interrupt ##

Port B Interrupt ## A/D Conversion ## Busses

Clocking Your PICmicro Devices * Introduction * The Clock Circuit * Clock Settings * Clock Confusion

E-Blocks * Introduction to E-blocks * Using E-blocks * E-blocks Boards

Flowcode Step By Step * Introduction to Flowcode * Basic Flowcode Functions * Digital Outputs * Digital Inputs * Basic Loops * The LCD Display * Binary Numbers * Decisions * Goto (Connection Point) * 7-Segment Displays * Software Macro * Strings and Memory * A Simple Hi-Fi

PICmicro Projects * Introduction to PICmicro Projects * Construction Methods * Choosing a Power Source * Adding Inputs * Input Conditioning * Adding Outputs * Adding Drivers

Labs * Introduction and Lesson Plan * 1. Output * 2. Delay * 3. Connection Point * 4. Calculations * 5. Loop * 6. Input * 7. Decision * 8. LCD * 9. Keypad * 10. Analogue + EEPROM * 11. Software Macro * 12. External Interrupt * 13. Timer Interrupt

(:Summary:Contains the 'action' links (like Browse, Edit, History, etc.), placed at the top of the page, see site page actions:) (:comment This page can be somewhat complex to figure out the first time you see it. Its contents are documented at PmWiki.SitePageActions if you need help. :) * Print (:comment (:if group Site,SiteAdmin,Cookbook,Profiles,PmWiki*:) (:comment delete if and ifend to enable backlinks:) * %item rel=nofollow class=backlinks accesskey='$[ak_backlinks]'% [[{*$Name}?action=search&q=link={*$FullName} | $[Backlinks] ]] (:ifend:) :) * Login

PORT B Interrupt

<^< RB0 Interrupt | Course Index | A/D Conversion >^>(:nl:)

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. (:nl:)(:table style="clear:both":)

(:Summary: Website page footer:)

Print - (:comment (:if group Site,SiteAdmin,Cookbook,Profiles,PmWiki*:) (:comment delete if and ifend to enable backlinks:) %item rel=nofollow class=backlinks accesskey='$[ak_backlinks]'% [[{*$Name}?action=search&q=link={*$FullName} | $[Backlinks] ]] (:ifend:) :) Search - Login

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