Comment #7 on issue 121 by robhamerling: broken pin-ANx and JANSEL_ANSx relationship
http://code.google.com/p/jallib/issues/detail?id=121

So far I haven't seen any irregulities in the PCFG numberings in ANCONx. And I think it is pretty unlikely, because as far as I've seen there is a one-to-one relationship
between the PCFG number and the pin_AN number.
I'm currently checking if my 'FindJANSEL' wiki is not missing any PIC with ADC (due
to a scripting error). After that I'll do a check for the PCFG numbering.

Our 'trick' with JANSEL looks very similar to the PCFG bits in ANCON registers. Except that JANSEL covers all ANS-bits, while PCFG-bits are spread over several ANCON registers when the PIC has ADC_channels > 8. I thought that it would simplify ADC
libs when there were a single method for setting an ADC-pin to analog with a
JANSEL_ANSx alias for ANCON_PCFGx. And it might also reduce maintenance of the ADC libs when new device files are released. But if the advantage is niul or marginal
then we'll leave it as is (apart from repairing errors of course).





--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

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