Timer 0 in DS_int_14 having a problem


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    Feb 2012
    Location
    PERTH AUSTRALIA
    Posts
    838


    Did you find this post helpful? Yes | No

    Default Re: Timer 0 in DS_int_14 having a problem

    one item i am noticing is that if the INT routine call has a another sub routine that is activated within it it does not seem to return back to the org int call , i am i missing something ?

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,624


    Did you find this post helpful? Yes | No

    Default Re: Timer 0 in DS_int_14 having a problem

    That's what Dave was trying to say. You have the following line in your ISR
    Code:
    if T0Count = 1520 then  Smooth_reset
    This is effectively a GOTO so the execution jumps to the Smooth_reset routine and doesn't return to the ISR from there.

    /Henrik.

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