[email protected] wrote:
> 
> Comment #1 on issue 69 by sebastien.lelong: I2C hardware does not work for  
> PIC18F devices
> http://code.google.com/p/jallib/issues/detail?id=69
> 
> Rob, can this be fixed in device files, or does it make more sens to adapt  
> i2c lib ?
> 

The names of SSP registers (and the 'usual' deviations between .dev 
files and datasheets) have been discussed before and as a result the 
dev2jal script performs some normalisation (see also devicefiles.html). 
  This makes it possible for libraries which use the SSP registers to 
make the distinction between midrange and 18F targets (with a check on 
'TARGET_CPU').
And there may be more differences in the SSP handling between midrange 
and 18F. I'll try to convert my list of SSP registers into a wiki like 
for ADC and CCP (including the normalisation down my the dev2jal 
script). This may give a better insight in the differences and 
similarities.

Currently I think it is more appropriate to adapt the libraries, but 
maybe I'll change my mind when I have a better insight in the problem.

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