Use of high / low priority interrupts - dt_int_18lp.bas ver 18f67k22 internal regs
Hi guys ,
i am about to start using the interrupt priority of interrupts on a 18f67k22. for timer 0 , timer 1, timer 2,
where timer 0 is low priority , timer 1 high , timer 2 low ,
this chip incorporates a high/ low level priority for most of the interrupt sources and was wondering if using DT_IN_18LP.bas does the same thing as setting up the registers manually or do i need to do both ?
Regards
Sheldon.
Re: Use of high / low priority interrupts - dt_int_18lp.bas ver 18f67k22 internal re
correction - ReEnterPBP-18LP.bas
Re: Use of high / low priority interrupts - dt_int_18lp.bas ver 18f67k22 internal re
Hi,
Have you looked at Darrels example for using high and low priority interrupts? It's been a while since I did it but it looks like DT-Ints handles setting the priority bits for you.
/Henrik.
Re: Use of high / low priority interrupts - dt_int_18lp.bas ver 18f67k22 internal re
Yup, everything is done for you. Just make sure to follow Darrel's instructions.
I had one program using high and low with 3 timers.
Robert
EDIT: I was using 18F4xK22 and 18F2xK22 models which must be close to yours.
Re: Use of high / low priority interrupts - dt_int_18lp.bas ver 18f67k22 internal re
thanks that is good to hear
yes i have read darrel's examples , and they look straight forward to follow ,
the 18f67k22 has 2 serial ports which upon design review will be needed as well for priority low interupts
i think the first serial is covered looking at his examples , cant see if the 2nd is so far