|
rusEFI
The most advanced open source ECU
|
Functions | |
| bool | isBrainPinValid (Gpio brainPin) |
| const char * | hwOnChipPhysicalPinName (ioportid_t hwPort, int hwPin) |
| void | initPinRepository () |
| bool | brain_pin_is_onchip (Gpio brainPin) |
| bool | brain_pin_is_ext (Gpio brainPin) |
| void | pinDiag2string (char *buffer, size_t size, brain_pin_diag_e pin_diag) |
| bool | brain_pin_markUsed (brain_pin_e brainPin, const char *msg) |
| const char * | getPinFunction (brain_input_pin_e brainPin) |
| bool | gpio_pin_markUsed (ioportid_t port, ioportmask_t pin, const char *msg) |
| void | gpio_pin_markUnused (ioportid_t port, ioportmask_t pin) |
| int | getPortPinIndex (ioportid_t port, ioportmask_t pin) |
| ioportid_t | getBrainPinPort (brain_pin_e brainPin) |
| int | getBrainPinIndex (Gpio brainPin) |
| size_t | getBrainPinOnchipNum () |
| const char * | hwPortname (Gpio brainPin) |
| const char * | hwPhysicalPinName (Gpio brainPin) |
| const char * | getBoardSpecificPinName (Gpio brainPin) |
| void | debugBrainPin (char *buffer, size_t size, brain_pin_e brainPin) |
| const char *& | getBrainUsedPin (size_t idx) |
Definition at line 270 of file pin_repository.cpp.
Referenced by efiReadPin(), and startSimplePwm().

Definition at line 262 of file pin_repository.cpp.
Referenced by directWritePad(), efiReadPin(), efiSetPadModeWithoutOwnershipAcquisition(), efiSetPadUnused(), OutputPin::getDiag(), getHwPin(), hwPhysicalPinName(), and OutputPin::initPin().

Usually high-level code would invoke efiSetPadMode, not this method directly
See also brain_pin_markUnused()
Definition at line 53 of file pin_repository.cpp.
Referenced by efiSetPadMode().


| void debugBrainPin | ( | char * | buffer, |
| size_t | size, | ||
| brain_pin_e | brainPin | ||
| ) |
Definition at line 199 of file cypress_pins.cpp.
Referenced by reportPins().


Definition at line 7 of file generated_ts_name_by_pin.cpp.
Referenced by hwPortname(), printSentInfo(), and reportPins().

| int getBrainPinIndex | ( | Gpio | brainPin | ) |
Definition at line 39 of file cypress_pins.cpp.
Referenced by boardInitMfs(), debugBrainPin(), detectHellenBoardId(), getHwPin(), HellenBoardIdFinder< NumPins >::measureChargingTimes(), and reportPins().

| size_t getBrainPinOnchipNum | ( | ) |
Definition at line 195 of file cypress_pins.cpp.
Referenced by reportPins().

| ioportid_t getBrainPinPort | ( | brain_pin_e | brainPin | ) |
Definition at line 43 of file cypress_pins.cpp.
Referenced by boardInitMfs(), debugBrainPin(), detectHellenBoardId(), HellenBoardIdFinder< NumPins >::measureChargingTimes(), and reportPins().


Definition at line 20 of file pin_repository.cpp.
Referenced by brain_pin_markUnused(), brain_pin_markUsed(), getPinFunction(), gpio_pin_markUnused(), gpio_pin_markUsed(), and reportPins().


| const char * getPinFunction | ( | brain_input_pin_e | brainPin | ) |
Definition at line 313 of file pin_repository.cpp.

| int getPortPinIndex | ( | ioportid_t | port, |
| ioportmask_t | pin | ||
| ) |
Definition at line 132 of file cypress_pins.cpp.
Referenced by gpio_pin_markUnused(), and gpio_pin_markUsed().


| void gpio_pin_markUnused | ( | ioportid_t | port, |
| ioportmask_t | pin | ||
| ) |
Marks on-chip gpio port-pin as UNused. Works only for on-chip gpios To be replaced with brain_pin_markUnused later
Definition at line 307 of file pin_repository.cpp.
Referenced by BitbangI2c::deinit().


