Hi Seb,

Sebastien Lelong wrote:

I'm about to write this pintools.jal library, which will have to deal with pin levels and directions, in a generic way (possibly for all PICs). I "grepped" device files and found inconsistencies. I'm quite sure they are "normal" (in Microchip sense), but just wanted to notice them.


PORTs go from PORTA to PORTH, expecting to be continuous (if PORTB, then PORTA, if PORTC, then PORTB, etc...). The attached CSV file shows gaps for some PICs. For instance, 16f506 has PORTB, but no PORTA.

There are also PICs with PORTJ (18f8310 and more), but not with PORTI!


As I said, I guess this is Microchip-normal :) but was wondering if there was any Microchip-reason...

There will be a reason, but I have no idea which!

I'm afraid we have to live with these anomalies.

Regards, Rob,



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