FixedConfig1.c

Go to the documentation of this file.
00001 /*      FixedConfig1.c
00002 
00003         Copyright 2008 Fred Cooke
00004 
00005         This file is part of the FreeEMS project.
00006 
00007         FreeEMS software is free software: you can redistribute it and/or modify
00008         it under the terms of the GNU General Public License as published by
00009         the Free Software Foundation, either version 3 of the License, or
00010         (at your option) any later version.
00011 
00012         FreeEMS software is distributed in the hope that it will be useful,
00013         but WITHOUT ANY WARRANTY; without even the implied warranty of
00014         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015         GNU General Public License for more details.
00016 
00017         You should have received a copy of the GNU General Public License
00018         along with any FreeEMS software.  If not, see <http://www.gnu.org/licenses/>.
00019 
00020         We ask that if you make any changes to this file you send them upstream to us at admin@diyefi.org
00021 
00022         Thank you for choosing FreeEMS to run your engine! */
00023 
00024 #include "inc/freeEMS.h"
00025 
00026 
00027 const volatile fixedConfig1 fixedConfigs1 FIXEDCONF1 = {
00028         /* Each bit represents the state of some core setting, masks below and above where the same one is used */
00029         /* Settings variables : 0 = false */
00030         /* unsigned short coreSettingsA = */    0x07F0,                 /* See definitions in freeems.h */
00031 
00032         /* Pre configured value settings for the sensor inputs */
00033         /* unsigned short presetIAT = */                roomTemperature,
00034         /* unsigned short presetCHT = */                runningTemperature,
00035         /* unsigned short presetTPS = */                halfThrottle,
00036         /* unsigned short presetEGO = */                stoichiometricLambda,
00037         /* unsigned short presetBRV = */                runningVoltage,
00038         /* unsigned short presetMAP = */                idleManifoldPressure,
00039         /* unsigned short presetAAP = */                seaLevelKPa,
00040         /* unsigned short presetMAT = */                roomTemperature,
00041         /* unsigned short presetEGO2 = */               stoichiometricLambda,
00042         /* unsigned short presetIAP = */                maxExpectedBoost,
00043         /* unsigned short presetBPW = */                idlePulseWidth,
00044         /* unsigned short presetAF = */                 idleAirFlow,
00045 
00046 
00047         /* Fuel injection settings */
00048         /* unsigned short perCylinderVolume = */        typicalCylinderSize,
00049         /* unsigned short stoichiometricAFR = */        stoichiometricAFROctane,
00050         /* unsigned short injectorFlow = */                     typicalInjectorSize,
00051         /* unsigned short densityOfFuelAtSTP = */       densityOfOctane,
00052 
00053 
00054         /* Sensor related settings */
00055         /* unsigned short TPSClosedMAP = */             offIdleMAP,             /* Around 30kPa */
00056         /* unsigned short TPSOpenMAP = */               nearlyWOTMAP,   /* Around 95kPa */
00057 
00058 
00059         /* Sensor input conditioning settings */
00060         /* These are used to calculate MAP, EGO and TPS from ADC readings. */
00061         /* unsigned short MAPMinimum = */               MPX4250AMin,                    /* Default to MPX4250A 260kPa - 8kPa = 252kPa See the link for the transfer function */
00062         /* unsigned short MAPRange = */                 MPX4250ARange,                  /* www.freescale.com/files/sensors/doc/data_sheet/MPX4250A.pdf */
00063         /* unsigned short AAPMinimum = */               MPX4100AMin,                    /* Default to MPX4100A 107.5kPa - 14kPa = 93.5kPa See the link for the transfer function */
00064         /* unsigned short AAPRange = */                 MPX4100ARange,                  /* www.freescale.com/files/sensors/doc/data_sheet/MPX4100A.pdf */
00065         /* unsigned short EGOMinimum = */               LC1LambdaMin,                   /* Default to Innovate LC-1 on lambda 0.5 - 1.5 for 0-5V range */
00066         /* unsigned short EGORange = */                 LC1LambdaRange,                 /* Range of lambda 1.0 */
00067         /* unsigned short BRVMinimum = */               batteryVoltageMin,              /* 0 - 24.5 Volt measurement with 10k and 39k resistors */
00068         /* unsigned short BRVRange = */                 batteryVoltageRange,    /* http://www.google.com/search?hl=en&safe=off&q=5+*+(39000+%2B+10000)+%2F+10000&btnG=Search */
00069         /* unsigned short TPSMinimumADC = */    TPSDefaultMin,                  /* 25% of voltage = closed (0%) */
00070         /* unsigned short TPSMaximumADC = */    TPSDefaultMax,                  /* 75% of voltage = open (100%) */
00071         /* unsigned char userTextField[userTextFieldArrayLength] = */   {"Place your personal notes about whatever you like in here! Don't hesitate to tell us a story about something interesting. Do keep in mind though that when you upload your settings file to the forum this message WILL be visible to all and sundry, so don't be putting too many personal details, bank account numbers, passwords, PIN numbers, license plates, national insurance numbers, IRD numbers, social security numbers, phone numbers, email addresses, love stories and other private information in this field. In fact it is probably best if you keep the information stored here purely related to the vehicle that this system is installed on and relevant to the state of tune and configuration of settings. Lastly, please remember that this field WILL be shrinking in length from it's currently large size to something more reasonable in future. I would like to attempt to keep it at least thirty two characters long though, so writing that much is a non issue, but "}
00072 //      /* unsigned char userTextField[userTextFieldArrayLength] = */   {"Place your personal notes about whatever you like in here! Don't hesitate to tell us a story about something interesting. Do keep in mind though that when you upload your settings file to the forum this message WILL be visible to all and sundry, so don't be putting too many personal details, bank account numbers, passwords, PIN numbers, license plates, national insurance numbers, IRD numbers, social security numbers, phone numbers, email addresses, love stories and other private information in this field. In fact it is probably best if you keep the information stored here purely related to the vehicle that this system is installed on and relevant to the state of tune and configuration of settings. Lastly, please remember that this field WILL be shrinking in length from it's currently large size to something more reasonable in future. I would like to attempt to keep it at least thirty two characters long though, so writing that much is a non issue, but "}
00073 };

Generated on Mon Dec 22 21:29:17 2008 for freeems by  doxygen 1.5.2