Instant Interrupts - Revisited


Closed Thread
Results 1 to 40 of 773

Hybrid View

  1. #1
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,170


    Did you find this post helpful? Yes | No

    Default Re: Instant Interrupts - Revisited

    As in chat box,
    http://www.picbasic.co.uk/forum/showthread.php?t=19638

    Under 18 bit link.

    Then DOWNLOAD link at very top.

    Links are there.

    Robert

  2. #2
    Join Date
    Jun 2015
    Posts
    10


    Did you find this post helpful? Yes | No

    Default Re: Instant Interrupts - Revisited

    Thanks - just what I needed! Now the fun starts...

  3. #3
    Join Date
    Jun 2015
    Posts
    10


    Did you find this post helpful? Yes | No

    Default Re: Instant Interrupts - Revisited

    Thanks a lot, Robert. I have installed them and they do exactly what I needed. Thanks Darrel...

    Now I have a question. I added the RTCC interrupt to the DT-INTS-18 coding by adding a define and the "ifdef" statement (using an 18F67K90). I noticed that after I return from my RTCC_INT handler, the RTCCIF flag bit is cleared, apparently by the INT_RETURN macro. Did I leave out more changes to the DT-INTS-18 code, or are all interrupt flags cleared by INT_RETURN? My work around was to create a copy of RTCCIF and poll it instead.

    Clock_Int: 'RTCC ISR
    RTCC_IF = 1 'set the interrupt flag copy because macro INT_RETURN clears RTCCIF
    @ INT_RETURN

    Howard


    Quote Originally Posted by Demon View Post
    As in chat box,
    http://www.picbasic.co.uk/forum/showthread.php?t=19638

    Under 18 bit link.

    Then DOWNLOAD link at very top.

    Links are there.

    Robert

  4. #4
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default Re: Instant Interrupts - Revisited

    Howard, you must be setting the reset flag to TRUE by entering YES in the interrupt declaration ResetFlag field like this:


    ASM
    INT_LIST macro ;IntSource Label Type ResetFlag
    INT_Handler IC3DRIF_INT, _InputSignal, ASM, yes
    endm
    INT_CREATE
    ENDASM
    Dave Purola,
    N8NTA
    EN82fn

  5. #5
    Join Date
    Jan 2008
    Location
    Sweden
    Posts
    187


    Did you find this post helpful? Yes | No

    Default Re: Instant Interrupts - Revisited

    Hello

    Where can I find the homepage that were on these two links?
    And where do I download the latest DT_INTS?

    DT_INTS-14 (12F-16F)
    http://darreltaylor.com/DT_INTS-14/intro.html

    DT_INTS-18 (18F)
    http://darreltaylor.com/DT_INTS-18/home.html

  6. #6
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,170


    Did you find this post helpful? Yes | No

    Default Re: Instant Interrupts - Revisited

    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  7. #7
    Join Date
    Jul 2008
    Location
    TURKIYE-KONYA
    Posts
    51


    Did you find this post helpful? Yes | No

    Default Re: Instant Interrupts - Revisited

    I'm working on a project using 18LF13K22. I need to use RAB Change Interrupt with DT Ints18. I made changes on DT_INTS-18.bas below but i couldn't succeed. Any suggestion?

    Code:
    #define RABC_INT  INTCON, RABIF   ;-- RAB Port Change
    .........

    Code:
    ifdef RABIF
          INT_Source  INTCON,RABIF, INTCON, RABIE,INTCON2,RABIP
      endif
    Thanks..

  8. #8
    Join Date
    Nov 2007
    Location
    West Covina, CA
    Posts
    219


    Did you find this post helpful? Yes | No

    Default Re: Instant Interrupts - Revisited

    I had to do the same thing with the PIC18F14K50.
    Our entries look similar except your label is RABC_INT.

    Code:
    #define RAB_INT   INTCON, RABIF   ;-- RAB Port Change, Added 3/15/14 for PIC18F14K50
    and

    Code:
      ifdef RABIF    ;----{ RAB Port Change Interrupt }-----------[INTCON, RABIF]--- (Added 3/15/14 for PIC18F14K50
          INT_Source  INTCON,RABIF, INTCON,RABIE, INTCON2,RABIP 
      endif
    Could it be you're not enabling it with:
    Code:
    INT_ENABLE  RABC_INT   ; Enable IOC
    Louie

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 : 6

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