#include "inc/freeEMS.h"
Include dependency graph for globalConstants.c:
Go to the source code of this file.
Defines | |
#define | NO_CONST_ARRAYS |
Variables | |
const unsigned short | memdumplength = 0x100 |
const unsigned short | maxBasicDatalogLength = sizeof(CoreVar) + sizeof(DerivedVar) + sizeof(ADCArray) |
const unsigned char | interfaceVersionAndType [20] = {0,0,2,'I','F','r','e','e','E','M','S',' ','V','a','n','i','l','l','a',0} |
const unsigned char | firmwareVersion [47] = {"FreeEMS Vanilla 0.0.18 JackTheRipper pre-alpha"} |
const unsigned long | masterFuelConstant = 139371764 |
const unsigned long | MAFFuelConstant = 0 |
const unsigned short | injectorSwitchOnCodeTime = 100 |
const unsigned short | injectorSwitchOffCodeTime = 100 |
const unsigned short | injectorMaximumPulseWidth = 0xF424 |
const unsigned short | injectorMinimumPulseWidth = 100 |
const unsigned short | ignitionMaximumDwell = 50000 |
const unsigned short | ignitionMinimumDwell = 500 |
const unsigned short | ignitionMaximumDelayToDwellStartAfterTooth = 50000 |
const unsigned short | ignitionMinimumDelayToDwellStartAfterTooth = 500 |
const unsigned short | leadingEdgePrimaryRPMInputCodeTime = 100 |
const unsigned short | trailingEdgePrimaryRPMInputCodeTime = 100 |
const unsigned short | leadingEdgeSecondaryRPMInputCodeTime = 100 |
const unsigned short | trailingEdgeSecondaryRPMInputCodeTime = 100 |
const unsigned short | dwellStartMasks [IGNITION_CHANNELS] = { BIT8_16, BIT9_16, BIT10_16, BIT11_16, BIT12_16, BIT13_16, BIT14_16, BIT15_16, BIT0_16, BIT1_16, BIT2_16, BIT3_16} |
const unsigned short | ignitionMasks [IGNITION_CHANNELS] = {NBIT8_16,NBIT9_16,NBIT10_16,NBIT11_16,NBIT12_16,NBIT13_16,NBIT14_16,NBIT15_16,NBIT0_16,NBIT1_16,NBIT2_16,NBIT3_16} |
const unsigned char | injectorMainOnMasks [INJECTION_CHANNELS] = {BIT2, BIT3, BIT4, BIT5, BIT6, BIT7} |
const unsigned char | injectorMainOffMasks [INJECTION_CHANNELS] = {NBIT2, NBIT3, NBIT4, NBIT5, NBIT6, NBIT7} |
const unsigned char | injectorMainEnableMasks [INJECTION_CHANNELS] = {0x30, 0xC0, 0x03, 0x0C, 0x30, 0xC0} |
const unsigned char | injectorMainDisableMasks [INJECTION_CHANNELS] = {0xCF, 0x3F, 0xFC, 0xF3, 0xCF, 0x3F} |
const unsigned char | injectorMainGoHighMasks [INJECTION_CHANNELS] = {BIT4, BIT6, BIT0, BIT2, BIT4, BIT6} |
const unsigned char | injectorMainGoLowMasks [INJECTION_CHANNELS] = {NBIT4, NBIT6, NBIT0, NBIT2, NBIT4, NBIT6} |
#define NO_CONST_ARRAYS |
Definition at line 25 of file globalConstants.c.
const unsigned short dwellStartMasks[IGNITION_CHANNELS] = { BIT8_16, BIT9_16, BIT10_16, BIT11_16, BIT12_16, BIT13_16, BIT14_16, BIT15_16, BIT0_16, BIT1_16, BIT2_16, BIT3_16} |
const unsigned char firmwareVersion[47] = {"FreeEMS Vanilla 0.0.18 JackTheRipper pre-alpha"} |
const unsigned short ignitionMasks[IGNITION_CHANNELS] = {NBIT8_16,NBIT9_16,NBIT10_16,NBIT11_16,NBIT12_16,NBIT13_16,NBIT14_16,NBIT15_16,NBIT0_16,NBIT1_16,NBIT2_16,NBIT3_16} |
const unsigned short ignitionMaximumDelayToDwellStartAfterTooth = 50000 |
Definition at line 103 of file globalConstants.c.
const unsigned short ignitionMaximumDwell = 50000 |
Definition at line 97 of file globalConstants.c.
const unsigned short ignitionMinimumDelayToDwellStartAfterTooth = 500 |
Definition at line 106 of file globalConstants.c.
const unsigned short ignitionMinimumDwell = 500 |
Definition at line 100 of file globalConstants.c.
const unsigned char injectorMainDisableMasks[INJECTION_CHANNELS] = {0xCF, 0x3F, 0xFC, 0xF3, 0xCF, 0x3F} |
const unsigned char injectorMainEnableMasks[INJECTION_CHANNELS] = {0x30, 0xC0, 0x03, 0x0C, 0x30, 0xC0} |
const unsigned char injectorMainGoHighMasks[INJECTION_CHANNELS] = {BIT4, BIT6, BIT0, BIT2, BIT4, BIT6} |
const unsigned char injectorMainGoLowMasks[INJECTION_CHANNELS] = {NBIT4, NBIT6, NBIT0, NBIT2, NBIT4, NBIT6} |
const unsigned char injectorMainOffMasks[INJECTION_CHANNELS] = {NBIT2, NBIT3, NBIT4, NBIT5, NBIT6, NBIT7} |
const unsigned char injectorMainOnMasks[INJECTION_CHANNELS] = {BIT2, BIT3, BIT4, BIT5, BIT6, BIT7} |
Definition at line 141 of file globalConstants.c.
Referenced by InjectorXISR(), and PrimaryRPMISR().
const unsigned short injectorMaximumPulseWidth = 0xF424 |
Definition at line 89 of file globalConstants.c.
const unsigned short injectorMinimumPulseWidth = 100 |
const unsigned short injectorSwitchOffCodeTime = 100 |
const unsigned short injectorSwitchOnCodeTime = 100 |
const unsigned char interfaceVersionAndType[20] = {0,0,2,'I','F','r','e','e','E','M','S',' ','V','a','n','i','l','l','a',0} |
const unsigned short leadingEdgePrimaryRPMInputCodeTime = 100 |
Definition at line 111 of file globalConstants.c.
const unsigned short leadingEdgeSecondaryRPMInputCodeTime = 100 |
Definition at line 117 of file globalConstants.c.
const unsigned long MAFFuelConstant = 0 |
Definition at line 79 of file globalConstants.c.
const unsigned long masterFuelConstant = 139371764 |
const unsigned short maxBasicDatalogLength = sizeof(CoreVar) + sizeof(DerivedVar) + sizeof(ADCArray) |
Definition at line 42 of file globalConstants.c.
Referenced by decodePacketAndRespond(), and initVariables().
const unsigned short memdumplength = 0x100 |
Definition at line 41 of file globalConstants.c.
const unsigned short trailingEdgePrimaryRPMInputCodeTime = 100 |
Definition at line 114 of file globalConstants.c.
const unsigned short trailingEdgeSecondaryRPMInputCodeTime = 100 |