FreeEMS
0.2.0-SNAPSHOT-285-g028e24c
|
Unique MitsiCAS-4and2 setup data and variables. More...
#include "../../inc/freeEMS.h"
#include "../../inc/utils.h"
#include "../../inc/interrupts.h"
#include "../../inc/decoderInterface.h"
Go to the source code of this file.
Macros | |
#define | DECODER_MAX_CODE_TIME 150 |
#define | NUMBER_OF_REAL_EVENTS 12 |
#define | NUMBER_OF_VIRTUAL_EVENTS 12 |
#define | OuterSlotAngle ANGLE( 69.74) |
#define | LargeInnerSlotAngle ANGLE(140.00) |
#define | SmallInnerSlotAngle ANGLE(70.00) |
#define | E0 ANGLE( 0) |
#define | E3 ANGLE(180) |
#define | E6 ANGLE(360) |
#define | E9 ANGLE(540) |
#define | E1 (E0 + OuterSlotAngle) |
#define | E5 (E3 + OuterSlotAngle) |
#define | E7 (E6 + OuterSlotAngle) |
#define | E10 (E9 + OuterSlotAngle) |
#define | E8 ANGLE(525.50) |
#define | E11 (E8 + LargeInnerSlotAngle) |
#define | E2 E8 - ANGLE(360) |
#define | E4 (E2 + SmallInnerSlotAngle) |
Variables | |
static unsigned short | edgeTimeStamp |
static LongTime | timeStamp |
unsigned char | doubleHighSeen = 0 |
const unsigned short | eventAngles [] = {E0, E1, E2, E3, E4, E5, E6, E7, E8, E9, E10, E11} |
const unsigned char | eventValidForCrankSync [] = {1,1,1,1,1,1,0,1,1,0} |
Unique MitsiCAS-4and2 setup data and variables.
Development thread: http://forum.diyefi.org/viewtopic.php?f=56&t=1110
Definition in file MitsiAndMazda-CAS-4and2.h.
#define DECODER_MAX_CODE_TIME 150 |
Definition at line 38 of file MitsiAndMazda-CAS-4and2.h.
#define NUMBER_OF_REAL_EVENTS 12 |
Definition at line 39 of file MitsiAndMazda-CAS-4and2.h.
#define NUMBER_OF_VIRTUAL_EVENTS 12 |
Definition at line 40 of file MitsiAndMazda-CAS-4and2.h.
#define OuterSlotAngle ANGLE( 69.74) |
Definition at line 56 of file MitsiAndMazda-CAS-4and2.h.
#define LargeInnerSlotAngle ANGLE(140.00) |
Definition at line 57 of file MitsiAndMazda-CAS-4and2.h.
#define SmallInnerSlotAngle ANGLE(70.00) |
Definition at line 58 of file MitsiAndMazda-CAS-4and2.h.
#define E0 ANGLE( 0) |
Definition at line 61 of file MitsiAndMazda-CAS-4and2.h.
#define E3 ANGLE(180) |
Definition at line 62 of file MitsiAndMazda-CAS-4and2.h.
#define E6 ANGLE(360) |
Definition at line 63 of file MitsiAndMazda-CAS-4and2.h.
#define E9 ANGLE(540) |
Definition at line 64 of file MitsiAndMazda-CAS-4and2.h.
#define E1 (E0 + OuterSlotAngle) |
Definition at line 67 of file MitsiAndMazda-CAS-4and2.h.
#define E5 (E3 + OuterSlotAngle) |
Definition at line 68 of file MitsiAndMazda-CAS-4and2.h.
#define E7 (E6 + OuterSlotAngle) |
Definition at line 69 of file MitsiAndMazda-CAS-4and2.h.
#define E10 (E9 + OuterSlotAngle) |
Definition at line 70 of file MitsiAndMazda-CAS-4and2.h.
#define E8 ANGLE(525.50) |
Definition at line 73 of file MitsiAndMazda-CAS-4and2.h.
#define E11 (E8 + LargeInnerSlotAngle) |
Definition at line 74 of file MitsiAndMazda-CAS-4and2.h.
Definition at line 77 of file MitsiAndMazda-CAS-4and2.h.
#define E4 (E2 + SmallInnerSlotAngle) |
Definition at line 78 of file MitsiAndMazda-CAS-4and2.h.
|
static |
Definition at line 50 of file MitsiAndMazda-CAS-4and2.h.
|
static |
Definition at line 51 of file MitsiAndMazda-CAS-4and2.h.
unsigned char doubleHighSeen = 0 |
Definition at line 52 of file MitsiAndMazda-CAS-4and2.h.
Referenced by perDecoderReset(), and PrimaryRPMISR().
Definition at line 82 of file MitsiAndMazda-CAS-4and2.h.
const unsigned char eventValidForCrankSync[] = {1,1,1,1,1,1,0,1,1,0} |
Definition at line 83 of file MitsiAndMazda-CAS-4and2.h.