hi Kiste, Seb,

On  2-03-13 14:37, Oliver Seitz wrote:

    That leaves only to specify something with PICs with 8 and 12 bits.
    Is doable....

ThePIC18F47J13 family for example can be configured for 10 or 12 bits,
so the fuse settings would have to be considered in certain cases, too.

Indeed. When a device can be configured for different ADC resolutions the library should determine the actual value. As far as I've seen only the 18f??j13 and 18f??j53 have this possiblity. The default is 10-bits, but when the ADCSEL bit in CONFIG3H is cleared (0) it is 12-bits. So the library should read configuration bits! But configuration bits have no name, and the library cannot know which configuration bit means what (without knowing the device).

Dilemma: should the device file specify 10 or 12 in this case?

So Seb, what's your suggestion?

Regards, Rob.


--
R. Hamerling, Netherlands --- http://www.robh.nl

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/jallib?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to