Does the absence of INTCON_GIE means interrupts are not supported by this
pic? Or are there pics around with interrupts but without INTCON_GIE?
If not INTCON_GIE means no interrupts, the libarary improvement is a good
idea indeed.

Joep

2009/11/28 Rob Hamerling <[email protected]>

>
> Hi Joep,
>
> Joep Suijs wrote:
>
> > And about INTCON_GIE. This is used to disable interrutps. If your pic
> > doesn't have interrupts or you don't use them, you can just define a bit
> > var with this name.
>
> Suggested library improvement: check for existence of GIE with
>
>   if defined(INTCON_GIE)
>
> Simple solution, works for all PICs.
>
> Regards Rob.
>
> --
> Rob Hamerling, Vianen, NL (http://www.robh.nl/)
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "jallib" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<jallib%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/jallib?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.


Reply via email to