THE BOOK of DT INTERRUPTS


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    May 2013
    Location
    australia
    Posts
    2,671


    Did you find this post helpful? Yes | No

    Default Re: THE BOOK of DT INTERRUPTS

    given that no one really read [or reads] the pbp manual and the declining interest in 8 bit mcu's and pbp in general
    I hope your endeavours are not wasted.

    try this for ioc
    dt-ints is not a panacea for pic interrupts some understanding of the hardware is essential for meaningful results, not all 8 bit pic mcu chips are equal its possible microchip may have implemented module hardware in various different ways so always check the datasheet. ioc interupts are not particularly difficult ,In general terms the user needs to :-
    1. ensure the chosen pin{/s} are digital inputs and not floating
    2. enable the appropriate edge detects that you need [eg IOCAP IOCAN ]
    3. clear the ioc flags [eg IOCAF]
    4. the dt-ints macro @ int_enable IOC_INT will enable all the other settings necessary [GIE,IOCIE]

    5. your isr must/should clear the ioc edge flags [eg IOCAF].
    also if required examine the ioc edge flag register{/s}to determine which pin{/s} changed [eg IOCAF].
    dt-ints will do neither of these things

    6. dt-ints can clear the ioc flag [IOCIF] it cannot clear ioc edge flags [eg IOCAF].

  2. #2
    Join Date
    Apr 2014
    Location
    OK
    Posts
    557


    Did you find this post helpful? Yes | No

    Default Re: THE BOOK of DT INTERRUPTS

    Got something. Where do you want me to upload it for peer review?

  3. #3
    Join Date
    Jan 2009
    Location
    Alabama,USA
    Posts
    232


    Did you find this post helpful? Yes | No

    Default Re: THE BOOK of DT INTERRUPTS

    Quote Originally Posted by richard View Post
    given that no one really read [or reads] the pbp manual and the declining interest in 8 bit mcu's and pbp in general
    I hope your endeavours are not wasted.
    Richard, thanks for the info. OIC is not mentioned in PBP 2009 manual. PBP may/is in decline but i'm too old to change horses. And I'm sure I'm not alone. For many hobbyist it's not about production, its about the enjoyment of the challenge. At least that's my story and I'm sticking with it!
    MOUNTAIN747

  4. #4
    Join Date
    Jan 2009
    Location
    Alabama,USA
    Posts
    232


    Did you find this post helpful? Yes | No

    Default Re: THE BOOK of DT INTERRUPTS

    mike, that's a good question, maybe lester can help out with a special upload area. Or, you can PM me.
    Wayne

  5. #5
    Join Date
    Apr 2014
    Location
    OK
    Posts
    557


    Did you find this post helpful? Yes | No

    Default Re: THE BOOK of DT INTERRUPTS

    Quote Originally Posted by MOUNTAIN747 View Post
    mike, that's a good question, maybe lester can help out with a special upload area. Or, you can PM me.
    Wayne
    What I have is a bit lengthy to post in this thread. I took some time with it to try to cover the bases. I crafted it with several data sheets open for reference. This is starting to get fun.

Similar Threads

  1. The book of dt interrupts
    By MOUNTAIN747 in forum PBP Wish List
    Replies: 15
    Last Post: - 13th February 2018, 19:14
  2. VB.NET Book
    By T.Jackson in forum Off Topic
    Replies: 27
    Last Post: - 2nd January 2009, 01:31
  3. Which book best of these 3?
    By websmith in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 16th March 2007, 02:54
  4. Trying To Find A Book
    By fleawhisk in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 31st December 2004, 18:11

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