FreeEMS  0.2.0-SNAPSHOT-282-g9efc524
Macros | Variables
BenchTest.h File Reference

Contains bench test only vars and defines etc. More...

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

Go to the source code of this file.

Macros

#define EXTERN   extern
#define TEST_MODE_STOP   0
#define TEST_MODE_ITERATIONS   1
#define TEST_MODE_BUMP_UP_CYCLES   2
#define TEST_MODE_DODGY_MISSING_TOOTH   TEST_MODE_BUMP_UP_CYCLES
#define TEST_MODE_TIME_UNITS_SECONDS   3
#define TEST_MODE_TIME_UNITS_MINUTES   4
#define TEST_MODE_TIME_UNITS_HOURS   5
#define TEST_MODE_REVOLUTIONS   6
#define TEST_MODE_REVOLUTIONS_12_1   7
#define TEST_MODE_REVOLUTIONS_24_1   8
#define TEST_MODE_REVOLUTIONS_36_1   9
#define TEST_MODE_REVOLUTIONS_60_2   10
#define TEST_MODE_REVOLUTIONS_4and1   11
#define TEST_MODE_REVOLUTIONS_4and2   12
#define TEST_MODE_REVOLUTIONS_24and1   13
#define TEST_MODE_REVOLUTIONS_24and2   14
#define TEST_MODE_REVOLUTIONS_LT1   15

Variables

EXTERN unsigned short testTicksPerEvent
EXTERN unsigned short testNumberOfCycles
EXTERN unsigned char testEventsPerCycle
EXTERN unsigned char testNumberOfMissing
EXTERN unsigned char testMode

Detailed Description

Contains bench test only vars and defines etc.

To add a file to the project :

Definition in file BenchTest.h.

Macro Definition Documentation

#define EXTERN   extern

Definition at line 55 of file BenchTest.h.

#define TEST_MODE_STOP   0

Definition at line 64 of file BenchTest.h.

Referenced by decodePacketAndRespond().

#define TEST_MODE_ITERATIONS   1

Definition at line 65 of file BenchTest.h.

Referenced by decodePacketAndRespond(), and PrimaryRPMISR().

#define TEST_MODE_BUMP_UP_CYCLES   2

Definition at line 66 of file BenchTest.h.

Referenced by decodePacketAndRespond().

#define TEST_MODE_DODGY_MISSING_TOOTH   TEST_MODE_BUMP_UP_CYCLES

Definition at line 67 of file BenchTest.h.

Referenced by decodePacketAndRespond(), and PrimaryRPMISR().

#define TEST_MODE_TIME_UNITS_SECONDS   3

Definition at line 68 of file BenchTest.h.

Referenced by PrimaryRPMISR().

#define TEST_MODE_TIME_UNITS_MINUTES   4

Definition at line 69 of file BenchTest.h.

Referenced by PrimaryRPMISR().

#define TEST_MODE_TIME_UNITS_HOURS   5

Definition at line 70 of file BenchTest.h.

Referenced by PrimaryRPMISR().

#define TEST_MODE_REVOLUTIONS   6

Definition at line 71 of file BenchTest.h.

Referenced by PrimaryRPMISR().

#define TEST_MODE_REVOLUTIONS_12_1   7

Definition at line 72 of file BenchTest.h.

#define TEST_MODE_REVOLUTIONS_24_1   8

Definition at line 73 of file BenchTest.h.

#define TEST_MODE_REVOLUTIONS_36_1   9

Definition at line 74 of file BenchTest.h.

#define TEST_MODE_REVOLUTIONS_60_2   10

Definition at line 75 of file BenchTest.h.

#define TEST_MODE_REVOLUTIONS_4and1   11

Definition at line 76 of file BenchTest.h.

#define TEST_MODE_REVOLUTIONS_4and2   12

Definition at line 77 of file BenchTest.h.

#define TEST_MODE_REVOLUTIONS_24and1   13

Definition at line 78 of file BenchTest.h.

#define TEST_MODE_REVOLUTIONS_24and2   14

Definition at line 79 of file BenchTest.h.

#define TEST_MODE_REVOLUTIONS_LT1   15

Definition at line 80 of file BenchTest.h.

Variable Documentation

EXTERN unsigned short testTicksPerEvent

Definition at line 59 of file BenchTest.h.

Referenced by decodePacketAndRespond(), and PrimaryRPMISR().

EXTERN unsigned short testNumberOfCycles

Definition at line 60 of file BenchTest.h.

Referenced by decodePacketAndRespond(), and PrimaryRPMISR().

EXTERN unsigned char testEventsPerCycle

Definition at line 61 of file BenchTest.h.

Referenced by decodePacketAndRespond(), and PrimaryRPMISR().

EXTERN unsigned char testNumberOfMissing

Definition at line 62 of file BenchTest.h.

Referenced by decodePacketAndRespond(), and PrimaryRPMISR().

EXTERN unsigned char testMode

Definition at line 63 of file BenchTest.h.

Referenced by decodePacketAndRespond(), and PrimaryRPMISR().