calling subroutine triggers interrupt


Results 1 to 8 of 8

Threaded View

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


    Did you find this post helpful? Yes | No

    Default Re: calling subroutine triggers interrupt

    I think Steve meant to clear the flag before the GOSUB TEST, not before the ON INTERRUPT GOTO.

    It GOSUB's from an area that is DISABLEd to one that is ENABLED.
    If the flag is set, it will jump to the ISR.
    It may jump, even if it's not set.

    The ISR should verify that the flag is set before doing anything.
    Last edited by Darrel Taylor; - 19th May 2011 at 14:43.
    DT

Members who have read this thread : 0

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