FreeEMS  0.2.0-SNAPSHOT-282-g9efc524
Macros | Variables

For evenly spaced teeth on the cam or crank with a single second input. More...

#include "../../inc/freeEMS.h"
#include "../../inc/utils.h"
#include "../../inc/interrupts.h"
#include "../../inc/decoderInterface.h"
Include dependency graph for EvenTeeth-Xand1.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DECODER_MAX_CODE_TIME   150
#define E0   0
#define E1   ANGLE_BETWEEN_EVENTS
#define E2   ( E1 + ANGLE_BETWEEN_EVENTS)
#define E3   ( E2 + ANGLE_BETWEEN_EVENTS)
#define E4   ( E3 + ANGLE_BETWEEN_EVENTS)
#define E5   ( E4 + ANGLE_BETWEEN_EVENTS)
#define E6   ( E5 + ANGLE_BETWEEN_EVENTS)
#define E7   ( E6 + ANGLE_BETWEEN_EVENTS)
#define E8   ( E7 + ANGLE_BETWEEN_EVENTS)
#define E9   ( E8 + ANGLE_BETWEEN_EVENTS)
#define E10   ( E9 + ANGLE_BETWEEN_EVENTS)
#define E11   ( E10 + ANGLE_BETWEEN_EVENTS)
#define E12   ( E11 + ANGLE_BETWEEN_EVENTS)
#define E13   ( E12 + ANGLE_BETWEEN_EVENTS)
#define E14   ( E13 + ANGLE_BETWEEN_EVENTS)
#define E15   ( E14 + ANGLE_BETWEEN_EVENTS)
#define E16   ( E15 + ANGLE_BETWEEN_EVENTS)
#define E17   ( E16 + ANGLE_BETWEEN_EVENTS)
#define E18   ( E17 + ANGLE_BETWEEN_EVENTS)
#define E19   ( E18 + ANGLE_BETWEEN_EVENTS)
#define E20   ( E19 + ANGLE_BETWEEN_EVENTS)
#define E21   ( E20 + ANGLE_BETWEEN_EVENTS)
#define E22   ( E21 + ANGLE_BETWEEN_EVENTS)
#define E23   ( E22 + ANGLE_BETWEEN_EVENTS)
#define E24   ( E23 + ANGLE_BETWEEN_EVENTS)
#define E25   ( E24 + ANGLE_BETWEEN_EVENTS)
#define E26   ( E25 + ANGLE_BETWEEN_EVENTS)
#define E27   ( E26 + ANGLE_BETWEEN_EVENTS)
#define E28   ( E27 + ANGLE_BETWEEN_EVENTS)
#define E29   ( E28 + ANGLE_BETWEEN_EVENTS)
#define E30   ( E29 + ANGLE_BETWEEN_EVENTS)
#define E31   ( E30 + ANGLE_BETWEEN_EVENTS)
#define E32   ( E31 + ANGLE_BETWEEN_EVENTS)
#define E33   ( E32 + ANGLE_BETWEEN_EVENTS)
#define E34   ( E33 + ANGLE_BETWEEN_EVENTS)
#define E35   ( E34 + ANGLE_BETWEEN_EVENTS)
#define E36   ( E35 + ANGLE_BETWEEN_EVENTS)
#define E37   ( E36 + ANGLE_BETWEEN_EVENTS)
#define E38   ( E37 + ANGLE_BETWEEN_EVENTS)
#define E39   ( E38 + ANGLE_BETWEEN_EVENTS)
#define E40   ( E39 + ANGLE_BETWEEN_EVENTS)
#define E41   ( E40 + ANGLE_BETWEEN_EVENTS)
#define E42   ( E41 + ANGLE_BETWEEN_EVENTS)
#define E43   ( E42 + ANGLE_BETWEEN_EVENTS)
#define E44   ( E43 + ANGLE_BETWEEN_EVENTS)
#define E45   ( E44 + ANGLE_BETWEEN_EVENTS)
#define E46   ( E45 + ANGLE_BETWEEN_EVENTS)
#define E47   ( E46 + ANGLE_BETWEEN_EVENTS)
#define E48   ( E47 + ANGLE_BETWEEN_EVENTS)
#define E49   ( E48 + ANGLE_BETWEEN_EVENTS)
#define E50   ( E49 + ANGLE_BETWEEN_EVENTS)
#define E51   ( E50 + ANGLE_BETWEEN_EVENTS)
#define E52   ( E51 + ANGLE_BETWEEN_EVENTS)
#define E53   ( E52 + ANGLE_BETWEEN_EVENTS)
#define E54   ( E53 + ANGLE_BETWEEN_EVENTS)
#define E55   ( E54 + ANGLE_BETWEEN_EVENTS)
#define E56   ( E55 + ANGLE_BETWEEN_EVENTS)
#define E57   ( E56 + ANGLE_BETWEEN_EVENTS)
#define E58   ( E57 + ANGLE_BETWEEN_EVENTS)
#define E59   ( E58 + ANGLE_BETWEEN_EVENTS)
#define E60   ( E59 + ANGLE_BETWEEN_EVENTS)
#define E61   ( E60 + ANGLE_BETWEEN_EVENTS)
#define E62   ( E61 + ANGLE_BETWEEN_EVENTS)
#define E63   ( E62 + ANGLE_BETWEEN_EVENTS)

