rusefi/firmware/controllers/algo/defaults/defaults.h

34 lines
1.0 KiB
C
Raw Normal View History

2022-10-25 18:54:26 -07:00
/**
* file defaults.h
*/
2022-10-25 18:54:26 -07:00
void setLeftRightBanksNeedBetterName();
void setDefaultBaseEngine();
void setDefaultFuel();
void setDefaultIgnition();
void setDefaultCranking();
2023-06-10 09:46:39 -07:00
void setGDIFueling();
2024-02-25 21:27:43 -08:00
void setGdiWallWetting();
2023-07-12 08:34:25 -07:00
void setInline4();
2022-11-04 09:37:28 -07:00
#define DEFAULT_CRANKING_DWELL_MS 6
#define DEFAULT_CRANKING_ANGLE 6
2022-10-29 20:04:24 -07:00
void setPPSInputs(adc_channel_e pps1, adc_channel_e pps2);
2022-10-29 20:55:14 -07:00
void setPPSCalibration(float primaryUp, float primaryDown, float secondaryUp, float secondaryDown);
2022-11-04 09:37:28 -07:00
void setTPS1Inputs(adc_channel_e tps1, adc_channel_e tps2);
2023-03-03 07:35:06 -08:00
// legacy since channel TPS still exists
void setTPS1Calibration(uint16_t tpsMin, uint16_t tpsMax);
// Most ETB require redundant dual channel TPS
2022-11-04 10:27:40 -07:00
void setTPS1Calibration(uint16_t tpsMin, uint16_t tpsMax, uint16_t tps1SecondaryMin, uint16_t tps1SecondaryMax);
2023-11-07 22:15:33 -08:00
void setCustomMap(float lowValue, float mapLowValueVoltage, float highValue, float mapHighValueVoltage);
2023-10-30 19:13:29 -07:00
void setEtbPID(float p, float i, float d);
// split threshold
#ifndef MAX_TPS_PPS_DISCREPANCY
#define MAX_TPS_PPS_DISCREPANCY 5.0f
#endif