| bool gpio_pin_markUsed | ( | ioportid_t | port, |
| ioportmask_t | pin, | ||
| const char * | msg | ||
| ) |
Marks on-chip gpio port-pin as used. Works only for on-chip gpios To be replaced with brain_pin_markUsed later
todo: the problem is that this warning happens before the console is even connected, so the warning is never displayed on the console and that's quite a problem!
Definition at line 283 of file pin_repository.cpp.
Referenced by hellen154hyundai_f7_boardInitHardware().


| const char * hwOnChipPhysicalPinName | ( | ioportid_t | hwPort, |
| int | hwPin | ||
| ) |
Definition at line 199 of file pin_repository.cpp.
Referenced by hwPhysicalPinName().


Definition at line 209 of file pin_repository.cpp.
Referenced by brain_pin_markUsed(), and hwPortname().


Definition at line 241 of file pin_repository.cpp.
Referenced by adcTriggerTurnOnInputPin(), benchSetPinValue(), brain_pin_markUsed(), canInfo(), OutputPin::deInit(), detectCanDevice(), doStartCranking(), efiExtiEnablePin(), extiTriggerTurnOnInputPin(), initElectronicThrottle(), OutputPin::initPin(), initQcBenchControls(), initWave(), onConfigurationChangeTriggerCallback(), printGpsInfo(), printMmcPinout(), printOutPin(), printSpiConfig(), printTsStats(), readPin(), runBench(), setIgnitionPin(), setIndividualPin(), setLogicInputPin(), setTriggerInputPin(), setTriggerSimulatorPin(), startCanPins(), startPwm(), triggerInfo(), and turnOnTriggerInputPin().


| void initPinRepository | ( | ) |
this method cannot use console because this method is invoked before console is initialized
Definition at line 249 of file pin_repository.cpp.
Referenced by initHardwareNoConfig().


Definition at line 25 of file pin_repository.cpp.
Referenced by applyIACposition(), boardGetAnalogDiagnostic(), cdmIonInit(), NitrousController::checkTriggerPinState(), FrequencySensor::deInit(), HellaOilLevelSensor::deInit(), OutputPin::deInit(), deInitFlexSensor(), directWritePad(), efiExtiDisablePin(), efiExtiEnablePin(), efiReadPin(), efiSetPadMode(), getAdcChannelForTrigger(), getBrakePedalState(), getClutchDownState(), getClutchUpState(), getHwPin(), getHwPort(), TriggerCentral::handleShaftSignal(), handleVvtCamSignal(), hasAcToggle(), TachometerModule::init(), GenericGearController::init(), HellaOilLevelSensor::init(), BitbangI2c::init(), initAccelerometer(), initAlternatorCtrl(), initAuxValves(), initBoostCtrl(), initDac(), initGpPwm(), StepDirectionStepper::initialize(), FrequencySensor::initIfValid(), OutputPin::initPin(), initPotentiometers(), initSmartGpio(), initSpeedometer(), initVrThresholdPwm(), initWave(), isBoostControlSolenoidMode(), isGpsEnabled(), isIgnVoltage(), AntilagSystemBase::isInsideALSSwitchCondition(), LaunchControlBase::isInsideSwitchCondition(), isMilEnabled(), isSdCardEnabled(), lua_getAuxDigital(), lua_readpin(), onConfigurationChangeTriggerCallback(), onEcuStartDoSomethingTriggerInputPins(), AlternatorController::onFastCallback(), HarleyAcr::onSlowCallback(), SensorChecker::onSlowCallback(), printOutPin(), recalculateAuxValveTiming(), OutputPin::setValue(), startBoostPin(), startCanPins(), startSent(), startSerialChannels(), startTriggerEmulatorPins(), ButtonDebounce::stopConfiguration(), stopLogicAnalyzerPins(), stopSent(), triggerInfo(), turnOnTriggerInputPin(), turnVvtPidOn(), GenericGearController::update(), ShiftTorqueReductionController::updateTriggerPinState(), updateVrThresholdPwm(), validateConfigOnStartUpOrBurn(), and validateTriggerInputs().
| void pinDiag2string | ( | char * | buffer, |
| size_t | size, | ||
| brain_pin_diag_e | pin_diag | ||
| ) |
Definition at line 115 of file pin_repository.cpp.
Referenced by benchOff(), SensorChecker::onSlowCallback(), and reportPins().
