Go to the source code of this file.
◆ ADC_FILTER
Simple low pass IIR filter macro for the analog inputs This is effectively implementing the smooth filter from playground.arduino.cc/Main/Smooth But removes the use of floats and uses 8 bits of fixed precision.
◆ ADCFILTER_BARO_DEFAULT
#define ADCFILTER_BARO_DEFAULT 64 |
◆ ADCFILTER_BAT_DEFAULT
#define ADCFILTER_BAT_DEFAULT 128 |
◆ ADCFILTER_CLT_DEFAULT
#define ADCFILTER_CLT_DEFAULT 180 |
◆ ADCFILTER_IAT_DEFAULT
#define ADCFILTER_IAT_DEFAULT 180 |
◆ ADCFILTER_MAP_DEFAULT
#define ADCFILTER_MAP_DEFAULT 20 |
◆ ADCFILTER_O2_DEFAULT
#define ADCFILTER_O2_DEFAULT 128 |
◆ ADCFILTER_PSI_DEFAULT
#define ADCFILTER_PSI_DEFAULT 150 |
◆ ADCFILTER_TPS_DEFAULT
#define ADCFILTER_TPS_DEFAULT 50 |
◆ ADMUX_DEFAULT_CONFIG
#define ADMUX_DEFAULT_CONFIG 0x40 |
◆ BARO_MAX
◆ BARO_MIN
◆ FILTER_FLEX_DEFAULT
#define FILTER_FLEX_DEFAULT 75 |
◆ READ_FLEX
◆ TPS_READ_FREQUENCY
◆ VSS_GEAR_HYSTERESIS
#define VSS_GEAR_HYSTERESIS 10 |
◆ VSS_SAMPLES
◆ flexPulse()
◆ getAnalogKnock()
◆ getFuelPressure()
◆ getGear()
◆ getOilPressure()
◆ getSpeed()
◆ initialiseADC()
Init all ADC conversions by setting resolutions, etc.
◆ instanteneousMAPReading()
◆ knockPulse()
◆ readAuxanalog()
◆ readAuxdigital()
◆ readBaro()
◆ readBat()
◆ readCLT()
◆ readIAT()
◆ readMAP()
◆ readO2()
◆ readO2_2()
◆ readTPS()
◆ vssGetPulseGap()
Returns the VSS pulse gap for a given history point.
- Parameters
-
historyIndex | The gap number that is wanted. EG: historyIndex = 0 = Latest entry historyIndex = 1 = 2nd entry entry |
◆ vssPulse()
The ISR function for VSS pulses.
◆ auxIsEnabled
◆ flexCounter
◆ flexPulseWidth
◆ flexStartTime
◆ MAP_time
◆ MAPcount
◆ MAPcurRev
◆ MAPlast
◆ MAPlast_time