Implementing a simple INT from stat to finish



THE BOOK of DT's INTERRUPTS is an organization of interrupt service routines and other works written by Darrel Taylor, RIP.

Interrupt routines are arranged per Darrel's original list. Darrel Taylor's Instant Interrupts are an extension of the work of Tim Box whom in October of 2002 wrote INT_CTRL.pbp

Many of the forum members felt this is a long overdue project.

THE BOOK of DT's INTERRUPTS
will be a valuable resource and a tribute to Darrel Taylor the "Fanatical Contributor".

THE BOOK of DT's INTERRUPTS is located at http://dt.picbasic.co.uk/

Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1
    Join Date
    Jan 2009
    Location
    Alabama,USA
    Posts
    232


    Did you find this post helpful? Yes | No

    Default Re: Implementing a simple INT from stat to finish

    Mike, you are absolutely right. I proposed the repository to begin with and now I am considering altering the plan. My bad. I found myself digging in a great number of post's on some particular INT that made the whole process seem more and more complex. I realized the majority of our forum members and guest, and that especially includes me, could not implement some of these INT's without a mouth of research and investigation. It would be nice if every INT had a good example but that doesn't seem possible as I can't find an example of many INT's. I'm sure that at some point Darrel just started going through the datasheets and wrote the INT with no intention of using it but to make it available for others to use if needed. I think at some point a step-by-step project example needs to be done. However, it should not be a part of Darrel's BOOK.

  2. #2
    Join Date
    Aug 2011
    Posts
    457


    Did you find this post helpful? Yes | No

    Default Re: Implementing a simple INT from stat to finish

    It would be nice if every INT had a good example but that doesn't seem possible as I can't find an example of many INT's
    The mechanics of interrupts are basically the same for all of them, with a few minor exceptions..

    It sounds like you're talking more about how to use all of the various peripherals. That's a tall order.
    My suggestion is to keep in mind that for most applications interrupts aren't worth the bother... they just
    complicate things and make your code larger and slower.

    Keep interrupts for what they're most useful for... things that must happen at a defined interval (ie a timer), scanning a display, or USART receive. Triggering an ADC to read and then waiting for an interrupt to read the data is likely a waste of time and energy.

Similar Threads

  1. Trying to inch my way to the finish line w/ a 16F1829.........
    By thasatelliteguy in forum mel PIC BASIC Pro
    Replies: 67
    Last Post: - 30th June 2014, 23:55
  2. Pic int
    By dellins in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 10th March 2013, 08:37
  3. Help implementing SNES Controller + PIC1F887
    By Daguava in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 8th September 2010, 01:00
  4. Using both hardware int and Timer Int together?
    By ozarkshermit in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 6th January 2010, 01:09
  5. Implementing a linear function...
    By sirvo in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 25th July 2007, 14:54

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts