TestDoxygen  1.0.21
Test for Doxygen
TestMAX7456/config.h
Go to the documentation of this file.
00001 
00008 /*
00009   Created 101103 by JR
00010 
00011   MRU 111006
00012   111006 Added Doxygen comments
00013   101122 Added file config_rules.h to test the config
00014   101121 Removed restriction that SIMULATOR can only transmit
00015     sentences and RECEIVER can only receive sentences
00016 
00017 */
00018 #ifndef _CONFIG_H
00019   #define _CONFIG_H
00020 #include "options.h"
00021 
00026 #define PGMFUNCTION RECEIVER
00027 
00029 #define HARDWARE JR_DEFS
00030 
00031 #define   GPS
00032 
00033 #define   LWTIME
00034 
00039 #define DOGMDISPLAY     /* DOGM display */
00040 /* If DOGMDISPLAY is defined, specify the following symbols */
00041 #ifdef DOGMDISPLAY      /* Only DOGM162 at the moment */
00042   #define DOGMTYPE DOGM162  /* one of DOGM161, DOGM162, DOGM163 DOGM81 */
00043 
00046   #define DOGMINTERFACE DOGMSPI
00047 
00050   #define DOGMSUPPLY DOGM5V
00051 #endif /* DOGMDISPLAY */
00052 
00054 #define CONTROLS
00055 
00059 #define VTIDEVICE MAX7456OSD
00060 
00063 #undef CANON_TIMER      /* Canon shutter control */
00064 
00069 #define GPSMODEL GARMINLVC18x   /* GPS device type */
00070 
00071 #if (PGMFUNCTION == RECEIVER)
00072   #ifdef GPS
00073     #define GPSRCV
00074     #define RX_RS232
00075   #endif /* GPS */
00076   #ifdef LWTIME
00077 
00082     #define LWDEFSIGNAL UNDEFTX   /* auto detect transmitter */
00083     #define LW_RCV      
00084 /* define one or more transmitters */
00085     #define DCF77       
00086     #undef MSF          
00087     #undef  WWVB        
00088     #undef  JJY         
00089   #endif /* LWTIME */
00090 
00093   #undef TX_RS232
00094 #endif /* RECEIVER */
00095 
00096 #if (PGMFUNCTION == SIMULATOR)
00097   #ifdef GPS
00098     #define GPSSIM
00099     #define TX_RS232
00100   #endif /* GPS */
00101   #ifdef LWTIME
00102 
00105     #define LWDEFSIGNAL DCF77 
00106     #define LW_SIM      /* Simulate LW signal */
00107 
00108     #define DCF77       
00109     #undef  MSF         
00110     #undef  WWVB        
00111     #undef  JJY         
00112   #endif /* LWTIME */
00113 /* If the simulator should also receive sentences, then define RX_RS232 */
00114   #undef RX_RS232
00115 #endif /* SIMULATOR */
00116 
00118 #define F_CPU 18432000
00119 
00125 #define PREDIV 1024
00126 
00132 /*                   1234567890123456 */
00133 #define DEFSITENAME "A37 MUEGGELHEIM "
00134 
00135 /* Defines for debugging code */
00136 #undef DEBUGOSD
00137 /* For recording leading LW flank */
00138 #undef  DEBUGLWPULSE
00139 /* Define none or one of DEBUGLWDRIFT or DEBUGPPSDRIFT */
00140 #undef  DEBUGLWDRIFT
00141 #undef DEBUGPPSDRIFT
00142 #undef  DEBUGMAX7456
00143 
00144 /* config_rules.h checks the configuration */
00145 #include "config_rules.h"
00146 
00147 #endif  /* _CONFIG_H */
 All Data Structures Files Functions Variables Enumerations Defines