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

    applicfg.h

    Go to the documentation of this file.
    00001 /*
     00002 This file is part of CanFestival, a library implementing CanOpen Stack. 
     00003 
    @@ -72,7 +72,7 @@
     00052 
     00053 /* CANOPEN_BIG_ENDIAN now defined in config.h*/
     00054 #ifndef CANOPEN_BIG_ENDIAN
    -00055 #  define CANOPEN_BIG_ENDIAN 1
    +00055 #  define CANOPEN_BIG_ENDIAN 1
     00056 #endif
     00057 
     00058 
    @@ -82,7 +82,7 @@
     00062 #ifdef USE_PLL
     00063 #  define BUS_CLOCK 24 // If the quartz on the board is 16 MHz. If different, change this value
     00064 #else 
    -00065 #  define BUS_CLOCK 8  // If the quartz on the board is 16 MHz. If different, change this value
    +00065 #  define BUS_CLOCK 8  // If the quartz on the board is 16 MHz. If different, change this value
     00066 #endif
     00067 
     00069 // Tested : 
    @@ -98,8 +98,8 @@
     00079 //   SERIAL_SCI0_BAUD_RATE 57600     BUS_CLOCK 24  Send Failed  Receive not tested
     00080 //   SERIAL_SCI0_BAUD_RATE 115200    BUS_CLOCK 24  Send Failed  Receive not tested
     00081 
    -00082 #define SERIAL_SCI0_BAUD_RATE 38400
    -00083 #define SERIAL_SCI1_BAUD_RATE 9600
    +00082 #define SERIAL_SCI0_BAUD_RATE 38400
    +00083 #define SERIAL_SCI1_BAUD_RATE 9600
     00084 
     00085 
     00086 
    @@ -110,56 +110,56 @@
     00091 // --------------------------------------
     00092 
     00093 
    -00095 extern void initSCI_0 (void);
    +00095 extern void initSCI_0 (void);
     00096 
    -00098 extern void initSCI_1 (void);
    +00098 extern void initSCI_1 (void);
     00099 
     00110 extern char *
    -00111 hex_convert (char *buf, unsigned long value, char lastCar);
    +00111 hex_convert (char *buf, unsigned long value, char lastCar);
     00112 
    -00115 extern void printSCI_str (char sci, const char * str); 
    +00115 extern void printSCI_str (char sci, const char * str); 
     00116 
    -00119 extern void printSCI_nbr (char sci, unsigned long nbr, char lastCar);
    +00119 extern void printSCI_nbr (char sci, unsigned long nbr, char lastCar);
     00120 
    -00123 extern void initPLL (void);
    +00123 extern void initPLL (void);
     00124 
    -00126 extern void initHCS12 (void);
    +00126 extern void initHCS12 (void);
     00127 
     00128 // Integers
    -00129 #define INTEGER8 signed char
    -00130 #define INTEGER16 short
    -00131 #define INTEGER24
    -00132 #define INTEGER32 long
    -00133 #define INTEGER40
    -00134 #define INTEGER48
    -00135 #define INTEGER56
    -00136 #define INTEGER64
    +00129 #define INTEGER8 signed char
    +00130 #define INTEGER16 short
    +00131 #define INTEGER24
    +00132 #define INTEGER32 long
    +00133 #define INTEGER40
    +00134 #define INTEGER48
    +00135 #define INTEGER56
    +00136 #define INTEGER64
     00137  
     00138 // Unsigned integers
    -00139 #define UNS8   unsigned char
    -00140 #define UNS16  unsigned short
    -00141 #define UNS32  unsigned long
    -00142 #define UNS24
    -00143 #define UNS40
    -00144 #define UNS48
    -00145 #define UNS56
    -00146 #define UNS64 
    +00139 #define UNS8   unsigned char
    +00140 #define UNS16  unsigned short
    +00141 #define UNS32  unsigned long
    +00142 #define UNS24
    +00143 #define UNS40
    +00144 #define UNS48
    +00145 #define UNS56
    +00146 #define UNS64 
     00147 
     00148 // Whatever your microcontroller, the timer wont work if 
     00149 // TIMEVAL is not at least on 32 bits
    -00150 #define TIMEVAL UNS32 
    +00150 #define TIMEVAL UNS32 
     00151 
     00152 // The timer of the hcs12 counts from 0000 to 0xFFFF
    -00153 #define TIMEVAL_MAX 0xFFFF
    +00153 #define TIMEVAL_MAX 0xFFFF
     00154 
     00155 // The timer is incrementing every 4 us.
    -00156 #define MS_TO_TIMEVAL(ms) (ms * 250)
    -00157 #define US_TO_TIMEVAL(us) (us>>2)
    +00156 #define MS_TO_TIMEVAL(ms) (ms * 250)
    +00157 #define US_TO_TIMEVAL(us) (us>>2)
     00158 
     00159 
     00160 // Reals
    -00161 #define REAL32  float
    -00162 #define REAL64 double
    +00161 #define REAL32  float
    +00162 #define REAL64 double
     00163 
     00164 #include "can.h"
     00165 
    @@ -173,7 +173,7 @@
     00174           printSCI_str(SCI0, str);            \
     00175           printSCI_nbr(SCI0, val, '\n');      
     00176 #else
    -00177 #    define MSG_ERR(num, str, val)
    +00177 #    define MSG_ERR(num, str, val)
     00178 #endif
     00179 
     00181 // ---------------------
    @@ -185,14 +185,14 @@
     00187         printSCI_str(SCI0, str);            \
     00188         printSCI_nbr(SCI0, val, '\n');      
     00189 #else
    -00190 #    define MSG_WAR(num, str, val)
    +00190 #    define MSG_WAR(num, str, val)
     00191 #endif
     00192 
     00193 
     00194 #endif
     00195 
     00196 
    -

    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