Instant Interrupts - Revisited


Results 1 to 40 of 773

Threaded View

  1. #11
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132


    Did you find this post helpful? Yes | No

    Default

    Hi. I am getting an error Symbol not previously defined (PIR2) on a 16F628 with Darrels interrupts.

    On the program I do not use any PIR2 register. So why does this error come up? Can't this be taken care automatically?

    Also if I want to disable TMR0 interrupts inside the timer0 INT Handler, will the Interrupts be enabled on exiting the routine? Like this:

    Code:
    INT_Service_TMR0:
    @ INT_DISABLE TMR0_INT
        tmr0=21                 'Preload for 60msec time out
        timer0=1                'timer 0 has timed out flag
    @ INT_RETURN    <<<<<<<<----------------Here I do not want to enable timer0
    Thanks,
    Ioannis
    Attached Files Attached Files
    Last edited by Ioannis; - 4th October 2009 at 21:49.

Similar Threads

  1. Clock using Instant Interrupts
    By PICpocket in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 16th February 2009, 21:43
  2. DT instant interrupts with mister_e keypad
    By Tomexx in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 26th November 2008, 20:02
  3. DT's Instant Interrupts trouble
    By Tomexx in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 24th November 2008, 20:48
  4. Keypad and DT's Instant Interrupts
    By Homerclese in forum General
    Replies: 11
    Last Post: - 27th April 2007, 06:32
  5. Replies: 1
    Last Post: - 1st November 2006, 03:11

Members who have read this thread : 8

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