+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    Join Date
    Jan 2009
    Location
    Alabama,USA
    Posts
    190

    Default THE BOOK of DT INTERRUPTS

    If you have been following the forum over the last couple of weeks you should be aware of the fact that some of us are compiling an index of Darrel Taylors instant interrupts. I feel sure no one has used each and every one of these interrupts and that includes those of us working on this project. Over the coming weeks and perhaps months I will need to ask a lot of questions about individual interrupts. I will try to limit the number of posts but there will certainly be more than a few. Many of us feel this is a very important project and I will ask those of you who can assist me in explaining in detail many of these INT to do so.

    IOC_INT, this port change interrupt is mentioned in many Post. I can find very little explanations or examples. Is it specific to only a few PIC's? Can anyone give me a detailed overview of this interrupt or as much as you can contribute. Your words my be used in THE BOOK.
    Wayne

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

    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].

  3. #3
    Join Date
    Apr 2014
    Location
    Northeast
    Posts
    206

    Default Re: THE BOOK of DT INTERRUPTS

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

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

    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

  5. #5
    Join Date
    Jan 2009
    Location
    Alabama,USA
    Posts
    190

    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

  6. #6
    Join Date
    Apr 2003
    Location
    Cambridge - UK
    Posts
    871

    Default Re: THE BOOK of DT INTERRUPTS

    Hi,

    i will set up an upload area for contributions
    Lester - Forum Administrator
    -----------------------------------
    www.crownhill.co.uk

  7. #7
    Join Date
    Apr 2014
    Location
    Northeast
    Posts
    206

    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.

  8. #8
    Join Date
    Apr 2003
    Location
    Cambridge - UK
    Posts
    871

    Default Re: THE BOOK of DT INTERRUPTS

    mpgmike,

    you have admin access to the site, so you can post directly, you can make new pages and upload files

    However, its NOT WYSWYG, you need to use the appropriate markup, instructions can be found under the menu heading 'Basic Editing' and 'Documentation Index'

    You will not see those headings unless you have logged into the web site ( i will PM you your username and password), once logged in , scroll to the bottom of the menu bar, to see the "how to use' section.

    Having said that, its going to be a steep learning curve, so if you want to email me with your contribution, i'll put it up there for you.....that might be the easiest solution.

    Currently only IONNIS, MPGMIKE, MOUNTAIN747 have admin access and only MOUNTAIN747 is creating content directly on the site.

    If you want to DIY i'm happy to walk you through the process via PM's.

    you cannot break the site, you can mess up, but so far ive fixed all issues. So dont worry if you want to have a go.

    Actually it would be really good to have another admin that can create and add content !

    I will PM you
    Lester - Forum Administrator
    -----------------------------------
    www.crownhill.co.uk

  9. #9
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    2,704

    Default Re: THE BOOK of DT INTERRUPTS

    Lester, do you have any idea why the dt.picbasic.co.uk looks like this on my Office PC Firefox?

    Name:  Capture.PNG
Views: 76
Size:  40.1 KB

    On the same machine but Opera shows as it should.

    Ioannis

  10. #10
    Join Date
    Apr 2003
    Location
    Cambridge - UK
    Posts
    871

    Default Re: THE BOOK of DT INTERRUPTS

    YES, I think its because you tried different skins

    On opera you probably only ever used the default skin
    On your office Firefox PC , I think you viewed a different skin....as part of the discussion in the post about colour.

    Just clear your firefox browser cache and it should pick up the default skin.
    Lester - Forum Administrator
    -----------------------------------
    www.crownhill.co.uk

  11. #11
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    2,704

    Default Re: THE BOOK of DT INTERRUPTS

    Yeap, that was it!

    Thanks Lester,
    Ioannis

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

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