On Oct 4, 2012, at 4:56 AM, peter green wrote: > Lets take a look at the C18 libraries documentation. >> A bitmask that is created by performing a bitwise AND operation (=91&=92= ) with a value from each of the categories listed below. These values are d= efined in the file adc.h. Bitwise AND??!! Really? Is there some inherent advantage of inverted bitmasks that I'm missing? It= seems very counter-intuitive if the registers themselves don't have active= -low individual bits (like some fuse/config bytes.) BillW --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .