Hi Seb, Joep,
Sebastien LELONG wrote:
> Should we then forget 18F support and just rename SSPCON1 to SSPCON ?
> If 18F is needed, I can also handle this in lib. Let's just be consitent
> within 16f, and also be consistent within 18F chips (I mean different naming
> convention for 16fF or 18F).
>
> So ?...
When the 18Fs need a different library this seems to match my view.
So the MSSP registers will be named as follows:
> MSSP module of midrange PICs
> SSPADD
> SSPBUF
> SSPCON - first or only control register
> SSPCON2 - second control register (if present)
> SSPSTAT
> First or only MSSP module of 18F PICs
> SSP1ADD
> SSP1BUF
> SSP1CON - first or only control register
> SSP1CON2 - second control register (if present)
> SSP1MASK
> SSP1STAT
> Second MSSP module of 18F PICs
> SSP2ADD
> SSP2BUF
> SSP2CON - control register second module
> SSP2CON2 - second control register (if present)
> SSP2STAT
Note: The above will be included in 'devicefiles.html'
The Dev2jal script has been changed, and I could upload new device files
if there are no objections against this naming convention.
I have done a comparison of the device files generated with MPlab 8.15
and 8.20 and have seen a few improvements.
If the current SSP library works (or has been tested) only for the
midrange it may have a check on 'core' to generate an error when used
with the 18Fs. For example it may contain:
if (target_cpu != pic_14) then
pragma error
end if
[in another message Seb wrote]
> About datasheets, I could download and index all PDF (using Swish-e for
> instance, which I know and already used). It may help us searching keywords
> in datasheets.
It sounds good, but it is difficult to say how useful it can be. Any
reference to an example? Is it a sort of grep?
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
-~----------~----~----~----~------~----~------~--~---