Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
9 | mjames | 1 | #include "libIgnTiming/timing.h" |
2 | |||
3 | #if defined __cplusplus |
||
4 | extern "C" |
||
5 | { |
||
6 | #endif |
||
7 | |||
8 | // lookup EDIS timing in microseconds based on timing angle scaled in |
||
9 | // local timing units being timing in degrees multiplied by TIMING_SCALE |
||
10 | |||
11 | // 0 degrees = 1536 uS |
||
12 | // -10 degrees = 1792 uS |
||
13 | // 60 degrees = 0 uS but limited to 64uS min = 57.5 degrees |
||
14 | // add 2048 uS for multispark (use below 1200 rpm/cranking) |
||
15 | |||
16 | int mapTimingToMicroseconds(int timing, unsigned char multispark); |
||
17 | #if defined __cplusplus |
||
18 | } |
||
19 | #endif |