Searching \ for '[PIC] USE OR MASKS ?' 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/devices.htm?key=pic
Search entire site for: 'USE OR MASKS ?'.

Exact match. Not showing close matches.
PICList Thread
'[PIC] USE OR MASKS ?'
2010\02\25@064456 by Matt Rhys-Roberts

flavicon
face
If anyone has experience of this C18 definition, please could you point
me to any explanation of it?

Thanks,
Matt

2010\02\25@205345 by Dario Greggio

face picon face
Matt Rhys-Roberts ha scritto:
> If anyone has experience of this C18 definition, please could you point
> me to any explanation of it?


Matt, basically that #define allowed Microchip to move from the older
method of using & (AND) to combine Constants when making up function
parameters - a method I almost never saw in use :) - to the more common
! (OR).

But, in order to do that, they had to almost duplicate their include
files etc, and the USE_OR_MASKS is used to pick one of the 2 method
(let's call it retro-compatibility)

--

Ciao, Dario
--
Cyberdyne

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