FreeEMS
0.2.0-SNAPSHOT-285-g028e24c
|
Unique MitsiCAS-4and1 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 10 |
#define | NUMBER_OF_VIRTUAL_EVENTS 10 |
#define | OuterSlotAngle ANGLE( 69.74) |
#define | InnerSlotAngle ANGLE(140.00) |
#define | E0 ANGLE( 0) |
#define | E2 ANGLE(180) |
#define | E4 ANGLE(360) |
#define | E7 ANGLE(540) |
#define | E1 (E0 + OuterSlotAngle) |
#define | E3 (E2 + OuterSlotAngle) |
#define | E5 (E4 + OuterSlotAngle) |
#define | E8 (E7 + OuterSlotAngle) |
#define | E6 ANGLE(525.50) |
#define | E9 (E6 + InnerSlotAngle) |
Variables | |
static unsigned short | edgeTimeStamp |
static LongTime | timeStamp |
unsigned char | unknownLeadingEdges = 0 |
const unsigned short | eventAngles [] = {E0, E1, E2, E3, E4, E5, E6, E7, E8, E9} |
const unsigned char | eventValidForCrankSync [] = {1,1,1,1,1,1,0,1,1,0} |
Unique MitsiCAS-4and1 setup data and variables.
Definition in file MitsiAndMazda-CAS-4and1.h.
#define DECODER_MAX_CODE_TIME 150 |
Definition at line 36 of file MitsiAndMazda-CAS-4and1.h.
#define NUMBER_OF_REAL_EVENTS 10 |
Definition at line 37 of file MitsiAndMazda-CAS-4and1.h.
#define NUMBER_OF_VIRTUAL_EVENTS 10 |
Definition at line 38 of file MitsiAndMazda-CAS-4and1.h.
#define OuterSlotAngle ANGLE( 69.74) |
Definition at line 54 of file MitsiAndMazda-CAS-4and1.h.
#define InnerSlotAngle ANGLE(140.00) |
Definition at line 55 of file MitsiAndMazda-CAS-4and1.h.
#define E0 ANGLE( 0) |
Definition at line 58 of file MitsiAndMazda-CAS-4and1.h.
#define E2 ANGLE(180) |
Definition at line 59 of file MitsiAndMazda-CAS-4and1.h.
#define E4 ANGLE(360) |
Definition at line 60 of file MitsiAndMazda-CAS-4and1.h.
#define E7 ANGLE(540) |
Definition at line 61 of file MitsiAndMazda-CAS-4and1.h.
#define E1 (E0 + OuterSlotAngle) |
Definition at line 64 of file MitsiAndMazda-CAS-4and1.h.
#define E3 (E2 + OuterSlotAngle) |
Definition at line 65 of file MitsiAndMazda-CAS-4and1.h.
#define E5 (E4 + OuterSlotAngle) |
Definition at line 66 of file MitsiAndMazda-CAS-4and1.h.
#define E8 (E7 + OuterSlotAngle) |
Definition at line 67 of file MitsiAndMazda-CAS-4and1.h.
#define E6 ANGLE(525.50) |
Definition at line 70 of file MitsiAndMazda-CAS-4and1.h.
#define E9 (E6 + InnerSlotAngle) |
Definition at line 71 of file MitsiAndMazda-CAS-4and1.h.
|
static |
Definition at line 48 of file MitsiAndMazda-CAS-4and1.h.
Referenced by InjectorXISR(), main(), PrimaryRPMISR(), and SecondaryRPMISR().
|
static |
Definition at line 49 of file MitsiAndMazda-CAS-4and1.h.
Referenced by InjectorXISR(), main(), PrimaryRPMISR(), and SecondaryRPMISR().
unsigned char unknownLeadingEdges = 0 |
Definition at line 50 of file MitsiAndMazda-CAS-4and1.h.
Referenced by perDecoderReset(), and PrimaryRPMISR().
Definition at line 75 of file MitsiAndMazda-CAS-4and1.h.
const unsigned char eventValidForCrankSync[] = {1,1,1,1,1,1,0,1,1,0} |
Definition at line 76 of file MitsiAndMazda-CAS-4and1.h.