-
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 ?
-
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>
-
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