Hi Seb,

Sebastien Lelong wrote:

> I may need your help about normalizing ANS bits... In some device files, you
> can find ANS bits, like ANSEL_ASN2, in some other device files, you can find
> ANSEL bits, like ANSEL_ANSEL2. Ex: for PIC 18lf13k22 (DS ref. 41365A),
> device file defines ANSEL_ANSEL0, ..., ANSEL_ANSEL7, but in DS they are
> referenced as ANS0, ..., ANS7 (see table page 213).
> 
> Is it possible to normalize them either to ANSEL_ANSx or ANSEL_ANSELx ?

I have done some reading.... It seems ANSEL_ANSx will be the better 
naming convention, and there are a number of issues to be solved....(as 
expected!). Some that came to mind:

Should ANSEL0 and ANSEL1 (e.g. of 16HV785) be renamed to ANSEL and 
ANSELH (and of course the bits accordingly ANSEL_ANS0 etc)?

What about the bits in ANSELH? Should these be  called 
ANSEL_ANS8..ANSEL_ANS11 (as the bitnames are called in the DS of the 
18lf13k20).

How to name the bits of ANSELA/B/D/E of the 16f72x?

Regards, Rob.


--~--~---------~--~----~------------~-------~--~----~
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