rusEFI
The most advanced open source ECU
|
#include <efi_gpio.h>
Public Member Functions | |
EnginePins () | |
void | startPins () |
void | reset () |
bool | stopPins () |
void | unregisterPins () |
OutputPin * | getOutputPinForBenchMode (bench_mode_e idx) |
Static Public Member Functions | |
static void | debug () |
Private Member Functions | |
void | startInjectionPins () |
void | startIgnitionPins () |
void | startAuxValves () |
void | stopInjectionPins () |
void | stopIgnitionPins () |
void | stopAuxValves () |
Definition at line 63 of file efi_gpio.h.
EnginePins::EnginePins | ( | ) |
Definition at line 146 of file efi_gpio.cpp.
|
static |
Definition at line 249 of file efi_gpio.cpp.
Referenced by initPrimaryPins().
OutputPin * EnginePins::getOutputPinForBenchMode | ( | bench_mode_e | idx | ) |
Definition at line 350 of file efi_gpio.cpp.
Referenced by resetPinStats(), and sendPinStatePackets().
void EnginePins::reset | ( | ) |
Definition at line 271 of file efi_gpio.cpp.
Referenced by resetConfigurationExt().
|
private |
Definition at line 303 of file efi_gpio.cpp.
Referenced by startPins().
|
private |
Definition at line 315 of file efi_gpio.cpp.
Referenced by setPinConfigurationOverrides(), and startPins().
|
private |
Definition at line 331 of file efi_gpio.cpp.
Referenced by setPinConfigurationOverrides(), and startPins().
void EnginePins::startPins | ( | ) |
Definition at line 257 of file efi_gpio.cpp.
Referenced by startHardware().
|
private |
Definition at line 293 of file efi_gpio.cpp.
Referenced by unregisterPins().
|
private |
Definition at line 279 of file efi_gpio.cpp.
Referenced by unregisterPins().
|
private |
Definition at line 286 of file efi_gpio.cpp.
Referenced by unregisterPins().
bool EnginePins::stopPins | ( | ) |
Definition at line 215 of file efi_gpio.cpp.
Referenced by Engine::efiWatchdog(), and Engine::onEngineHasStopped().
void EnginePins::unregisterPins | ( | ) |
Definition at line 229 of file efi_gpio.cpp.
Referenced by applyNewHardwareSettings().
OutputPin EnginePins::accelerometerCs |
Definition at line 120 of file efi_gpio.h.
Referenced by unregisterPins().
RegisteredOutputPin EnginePins::acRelay |
Definition at line 87 of file efi_gpio.h.
Referenced by acRelayBench(), getOutputPinForBenchMode(), and AcController::onSlowCallback().
RegisteredOutputPin EnginePins::alternatorPin |
Definition at line 109 of file efi_gpio.h.
Referenced by initAlternatorCtrl().
NamedOutputPin EnginePins::auxValve[AUX_DIGITAL_VALVE_COUNT] |
Definition at line 126 of file efi_gpio.h.
Referenced by auxPlainPinTurnOn(), EnginePins(), printEngineSnifferPinMappings(), startAuxValves(), stopAuxValves(), and stopPins().
RegisteredOutputPin EnginePins::boostPin |
Definition at line 106 of file efi_gpio.h.
Referenced by startBoostPin().
RegisteredOutputPin EnginePins::checkEnginePin |
this one is usually on the gauge cluster, not on the ECU
Definition at line 113 of file efi_gpio.h.
Referenced by blink_digits(), getOutputPinForBenchMode(), milBench(), populateFrame(), and turnAllPinsOff().
IgnitionOutputPin EnginePins::coils[MAX_CYLINDER_COUNT] |
Definition at line 124 of file efi_gpio.h.
Referenced by doRunSparkBench(), EnginePins(), SensorChecker::onSlowCallback(), prepareCylinderIgnitionSchedule(), printEngineSnifferPinMappings(), reset(), setPinConfigurationOverrides(), startIgnitionPins(), stopIgnitionPins(), stopPins(), and turnAllPinsOff().
OutputPin EnginePins::communicationLedPin |
Definition at line 101 of file efi_gpio.h.
Referenced by firmwareError(), and initStatusLeds().
OutputPin EnginePins::debugTriggerSync |
Definition at line 105 of file efi_gpio.h.
Referenced by TriggerDecoderBase::decodeTriggerEvent(), and initMiscOutputPins().
OutputPin EnginePins::errorLedPin |
brain board RED LED by default
Definition at line 100 of file efi_gpio.h.
Referenced by initErrorLed().
RegisteredOutputPin EnginePins::fanRelay |
Definition at line 83 of file efi_gpio.h.
Referenced by canDashboardHaltech(), fanBenchExt(), getOutputPinForBenchMode(), FanControl1::getPin(), IdleController::getRunningOpenLoop(), lua_fan(), populateFrame(), and updateFlags().
RegisteredOutputPin EnginePins::fanRelay2 |
Definition at line 84 of file efi_gpio.h.
Referenced by canDashboardHaltech(), fan2Bench(), FanControl2::getPin(), IdleController::getRunningOpenLoop(), populateFrame(), and updateFlags().
RegisteredOutputPin EnginePins::fuelPumpRelay |
Definition at line 88 of file efi_gpio.h.
Referenced by fuelPumpBenchExt(), getOutputPinForBenchMode(), FuelPumpController::onSlowCallback(), populateFrame(), and turnAllPinsOff().
RegisteredNamedOutputPin EnginePins::harleyAcr |
Definition at line 90 of file efi_gpio.h.
Referenced by EnginePins(), getOutputPinForBenchMode(), hdAcrBench(), and HarleyAcr::onSlowCallback().
RegisteredOutputPin EnginePins::harleyAcr2 |
Definition at line 91 of file efi_gpio.h.
Referenced by getOutputPinForBenchMode(), hdAcrBench(), and HarleyAcr::onSlowCallback().
RegisteredNamedOutputPin EnginePins::hpfpValve |
High Pressure Fuel Pump valve control
Definition at line 77 of file efi_gpio.h.
Referenced by EnginePins(), getOutputPinForBenchMode(), hpfpValveBench(), isGdiEngine(), HpfpController::onFastCallback(), HpfpController::pinTurnOff(), HpfpController::pinTurnOn(), and HpfpController::scheduleNextCycle().
RegisteredOutputPin EnginePins::idleSolenoidPin |
Definition at line 107 of file efi_gpio.h.
Referenced by applyIACposition(), and getOutputPinForBenchMode().
InjectorOutputPin EnginePins::injectors[MAX_CYLINDER_COUNT] |
Definition at line 122 of file efi_gpio.h.
Referenced by doRunFuelInjBench(), endSimultaneousInjectionOnlyTogglePins(), EnginePins(), initPwmTester(), SensorChecker::onSlowCallback(), printEngineSnifferPinMappings(), reset(), FuelSchedule::resetOverlapping(), setPinConfigurationOverrides(), startInjectionPins(), startPwmTest(), startSimultaneousInjection(), stopInjectionPins(), stopPins(), turnAllPinsOff(), and InjectionEvent::update().
InjectorOutputPin EnginePins::injectorsStage2[MAX_CYLINDER_COUNT] |
Definition at line 123 of file efi_gpio.h.
Referenced by EnginePins(), printEngineSnifferPinMappings(), startInjectionPins(), stopInjectionPins(), stopPins(), and InjectionEvent::update().
OutputPin EnginePins::luaOutputPins[LUA_PWM_COUNT] |
Definition at line 95 of file efi_gpio.h.
Referenced by doRunBenchTestLuaOutput(), luaDeInitPins(), and startPwm().
RegisteredOutputPin EnginePins::mainRelay |
Definition at line 73 of file efi_gpio.h.
Referenced by getOutputPinForBenchMode(), Engine::isMainRelayEnabled(), mainRelayBench(), MainRelayController::onSlowCallback(), populateFrame(), turnAllPinsOff(), and updateFlags().
OutputPin EnginePins::o2heater |
Definition at line 94 of file efi_gpio.h.
Referenced by initMiscOutputPins(), Engine::periodicSlowCallback(), populateFrame(), and updateFlags().
OutputPin EnginePins::runningLedPin |
Definition at line 103 of file efi_gpio.h.
Referenced by initWarningRunningPins().
OutputPin EnginePins::sdCsPin |
Definition at line 119 of file efi_gpio.h.
Referenced by initMiscOutputPins(), and unregisterPins().
RegisteredOutputPin EnginePins::secondIdleSolenoidPin |
Definition at line 108 of file efi_gpio.h.
Referenced by applyIACposition().
RegisteredOutputPin EnginePins::speedoOut |
Definition at line 117 of file efi_gpio.h.
Referenced by initSpeedometer().
RegisteredOutputPin EnginePins::starterControl |
Definition at line 79 of file efi_gpio.h.
Referenced by disengageStarterIfNeeded(), getOutputPinForBenchMode(), onStartStopButtonToggle(), slowStartStopButtonCallback(), starterRelayBench(), and updateTunerStudioState().
RegisteredOutputPin EnginePins::starterRelayDisable |
Definition at line 81 of file efi_gpio.h.
Referenced by Engine::periodicSlowCallback(), and updateTunerStudioState().
RegisteredOutputPin EnginePins::tachOut |
Definition at line 115 of file efi_gpio.h.
Referenced by initTachometer().
OutputPin EnginePins::tcu32Solenoid |
Definition at line 131 of file efi_gpio.h.
Referenced by Gm4l6xTransmissionController::init().
OutputPin EnginePins::tcuPcSolenoid |
Definition at line 130 of file efi_gpio.h.
Referenced by Generic4TransmissionController::init().
OutputPin EnginePins::tcuSolenoids[TCU_SOLENOID_COUNT] |
Definition at line 127 of file efi_gpio.h.
Referenced by doRunSolenoidBench(), SimpleTransmissionController::init(), and SimpleTransmissionController::update().
OutputPin EnginePins::tcuTccOnoffSolenoid |
Definition at line 128 of file efi_gpio.h.
Referenced by Generic4TransmissionController::init(), and Generic4TransmissionController::setTccState().
OutputPin EnginePins::tcuTccPwmSolenoid |
Definition at line 129 of file efi_gpio.h.
Referenced by Gm4l6xTransmissionController::init().
IgnitionOutputPin EnginePins::trailingCoils[MAX_CYLINDER_COUNT] |
Definition at line 125 of file efi_gpio.h.
Referenced by EnginePins(), printEngineSnifferPinMappings(), reset(), startIgnitionPins(), stopIgnitionPins(), stopPins(), turnAllPinsOff(), and turnSparkPinHighStartCharging().
RegisteredOutputPin EnginePins::triggerDecoderErrorPin |
Definition at line 116 of file efi_gpio.h.
Referenced by Engine::OnTriggerSynchronization().
OutputPin EnginePins::warningLedPin |
Definition at line 102 of file efi_gpio.h.
Referenced by initWarningRunningPins().