rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Namespaces | Typedefs | Variables
engine_configuration_defaults.h File Reference

Namespaces

namespace  engine_configuration_defaults
 

Typedefs

using torqueReductionCutTable = std::array< std::array< int8_t, TORQUE_TABLE_Y_SIZE >, TORQUE_TABLE_X_SIZE >
 
using torqueReductionTable = std::array< std::array< float, TORQUE_TABLE_Y_SIZE >, TORQUE_TABLE_X_SIZE >
 
using torqueReductionTimeTable = torqueReductionTable
 

Variables

constexpr float engine_configuration_defaults::AC_DELAY = 0.5f
 
constexpr uint16_t engine_configuration_defaults::MIN_AC_PRESSURE = 100
 
constexpr uint16_t engine_configuration_defaults::MAX_AC_PRESSURE = 300
 
constexpr float engine_configuration_defaults::AC_PRESSURE_ENABLE_HYST = 10.0f
 
constexpr bool engine_configuration_defaults::ENABLE_SHIFT_TORQUE_REDUCTION = false
 
constexpr torqueReductionActivationMode_e engine_configuration_defaults::TORQUE_REDUCTION_ACTIVATION_MODE = TORQUE_REDUCTION_BUTTON
 
constexpr switch_input_pin_e engine_configuration_defaults::TORQUE_REDUCTION_TRIGGER_PIN = Gpio::Unassigned
 
constexpr pin_input_mode_e engine_configuration_defaults::TORQUE_REDUCTION_TRIGGER_PIN_MODE = PI_DEFAULT
 
constexpr torqueReductionTimeTable engine_configuration_defaults::TORQUE_REDUCTION_TIME = { { {0.0f, 0.0f}, {0.0f, 0.0f}, {0.0f, 0.0f} } }
 
constexpr bool engine_configuration_defaults::LIMIT_TORQUE_REDUCTION_TIME = false
 
constexpr float engine_configuration_defaults::TORQUE_REDUCTION_ARMING_RPM = 0.0f
 
constexpr float engine_configuration_defaults::TORQUE_REDUCTION_ARMING_APP = 0.0f
 
constexpr torqueReductionCutTable engine_configuration_defaults::TORQUE_REDUCTION_IGNITION_CUT = { { { 0, 0 } } }
 
constexpr torqueReductionTable engine_configuration_defaults::TORQUE_REDUCTION_IGNITION_RETARD = { { {0.0f, 0.0f}, {0.0f, 0.0f}, {0.0f, 0.0f} } }
 
constexpr switch_input_pin_e engine_configuration_defaults::CLUTCH_DOWN_PIN = Gpio::Unassigned
 
constexpr pin_input_mode_e engine_configuration_defaults::CLUTCH_DOWN_PIN_MODE = PI_PULLUP
 
constexpr switch_input_pin_e engine_configuration_defaults::CLUTCH_UP_PIN = Gpio::Unassigned
 
constexpr pin_input_mode_e engine_configuration_defaults::CLUTCH_UP_PIN_MODE = PI_PULLUP
 
constexpr switch_input_pin_e engine_configuration_defaults::LAUNCH_ACTIVATE_PIN = Gpio::Unassigned
 
constexpr pin_input_mode_e engine_configuration_defaults::LAUNCH_ACTIVATE_PIN_MODE = PI_DEFAULT
 
constexpr launchActivationMode_e engine_configuration_defaults::LAUNCH_ACTIVATION_MODE = SWITCH_INPUT_LAUNCH
 
constexpr int engine_configuration_defaults::LAUNCH_SPEED_THRESHOLD = 0
 
constexpr fuel_pressure_sensor_mode_e engine_configuration_defaults::FUEL_PRESSURE_SENSOR_MODE = FPM_Absolute
 
constexpr bool engine_configuration_defaults::INJECTOR_FLOW_AS_MASS_FLOW = false
 
constexpr float engine_configuration_defaults::INJECTOR_FLOW = 200.0f
 
constexpr BattLagCorrTable engine_configuration_defaults::INJECTOR_BATT_LAG_CURR
 
constexpr float engine_configuration_defaults::FUEL_REFERENCE_PRESSURE = 300.0f
 
constexpr injector_compensation_mode_e engine_configuration_defaults::INJECTOR_COMPENSATION_MODE = ICM_None
 
