instant Interrupts


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2009
    Posts
    10

    Default instant Interrupts

    Hi All,

    Just getting into using Darrell Taylors Instant interrupts with 18f4580

    Had about half a dozen compile errors initially but quickly resolved them. However there is one final error which I am stumped by

    C:\PBP\PBPPIC18.LIB 1205 : Symbol not previously defined (INT_ENTRY_H)

    Here is my configuration code - using low priority interrupt only RX_INT

    DEFINE USE_LOWPRIORITY 1
    INCLUDE "DT_INTS-18.bas" ; Base Interrupt System
    INCLUDE "ReEnterPBP-18.bas" ; Include if using PBP interrupts
    INCLUDE "ReEnterPBP-18LP.bas" ; Include if using Low Pr. PBP INTS

    ;----[High Priority Interrupts]-----------------------------------------------
    ASM


    ;----[Low Priority Interrupts]------------------------------------------------
    INT_LIST_L macro ; IntSource, Label, Type, ResetFlag?
    INT_Handler RX_INT, _RX232 , PBP, no
    endm
    INT_CREATE_L ; Creates the Low Priority interrupt processor
    ENDASM


    Any suggestions ?

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Low priority interrupts are optional, but high priority must be used.

    In effect, if Low priority interrupts are the only ones being used.
    Then they would really be High Priority, since nothing could interrupt them.

    So either move them to the high priority list, or add at least one int source to the H.P. ints.
    <br>
    DT

  3. #3
    Join Date
    Jul 2009
    Posts
    10


    Did you find this post helpful? Yes | No

    Default

    Hi Darrel

    Thank you for the prompt reply, it was very helpful.

    The code is now working very nicely.

    By the number of posts, instant interrupts are very popular. I have a number of projects which I will revisit and improve.

    Many Thanks

    Tim

Similar Threads

  1. Instant Interrupts - Revisited
    By Darrel Taylor in forum Code Examples
    Replies: 772
    Last Post: - 17th February 2016, 22:14
  2. Clock using Instant Interrupts
    By PICpocket in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 16th February 2009, 21:43
  3. DT instant interrupts with mister_e keypad
    By Tomexx in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 26th November 2008, 20:02
  4. DT's Instant Interrupts trouble
    By Tomexx in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 24th November 2008, 20:48
  5. Replies: 1
    Last Post: - 1st November 2006, 03:11

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

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