Revision: 1300
Author: robhamerling
Date: Sun Sep  6 12:46:35 2009
Log:
  Update for SSP aliases.


http://code.google.com/p/jallib/source/detail?r=1300

Modified:
  /trunk/doc/html/devicefiles.html

=======================================
--- /trunk/doc/html/devicefiles.html    Sun Sep  6 02:28:51 2009
+++ /trunk/doc/html/devicefiles.html    Sun Sep  6 12:46:35 2009
@@ -424,9 +424,20 @@
  </ul>
  This naming convention has been chosen because of the differences
  between the midrange and 18F series.
-The libraries for these two groups will be different anyway, so the
-difference in register naming is not issue, on the contrary:
-a compiler message will inform you when you included the wrong library.
+
+<p>In many cases the first SSP module (SSP1) of the 18Fs can be used
+in the same way as the SSP module of a midrange PIC.
+For this purpose the following aliases are declared for registers of
+the first SSP module in the devicefiles of the 18F PICs:
+<table>
+<tr><th>field          <th>alias         <th>remarks </tr>
+<tr><td>SSP1CON        <td>SSPCON        <td> </tr>
+<tr><td>SSP1CON2       <td>SSPCON2       <td> </tr>
+<tr><td>SSP1STAT       <td>SSPSTAT       <td> </tr>
+<tr><td>SSP1BUF        <td>SSPBUF        <td> </tr>
+</table>
+<p>All subfields of these registers have a similar alias
+(only the regsiter prefix is changed, the subfield name is not).


  <h3>Names for registers and subfields of CCP modules</h3>
@@ -443,7 +454,7 @@
  For this purpose a number aliases are added to the device files which
  allow access of enhanced CCP registers and subfields with legacy names.
  An example of this is the pwm_hardware library.
-<p>The following legacy aliases for enhance CCP modules are declared:
+<p>The following aliases for enhanced CCP modules are declared:
  <table>
  <tr><th>field           <th>alias         <th>remarks          </tr>
  <tr><td>ECCPxCON        <td>CCPxCON       <td>x in range 1..10 </tr>

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