rusEFI
The most advanced open source ECU
|
Data Structures | |
class | IgnitionOutputPin |
class | RegisteredOutputPin |
class | RegisteredNamedOutputPin |
class | EnginePins |
Functions | |
void | initPrimaryPins () |
void | initMiscOutputPins () |
void | turnAllPinsOff (void) |
ioportmask_t | getHwPin (const char *msg, brain_pin_e brainPin) |
ioportid_t | getHwPort (const char *msg, brain_pin_e brainPin) |
const char * | portname (ioportid_t GPIOx) |
brain_pin_e | parseBrainPin (const char *str) |
Variables | |
EnginePins | enginePins |
ioportmask_t getHwPin | ( | const char * | msg, |
brain_pin_e | brainPin | ||
) |
this method returns the numeric part of pin name. For instance, for PC13 this would return '13'
Definition at line 153 of file cypress_pins.cpp.
Referenced by adcTriggerTurnOnInputPin(), benchSetPinValue(), directWritePad(), efiExtiDisablePin(), efiExtiEnablePin(), efiReadPin(), efiSetPadMode(), efiSetPadModeWithoutOwnershipAcquisition(), efiSetPadUnused(), extiTriggerTurnOnInputPin(), getAdcChannelPin(), hwPhysicalPinName(), BitbangI2c::init(), initAccelerometer(), initErrorLed(), initializeMmcBlockDevice(), OutputPin::initPin(), initQcBenchControls(), initSmartGpio(), initSpiCsNoOccupy(), initWave(), lua_readpin(), readPin(), startHip9011_pins(), and writePad().
ioportid_t getHwPort | ( | const char * | msg, |
brain_pin_e | brainPin | ||
) |
Definition at line 137 of file cypress_pins.cpp.
Referenced by adcTriggerTurnOnInputPin(), benchSetPinValue(), directWritePad(), efiExtiDisablePin(), efiExtiEnablePin(), efiReadPin(), efiSetPadMode(), efiSetPadModeWithoutOwnershipAcquisition(), efiSetPadUnused(), extiTriggerTurnOnInputPin(), getAdcChannelPort(), hwPhysicalPinName(), BitbangI2c::init(), initAccelerometer(), initErrorLed(), initializeMmcBlockDevice(), OutputPin::initPin(), initQcBenchControls(), initSmartGpio(), initSpiCsNoOccupy(), initWave(), lua_readpin(), readPin(), startHip9011_pins(), and writePad().
void initMiscOutputPins | ( | ) |
Definition at line 676 of file efi_gpio.cpp.
Referenced by initHardware().
void initPrimaryPins | ( | ) |
Definition at line 828 of file efi_gpio.cpp.
Referenced by initHardwareNoConfig().
brain_pin_e parseBrainPin | ( | const char * | str | ) |
Parse string representation of physical pin into brain_pin_e ordinal.
Parse string representation of physical pin into Gpio ordinal.
Definition at line 169 of file cypress_pins.cpp.
Referenced by lua_readpin(), and parseBrainPinWithErrorMessage().
const char* portname | ( | ioportid_t | GPIOx | ) |
Definition at line 50 of file cypress_pins.cpp.
Referenced by getPinNameByAdcChannel(), gpio_pin_markUsed(), hwOnChipPhysicalPinName(), printAdcChannedReport(), and reportPins().
void turnAllPinsOff | ( | void | ) |
This method is part of fatal error handling. The whole method is pretty naive, but that's at least something.
Definition at line 840 of file efi_gpio.cpp.
|
extern |
Definition at line 24 of file efi_gpio.cpp.
Referenced by acRelayBench(), applyIACposition(), applyNewHardwareSettings(), auxPlainPinTurnOn(), blink_digits(), canDashboardHaltech(), TriggerDecoderBase::decodeTriggerEvent(), disengageStarterIfNeeded(), doRunBenchTestLuaOutput(), doRunFuelInjBench(), doRunSolenoidBench(), doRunSparkBench(), doStartCranking(), Engine::efiWatchdog(), endSimultaneousInjectionOnlyTogglePins(), EnginePins::EnginePins(), fan2Bench(), fanBenchExt(), firmwareError(), fuelPumpBenchExt(), FanControl1::getPin(), FanControl2::getPin(), IdleController::getRunningOpenLoop(), hdAcrBench(), hpfpValveBench(), SimpleTransmissionController::init(), Generic4TransmissionController::init(), Gm4l6xTransmissionController::init(), initAlternatorCtrl(), initErrorLed(), initMiscOutputPins(), initSpeedometer(), initStatusLeds(), initTachometer(), initWarningRunningPins(), isGdiEngine(), Engine::isMainRelayEnabled(), lua_fan(), luaDeInitPins(), mainRelayBench(), milBench(), Engine::onEngineHasStopped(), HpfpController::onFastCallback(), AcController::onSlowCallback(), FuelPumpController::onSlowCallback(), HarleyAcr::onSlowCallback(), MainRelayController::onSlowCallback(), NitrousController::onSlowCallback(), SensorChecker::onSlowCallback(), Engine::OnTriggerSynchronization(), Engine::periodicSlowCallback(), HpfpController::pinTurnOff(), HpfpController::pinTurnOn(), populateFrame(), prepareCylinderIgnitionSchedule(), printEngineSnifferPinMappings(), resetConfigurationExt(), FuelSchedule::resetOverlapping(), resetPinStats(), HpfpController::scheduleNextCycle(), sendPinStatePackets(), setPinConfigurationOverrides(), Generic4TransmissionController::setTccState(), slowStartStopButtonCallback(), EnginePins::startAuxValves(), startBoostPin(), starterRelayBench(), startHardware(), EnginePins::startIgnitionPins(), EnginePins::startInjectionPins(), startPwm(), startSimultaneousInjection(), EnginePins::stopAuxValves(), EnginePins::stopIgnitionPins(), EnginePins::stopInjectionPins(), turnAllPinsOff(), turnSparkPinHighStartCharging(), InjectionEvent::update(), SimpleTransmissionController::update(), updateFlags(), and updateTunerStudioState().