Hi Seb,

I've started with the normalization of the _ANS bits. This is rather 
simple for the ANSEL register, but it becomes  more complicated for the 
other registers. I have a couple of questions for you:

1. With the baseline (ic 10F220/222, 12F510, 16F506/526) the bits are in 
ADCON0. Do you want these to be called ADCON0_ANS0/1, or should it 
become something like:
    var volatile bit ANSEL_ANS0  at ADCON0:6
(see also item 5)

2. Should the ANS bits of ANSELH get a prefix ANSELH_ or ANSEL_?

3. Should the enumeration of ANS bits of ANSELH start with 0 or with 8?
Or should the start value depend on the number of active ANS bits in 
ANSEL (to become an contiguous series)?

4. Similarly what about PICs with ANSELA/ANSELB/ANSELE or ANSEL0/ANSEL1 
registers?

5. What about giving the all ANS bits a 'dummy'-registername, for example:
    var volatile bit JANSEL_ANS0  at ADCON0:6

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]
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to