FreeEMS  0.2.0-SNAPSHOT-282-g9efc524
Macros
systemConfig.h File Reference

System configuration defines. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DEFAULT_ID   1
#define TRUCK_ID   2
#define HOTEL_ID   3
#define PRESTO_ID   4
#define SEANKLT1_ID   5
#define SNOTROCKET_ID   7
#define SPUDMN_ID   8
#define SLATER_ID   9
#define PETERJSERIES_ID   10
#define DEUCECOUPE_ID   11
#define PETERTRUCK_ID   12
#define SCAVENGER_ID   15
#define DEUCES10_ID   16
#define CONFIG   DEFAULT_ID
#define PRELIM_CONFIG   "Default"
#define BUILD_CONFIG   PRELIM_CONFIG
#define MAX_NUMBER_OF_OUTPUT_EVENTS   24
#define ECT_CHANNELS   6 /* How many ECT channels the code should support */
#define TX_BUFFER_SIZE   0x0820
 2k of data plus double maximum header overhead for echo
#define RX_BUFFER_SIZE   0x0810
 2k of data plus maximum header overhead
#define ADC_NUMBER_OF_VALUES   1024
 Number of distinct values in 10 bit ADC units.
#define ADC_DIVISIONS   (ADC_NUMBER_OF_VALUES - 1)
 The number of gaps between the values.
#define ADC_MAX_VALUE   (ADC_NUMBER_OF_VALUES - 1)
 The highest value used in our mode.

Detailed Description

System configuration defines.

This holds various hash defined configuration constants and literals.

Definition in file systemConfig.h.

Macro Definition Documentation

#define DEFAULT_ID   1

Definition at line 47 of file systemConfig.h.

#define TRUCK_ID   2

Definition at line 48 of file systemConfig.h.

#define HOTEL_ID   3

Definition at line 49 of file systemConfig.h.

#define PRESTO_ID   4

Definition at line 50 of file systemConfig.h.

#define SEANKLT1_ID   5

Definition at line 51 of file systemConfig.h.

#define SNOTROCKET_ID   7

Definition at line 53 of file systemConfig.h.

#define SPUDMN_ID   8

Definition at line 54 of file systemConfig.h.

#define SLATER_ID   9

Definition at line 55 of file systemConfig.h.

#define PETERJSERIES_ID   10

Definition at line 56 of file systemConfig.h.

#define DEUCECOUPE_ID   11

Definition at line 57 of file systemConfig.h.

#define PETERTRUCK_ID   12

Definition at line 58 of file systemConfig.h.

#define SCAVENGER_ID   15

Definition at line 61 of file systemConfig.h.

#define DEUCES10_ID   16

Definition at line 62 of file systemConfig.h.

#define CONFIG   DEFAULT_ID

Definition at line 165 of file systemConfig.h.

#define PRELIM_CONFIG   "Default"

Definition at line 166 of file systemConfig.h.

#define BUILD_CONFIG   PRELIM_CONFIG

Definition at line 181 of file systemConfig.h.

#define MAX_NUMBER_OF_OUTPUT_EVENTS   24

Definition at line 186 of file systemConfig.h.

Referenced by descheduleAll(), main(), and scheduleOutputs().

#define ECT_CHANNELS   6 /* How many ECT channels the code should support */

Definition at line 187 of file systemConfig.h.

#define TX_BUFFER_SIZE   0x0820

2k of data plus double maximum header overhead for echo

Definition at line 192 of file systemConfig.h.

#define RX_BUFFER_SIZE   0x0810

2k of data plus maximum header overhead

Definition at line 193 of file systemConfig.h.

Referenced by decodePacketAndRespond(), and SCI0ISR().

#define ADC_NUMBER_OF_VALUES   1024

Number of distinct values in 10 bit ADC units.

Definition at line 196 of file systemConfig.h.

#define ADC_DIVISIONS   (ADC_NUMBER_OF_VALUES - 1)

The number of gaps between the values.

Definition at line 197 of file systemConfig.h.

Referenced by generateCoreVars().

#define ADC_MAX_VALUE   (ADC_NUMBER_OF_VALUES - 1)

The highest value used in our mode.

Definition at line 198 of file systemConfig.h.