Variables

const unsigned short eventAngles []

Detailed Description

For evenly spaced teeth on the cam or crank with a single second input.

Fill out a data reverse header and include this file. Sync is provided by the second input allowing a sequential and/or COP/CNP setup to be used.

VR edition with only one edge used!

Definition in file EvenTeeth-Xand1.h.

Macro Definition Documentation

#define DECODER_MAX_CODE_TIME   150

Definition at line 41 of file EvenTeeth-Xand1.h.

#define E0   0

Definition at line 95 of file EvenTeeth-Xand1.h.

#define E1   ANGLE_BETWEEN_EVENTS

Definition at line 96 of file EvenTeeth-Xand1.h.

#define E2   ( E1 + ANGLE_BETWEEN_EVENTS)

Definition at line 97 of file EvenTeeth-Xand1.h.

#define E3   ( E2 + ANGLE_BETWEEN_EVENTS)

Definition at line 98 of file EvenTeeth-Xand1.h.

#define E4   ( E3 + ANGLE_BETWEEN_EVENTS)

Definition at line 99 of file EvenTeeth-Xand1.h.

#define E5   ( E4 + ANGLE_BETWEEN_EVENTS)

Definition at line 100 of file EvenTeeth-Xand1.h.

#define E6   ( E5 + ANGLE_BETWEEN_EVENTS)

Definition at line 101 of file EvenTeeth-Xand1.h.

#define E7   ( E6 + ANGLE_BETWEEN_EVENTS)

Definition at line 102 of file EvenTeeth-Xand1.h.

#define E8   ( E7 + ANGLE_BETWEEN_EVENTS)

Definition at line 103 of file EvenTeeth-Xand1.h.

#define E9   ( E8 + ANGLE_BETWEEN_EVENTS)

Definition at line 104 of file EvenTeeth-Xand1.h.

#define E10   ( E9 + ANGLE_BETWEEN_EVENTS)

Definition at line 105 of file EvenTeeth-Xand1.h.

#define E11   ( E10 + ANGLE_BETWEEN_EVENTS)

Definition at line 106 of file EvenTeeth-Xand1.h.

#define E12   ( E11 + ANGLE_BETWEEN_EVENTS)

Definition at line 107 of file EvenTeeth-Xand1.h.

#define E13   ( E12 + ANGLE_BETWEEN_EVENTS)

Definition at line 108 of file EvenTeeth-Xand1.h.

#define E14   ( E13 + ANGLE_BETWEEN_EVENTS)

Definition at line 109 of file EvenTeeth-Xand1.h.

#define E15   ( E14 + ANGLE_BETWEEN_EVENTS)

Definition at line 110 of file EvenTeeth-Xand1.h.

#define E16   ( E15 + ANGLE_BETWEEN_EVENTS)

Definition at line 111 of file EvenTeeth-Xand1.h.

#define E17   ( E16 + ANGLE_BETWEEN_EVENTS)

Definition at line 112 of file EvenTeeth-Xand1.h.

#define E18   ( E17 + ANGLE_BETWEEN_EVENTS)

Definition at line 113 of file EvenTeeth-Xand1.h.

#define E19   ( E18 + ANGLE_BETWEEN_EVENTS)

Definition at line 114 of file EvenTeeth-Xand1.h.

#define E20   ( E19 + ANGLE_BETWEEN_EVENTS)

Definition at line 115 of file EvenTeeth-Xand1.h.

#define E21   ( E20 + ANGLE_BETWEEN_EVENTS)

Definition at line 116 of file EvenTeeth-Xand1.h.

#define E22   ( E21 + ANGLE_BETWEEN_EVENTS)

Definition at line 117 of file EvenTeeth-Xand1.h.

#define E23   ( E22 + ANGLE_BETWEEN_EVENTS)

Definition at line 118 of file EvenTeeth-Xand1.h.

#define E24   ( E23 + ANGLE_BETWEEN_EVENTS)

Definition at line 119 of file EvenTeeth-Xand1.h.

#define E25   ( E24 + ANGLE_BETWEEN_EVENTS)

Definition at line 120 of file EvenTeeth-Xand1.h.

#define E26   ( E25 + ANGLE_BETWEEN_EVENTS)

Definition at line 121 of file EvenTeeth-Xand1.h.

#define E27   ( E26 + ANGLE_BETWEEN_EVENTS)

Definition at line 122 of file EvenTeeth-Xand1.h.

#define E28   ( E27 + ANGLE_BETWEEN_EVENTS)

Definition at line 123 of file EvenTeeth-Xand1.h.

#define E29   ( E28 + ANGLE_BETWEEN_EVENTS)

Definition at line 124 of file EvenTeeth-Xand1.h.

