diff -r f45fd4cd3832 -r 34654679f262 doc/doxygen/html/ports_8h-source.html --- a/doc/doxygen/html/ports_8h-source.html Fri Jul 06 10:53:15 2007 +0200 +++ b/doc/doxygen/html/ports_8h-source.html Mon Jul 16 08:56:03 2007 +0200 @@ -18,7 +18,7 @@
  • Globals
  • +include » hcs12 » asm-m68hc12

    ports.h

    Go to the documentation of this file.
    00001 /*
     00002 This file is part of CanFestival, a library implementing CanOpen Stack. 
     00003 
    @@ -71,9 +71,9 @@
     00050 #include <asm-m68hc12/ports_def.h>
     00051 
     00052 /* Prototypes */
    -00053                  unsigned short get_timer_counter (void);
    -00054 void             set_timer_counter (unsigned short value);
    -00055 void             cop_reset (void);
    +00053                  unsigned short get_timer_counter (void);
    +00054 void             set_timer_counter (unsigned short value);
    +00055 void             cop_reset (void);
     00056 
     00057 
     00058 /* Must me adapted to hc12
    @@ -101,24 +101,24 @@
     00080 
     00081 
     00082 extern inline unsigned short
    -00083 get_timer_counter (void)
    +00083 get_timer_counter (void)
     00084 {
    -00085   return ((unsigned volatile short*) &_io_ports[TCNTH])[0];
    +00085   return ((unsigned volatile short*) &_io_ports[TCNTH])[0];
     00086 }
     00087 
     00088 extern inline void
    -00089 set_timer_counter (unsigned short value)
    +00089 set_timer_counter (unsigned short value)
     00090 {
    -00091   ((unsigned volatile short*) &_io_ports[TCNTH])[0] = value;
    +00091   ((unsigned volatile short*) &_io_ports[TCNTH])[0] = value;
     00092 }
     00093 
     00094 
     00095 /* Reset the COP.  */
     00096 extern inline void
    -00097 cop_reset (void)
    +00097 cop_reset (void)
     00098 {
    -00099   _io_ports[ARMCOP] = 0x55;
    -00100   _io_ports[ARMCOP] = 0xAA;
    +00099   _io_ports[ARMCOP] = 0x55;
    +00100   _io_ports[ARMCOP] = 0xAA;
     00101 }
     00102 
     00103 
    @@ -127,21 +127,21 @@
     00106 extern inline void
     00107 timer_acknowledge (void)
     00108 {
    -00109   _io_ports[TFLG2] = 0x80;
    +00109   _io_ports[TFLG2] = 0x80;
     00110 }
     00111 
     00112 /* Initialize the timer.  */
     00113 extern inline void
     00114 timer_initialize_rate (unsigned char divisor)
     00115 {
    -00116   _io_ports[M6811_TMSK2] = M6811_RTII | divisor;
    +00116   _io_ports[M6811_TMSK2] = M6811_RTII | divisor;
     00117 }
     00118 
     00119 extern inline void
     00120 cop_optional_reset (void)
     00121 {
     00122 #if defined(M6811_USE_COP) && M6811_USE_COP == 1
    -00123   cop_reset ();
    +00123   cop_reset ();
     00124 #endif
     00125 }
     00126 
    @@ -149,7 +149,7 @@
     00128 extern inline void
     00129 set_bus_expanded (void)
     00130 {
    -00131   _io_ports[M6811_HPRIO] |= M6811_MDA;
    +00131   _io_ports[M6811_HPRIO] |= M6811_MDA;
     00132 }
     00133 
     00134 
    @@ -157,7 +157,7 @@
     00136 extern inline void
     00137 set_bus_single_chip (void)
     00138 {
    -00139   _io_ports[M6811_HPRIO] &= ~M6811_MDA;
    +00139   _io_ports[M6811_HPRIO] &= ~M6811_MDA;
     00140 }
     00141 
     00142 extern inline unsigned short
    @@ -264,7 +264,7 @@
     00243 
     00244 #endif /* _M68HC11_PORTS_H */
     00245 
    -

    Generated on Fri Jun 8 08:51:39 2007 for CanFestival by  +
    Generated on Mon Jul 2 19:10:16 2007 for CanFestival by  doxygen 1.5.1