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 ?... Cheers, Seb Le Saturday 24 January 2009 21:08:51 Rob Hamerling, vous avez écrit : > Sebastien LELONG wrote: > > SSP1CON1, SSP1CON2, SSP2CON1, SSP2CON2... Errr.... > > > > OK, I understand those chips have 2 (M)SSP modules. If we follow previous > > convention (SSPCON or SSPCON/SSPCON2), this would give: > > > > - SSP1CON/SSP1CON2 > > - SSP2CON/SSP2CON2 > > > > Does this make sense to you ? > > Yes, but I just realised that when renaming SSPCON1/SSPCON to SSP1CON > for 18Fs with a single MSSP module we need also to rename related > registers: SSPMSK -> SSP1MSK > SSPCON2 -> SSP1CON2 > SSPSTAT -> SSP1STAT > SSPADD -> SSP1ADD > SSPBUF -> SSP1BUF > So as usual a little more complicated than thought on beforehand. > > Regards, Rob. -- Sébastien LELONG http://www.sirloon.net http://sirbot.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
