Questions on Darrel's Instant Interrupts


Results 1 to 11 of 11

Threaded View

  1. #7
    Join Date
    May 2013
    Location
    australia
    Posts
    2,645


    Did you find this post helpful? Yes | No

    Default Re: Questions on Darrel's Instant Interrupts

    robert
    you are right about the toggle but I assumed I that in the "production" version that line would be removed. if you can do this the interrupt latency can be reduced heaps .i'm sure henrik has a posting about this issue for his pid project , its worth looking at .
    and yes pic18 high priority int can interrupt a low priority int but imo its better policy to make interrupts a short as possible and set flags to indicate that further processing is necessary .
    what clock speed are you using ? the chip can do 32mhz that helps too

    isn't pir1.1=0 resetting the tmr2 int flag
    and
    _Handler TMR2_INT, _ClockCounter, PBP, yes
    the yes on the end resets the flag too
    its a bit redundant if time is that critical
    Last edited by richard; - 17th November 2013 at 08:29. Reason: added about the double flag clear

Similar Threads

  1. Darrel's interrupts in a 7 segment display
    By ardhuru in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 17th August 2014, 02:06
  2. Are Darrel's Instant Interrupts and SSPWM mutually exclusive?
    By Andy Wood in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 18th September 2013, 06:54
  3. instant Interrupts
    By Timmoore in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 27th October 2009, 06:07
  4. DT Instant Interrupts help
    By perides in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 26th November 2008, 18:41
  5. Instant Interrupts Questions
    By JosueCas in forum mel PIC BASIC Pro
    Replies: 23
    Last Post: - 4th April 2006, 15:54

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