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
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].
Re: THE BOOK of DT INTERRUPTS
Got something. Where do you want me to upload it for peer review?
Re: THE BOOK of DT INTERRUPTS
Quote:
Originally Posted by
richard
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
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
Re: THE BOOK of DT INTERRUPTS
Hi,
i will set up an upload area for contributions
Re: THE BOOK of DT INTERRUPTS
Quote:
Originally Posted by
MOUNTAIN747
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.
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
1 Attachment(s)
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?
Attachment 8613
On the same machine but Opera shows as it should.
Ioannis
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.
Re: THE BOOK of DT INTERRUPTS
Yeap, that was it!
Thanks Lester,
Ioannis