Searching \ for 'example c-code, handeling interrupts' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/ints.htm?key=interrupt
Search entire site for: 'example c-code, handeling interrupts'.

Truncated match.
PICList Thread
'example c-code, handeling interrupts'
1997\05\12@063613 by FrankT

picon face
can anybody tell me where I can find some example c-code on how to handles
multiple interrupts (enabeling global interrupt, save and restore context
etc...)
FrankT

1997\05\12@235249 by Mike Smith

flavicon
face
For what C compiler?  It tends to be handled as a non-standard extension to
C

MikeS
<spam_OUTmikesmith_ozTakeThisOuTspamrelaymail.net>

----------
> From: FrankT <.....gymnaKILLspamspam@spam@COMPUSERVE.COM>
> To: PICLISTspamKILLspamMITVMA.MIT.EDU
> Subject: example c-code, handeling interrupts
> Date: Monday, 12 May 1997 19:53
>
> can anybody tell me where I can find some example c-code on how to
handles
> multiple interrupts (enabeling global interrupt, save and restore context
> etc...)
> FrankT

1997\05\13@030027 by FrankT

picon face
At the moment I am using Mplab-C compiler on the 16c74


Frank Temmerman

1997\05\13@033955 by tjaart

flavicon
face
FrankT wrote:
>
> At the moment I am using Mplab-C compiler on the 16c74
>
> Frank Temmerman

I hate to tell you this, but Microchip has kindly neglected
adding the context saving section to the 16C74.h file. This
means you have to wade through the following registers and
decide which have to be saved for an interrupt :

temp_WREG
__WImage
temp_WImage
temp_STATUS
temp_PCLATH
temp_FSR
__FSRImage
temp_FSRImage
__longAC
__longAC_H
__longIX_L
__longIX_H
temp_longAC_L
temp_longAC_H
temp_longIX_L
temp_longIX_H

If you complain about it (as I have ad naseum), there will be
one more voice in the choir.

Here we go again :
**************************************************************
**Please Microchip, fix up the obvious bugs and omissions us**
** plebians have paid good money for.                       **
**************************************************************

--
Friendly Regards

Tjaart van der Walt
.....tjaartKILLspamspam.....wasp.co.za
_____________________________________________________________
| Another sun-deprived R&D Engineer slaving away in a dungeon |
|             WASP International  http://wasp.co.za           |
|             GSM and GPS value-added applications            |
|  Voice : +27-(0)11-622-8686   |   Fax : +27-(0)11-622-8973  |
|_____________________________________________________________|

1997\05\13@145555 by mbonner

flavicon
face
Tjaart van der Walt wrote:
>
> FrankT wrote:
> >
> > At the moment I am using Mplab-C compiler on the 16c74
> >
> > Frank Temmerman
>
> I hate to tell you this, but Microchip has kindly neglected
> adding the context saving section to the 16C74.h file. This
> means you have to wade through the following registers and
> decide which have to be saved for an interrupt :
>
<snip>
{Quote hidden}

For those of you trying to choose a good compiler - ByteCraft's MPC
address all the issues mentioned in this thread.  It's expensive (about
CDN $900), but good with good tech support

- Matt
--
Matthew Bonner B.Eng.
Product Development Engineer
Sunada Technology Corp. Calgary, Alberta
EraseMEmbonnerspam_OUTspamTakeThisOuTsunada.com

More... (looser matching)
- Last day of these posts
- In 1997 , 1998 only
- Today
- New search...