Hi Seb,

Sebastien Lelong wrote:
> 
> Is there any chances to be able to access pin as its A/D name. For instance
> (and according to current adc_hardware), giving PIC 16F877, pin_A0 is
> pin_AN0, pin_E2 is pin_AN7. Could it be feasible to add this to the device
> files ? I'm not saying this should be done, I'm just thinking about ADC
> channel selection and how to configure appropriate pins.
> 
> I've seen there are table in datasheets, representing "pin summary". This
> information could be extracted from this, but hardly parsable...

This info is not in the .dev files and not in the .inc asm files either. 
  So we would have to build a table (something like devicespecific.cmd). 
Since ANx pins are in many cases spread over more than one port, and not 
particularly uniform for different PICs, this may become somewhat 
complicated on first sight.....
I do not see a way to generate such a table from MPLAB info.

Regards, Rob.

PS: There is a FindAnalog wiki with global analog register info, but 
would you like ANSEL registers added to the FindADCON wiki?


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