Error when compiling with DT_INTS_3_4b"


Closed Thread
Results 1 to 29 of 29

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default Re: Error when compiling with DT_INTS_3_4b"

    yes had to place a reset interupt in each isr , when the isr is part of the low priorty,

    the reset was not required in each isr when part of high priorty

    thought the 18-int-k40 sorted it out when in low priorty as it did in high priorty /normal interupt handling
    but it does not

  2. #2
    Join Date
    Aug 2011
    Posts
    455


    Did you find this post helpful? Yes | No

    Default Re: Error when compiling with DT_INTS_3_4b"

    IOC is different from the other interrupts in that there are individual flags in the IOCxF registers that you have to clear manually.

    The DT-INTs routine doesn't know which of these you're using, so you have to do it yourself.
    It will try and clear the IOCIF bit in PIR0, but that bit is read-only so trying to clear that doesn't have any effect.

    I don't think the interrupt priority setting has anything to do with this.

Similar Threads

  1. Replies: 0
    Last Post: - 14th November 2013, 03:32
  2. Error while compiling
    By BobK in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 20th April 2013, 17:01
  3. Replies: 1
    Last Post: - 30th March 2012, 04:13
  4. Compile error & syntax error on the word "loop:" as a label?
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 7th March 2010, 04:14
  5. error on compiling
    By parker in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 16th June 2005, 14:31

Members who have read this thread : 1

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