#define E30   ( E29 + ANGLE_BETWEEN_EVENTS)

Definition at line 125 of file EvenTeeth-Xand1.h.

#define E31   ( E30 + ANGLE_BETWEEN_EVENTS)

Definition at line 126 of file EvenTeeth-Xand1.h.

#define E32   ( E31 + ANGLE_BETWEEN_EVENTS)

Definition at line 127 of file EvenTeeth-Xand1.h.

#define E33   ( E32 + ANGLE_BETWEEN_EVENTS)

Definition at line 128 of file EvenTeeth-Xand1.h.

#define E34   ( E33 + ANGLE_BETWEEN_EVENTS)

Definition at line 129 of file EvenTeeth-Xand1.h.

#define E35   ( E34 + ANGLE_BETWEEN_EVENTS)

Definition at line 130 of file EvenTeeth-Xand1.h.

#define E36   ( E35 + ANGLE_BETWEEN_EVENTS)

Definition at line 131 of file EvenTeeth-Xand1.h.

#define E37   ( E36 + ANGLE_BETWEEN_EVENTS)

Definition at line 132 of file EvenTeeth-Xand1.h.

#define E38   ( E37 + ANGLE_BETWEEN_EVENTS)

Definition at line 133 of file EvenTeeth-Xand1.h.

#define E39   ( E38 + ANGLE_BETWEEN_EVENTS)

Definition at line 134 of file EvenTeeth-Xand1.h.

#define E40   ( E39 + ANGLE_BETWEEN_EVENTS)

Definition at line 135 of file EvenTeeth-Xand1.h.

#define E41   ( E40 + ANGLE_BETWEEN_EVENTS)

Definition at line 136 of file EvenTeeth-Xand1.h.

#define E42   ( E41 + ANGLE_BETWEEN_EVENTS)

Definition at line 137 of file EvenTeeth-Xand1.h.

#define E43   ( E42 + ANGLE_BETWEEN_EVENTS)

Definition at line 138 of file EvenTeeth-Xand1.h.

#define E44   ( E43 + ANGLE_BETWEEN_EVENTS)

Definition at line 139 of file EvenTeeth-Xand1.h.

#define E45   ( E44 + ANGLE_BETWEEN_EVENTS)

Definition at line 140 of file EvenTeeth-Xand1.h.

#define E46   ( E45 + ANGLE_BETWEEN_EVENTS)

Definition at line 141 of file EvenTeeth-Xand1.h.

#define E47   ( E46 + ANGLE_BETWEEN_EVENTS)

Definition at line 142 of file EvenTeeth-Xand1.h.

#define E48   ( E47 + ANGLE_BETWEEN_EVENTS)

Definition at line 143 of file EvenTeeth-Xand1.h.

#define E49   ( E48 + ANGLE_BETWEEN_EVENTS)

Definition at line 144 of file EvenTeeth-Xand1.h.

#define E50   ( E49 + ANGLE_BETWEEN_EVENTS)

Definition at line 145 of file EvenTeeth-Xand1.h.

#define E51   ( E50 + ANGLE_BETWEEN_EVENTS)

Definition at line 146 of file EvenTeeth-Xand1.h.

#define E52   ( E51 + ANGLE_BETWEEN_EVENTS)

Definition at line 147 of file EvenTeeth-Xand1.h.

#define E53   ( E52 + ANGLE_BETWEEN_EVENTS)

Definition at line 148 of file EvenTeeth-Xand1.h.

#define E54   ( E53 + ANGLE_BETWEEN_EVENTS)

Definition at line 149 of file EvenTeeth-Xand1.h.

#define E55   ( E54 + ANGLE_BETWEEN_EVENTS)

Definition at line 150 of file EvenTeeth-Xand1.h.

#define E56   ( E55 + ANGLE_BETWEEN_EVENTS)

Definition at line 151 of file EvenTeeth-Xand1.h.

#define E57   ( E56 + ANGLE_BETWEEN_EVENTS)

Definition at line 152 of file EvenTeeth-Xand1.h.

#define E58   ( E57 + ANGLE_BETWEEN_EVENTS)

Definition at line 153 of file EvenTeeth-Xand1.h.

#define E59   ( E58 + ANGLE_BETWEEN_EVENTS)

Definition at line 154 of file EvenTeeth-Xand1.h.

#define E60   ( E59 + ANGLE_BETWEEN_EVENTS)

Definition at line 155 of file EvenTeeth-Xand1.h.

#define E61   ( E60 + ANGLE_BETWEEN_EVENTS)

Definition at line 156 of file EvenTeeth-Xand1.h.

#define E62   ( E61 + ANGLE_BETWEEN_EVENTS)

Definition at line 157 of file EvenTeeth-Xand1.h.

#define E63   ( E62 + ANGLE_BETWEEN_EVENTS)

Definition at line 158 of file EvenTeeth-Xand1.h.

Variable Documentation

const unsigned short eventAngles[]

Definition at line 161 of file EvenTeeth-Xand1.h.