Timer0 Instant Interrupts Question


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2006
    Posts
    2

    Default Timer0 Instant Interrupts Question

    Hi all. I am using DT's Instant Interrupts (Thank you Darrell!) and had a question regarding Timer0.

    I am using a 18F4680, and have several interrupt sources, INT1, INT2, TMR0 and RX set to LOW priority and INT0 set to HIGH. My question is this: If i am in the INT0 routine and TIMER0 interrupts what happens? Does the TIMER0 interrupt stay flagged so that eventually it will get serviced? Or will i never get to jump to the TIMER0 routine to reset TMR0H and TMR0L?

    My INT0 is set at HIGH, it is connected to a MCP2515 CAN controller (which is proving to be way more work than i hoped.)

    Any help would be appreciated.

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by wmarchewka View Post
    ... My question is this: If i am in the INT0 routine and TIMER0 interrupts what happens? Does the TIMER0 interrupt stay flagged so that eventually it will get serviced? ...
    Exactly! It will remain flagged, and cause another interrupt as soon as it exits the current one.

    So it will be serviced ... Next.

    My INT0 is set at HIGH, it is connected to a MCP2515 CAN controller (which is proving to be way more work than i hoped.)
    I can only imagine the nightmares.
    <br>
    DT

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. Keypad and DT's Instant Interrupts
    By Homerclese in forum General
    Replies: 11
    Last Post: - 27th April 2007, 06:32

Members who have read this thread : 1

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

Tags for this Thread

Posting Permissions

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