constexpr float engine_configuration_defaults::INJECTOR_SECONDARY_FLOW = INJECTOR_FLOW
 
constexpr BattLagCorrTable engine_configuration_defaults::INJECTOR_SECONDARY_BATT_LAG_CURR = INJECTOR_BATT_LAG_CURR
 
constexpr float engine_configuration_defaults::SECONDARY_INJECTOR_FUEL_REFERENCE_PRESSURE = 0.0f
 
constexpr injector_compensation_mode_e engine_configuration_defaults::SECONDARY_INJECTOR_COMPENSATION_MODE = INJECTOR_COMPENSATION_MODE
 
constexpr bool engine_configuration_defaults::ENABLE_STAGED_INJECTION = false
 
constexpr bool engine_configuration_defaults::NITROUS_CONTROL_ENABLED = false
 
constexpr nitrous_arming_method_e engine_configuration_defaults::NITROUS_CONTROL_ARMING_METHOD = DIGITAL_SWITCH_INPUT
 
constexpr switch_input_pin_e engine_configuration_defaults::NITROUS_CONTROL_TRIGGER_PIN = Gpio::Unassigned
 
constexpr pin_input_mode_e engine_configuration_defaults::NITROUS_CONTROL_TRIGGER_PIN_MODE = PI_DEFAULT
 
constexpr lua_gauge_e engine_configuration_defaults::NITROUS_LUA_GAUGE = LUA_GAUGE_1
 
constexpr lua_gauge_meaning_e engine_configuration_defaults::NITROUS_LUA_GAUGE_MEANING = LUA_GAUGE_LOWER_BOUND
 
constexpr float engine_configuration_defaults::NITROUS_LUA_GAUGE_ARMING_VALUE = 0.0f
 
constexpr uint16_t engine_configuration_defaults::NITROUS_MINIMUM_VEHICLE_SPEED = 0
 
constexpr int engine_configuration_defaults::NITROUS_MINIMUM_TPS = 80
 
constexpr uint8_t engine_configuration_defaults::NITROUS_MINIMUM_CLT = 60
 
constexpr uint16_t engine_configuration_defaults::NITROUS_MAXIMUM_MAP = 0
 
constexpr float engine_configuration_defaults::NITROUS_MAXIMUM_AFR = 14.0f
 
constexpr uint16_t engine_configuration_defaults::NITROUS_ACTIVATION_RPM = 4000
 
constexpr uint16_t engine_configuration_defaults::NITROUS_DEACTIVATION_RPM = 7000
 
constexpr uint16_t engine_configuration_defaults::NITROUS_DEACTIVATION_RPM_WINDOW = 500
 
constexpr int8_t engine_configuration_defaults::NITROUS_FUEL_ADDER_PERCENT = 0
 
constexpr float engine_configuration_defaults::NITROUS_IGNITION_RETARD = 0.0f
 
constexpr float engine_configuration_defaults::FUEL_LEVEL_AVERAGING_ALPHA = 0.001f
 
constexpr float engine_configuration_defaults::FUEL_LEVEL_UPDATE_PERIOD_SEC = 0.1f
 
constexpr float engine_configuration_defaults::FUEL_LEVEL_LOW_THRESHOLD_VOLTAGE = 0.25f
 
constexpr float engine_configuration_defaults::FUEL_LEVEL_HIGH_THRESHOLD_VOLTAGE = 4.5f
 
constexpr float engine_configuration_defaults::DEFAULT_LAMBDA_LOAD_BINS [] = { 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 150, 175, 200, 225, 250 }
 
constexpr float engine_configuration_defaults::DEFAULT_LAMBDA_TABLE_ROW []
 

Typedef Documentation

◆ torqueReductionCutTable

using torqueReductionCutTable = std::array<std::array<int8_t, TORQUE_TABLE_Y_SIZE>, TORQUE_TABLE_X_SIZE>

Definition at line 10 of file engine_configuration_defaults.h.

◆ torqueReductionTable

using torqueReductionTable = std::array<std::array<float, TORQUE_TABLE_Y_SIZE>, TORQUE_TABLE_X_SIZE>

Definition at line 11 of file engine_configuration_defaults.h.

◆ torqueReductionTimeTable

Definition at line 12 of file engine_configuration_defaults.h.

Go to the source code of this file.