Hi Seb,

Sebastien Lelong wrote:
> Hi Rob, hi guys,
> 
> 
> 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 ?

As you know I'll be offline from time to time maybe for longer periods, 
so I cannot give 'structured' assistance and won't respond to each 
message. But I'll try to do my best.

I suppose it is be possible. It will mainly be a matter of knowing where 
to look for and how to change undesired names into desired names. I'll 
have a look in the datasheets you mentioned. There could be a problem 
when the datasheets and the .dev files in MPLAB are different, but that 
shouldn't be a big problem either.
We agreed that the datasheets are primary reference, so I suggest we 
normalize to the bit(filed)names used in the datasheets. This seems to 
be ANS0..ANS7.

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