rusEFI
The most advanced open source ECU
|
Typedefs | |
using | AdcToken = uint32_t |
using | AdcTockenInternal = union { AdcToken token |
Enumerations | |
enum class | AdcChannelMode : char { Off , Slow , Fast } |
Variables | |
static constexpr AdcToken | invalidAdcToken = (AdcToken)(-1) |
using AdcTockenInternal = union { AdcToken token |
Definition at line 100 of file adc_inputs.h.
using AdcToken = uint32_t |
Definition at line 98 of file adc_inputs.h.
|
strong |
Enumerator | |
---|---|
Off | |
Slow | |
Fast |
Definition at line 77 of file adc_inputs.h.
struct @29 __attribute__ | ( | (packed) | ) |
Definition at line 38 of file tooth_logger.h.
void adcInputsUpdateSubscribers | ( | efitick_t | nowNt | ) |
Definition at line 181 of file adc_inputs.cpp.
Referenced by initAdcInputs(), and MainLoop::PeriodicTask().
void addFastAdcChannel | ( | const char * | name, |
adc_channel_e | hwChannel | ||
) |
Definition at line 193 of file adc_inputs.cpp.
Referenced by addAdcChannelForTrigger(), configureInputs(), and setAdcChannelOverrides().
ObdCode analogGetDiagnostic | ( | ) |
Definition at line 59 of file adc_inputs.cpp.
Referenced by SensorChecker::onSlowCallback().
float boardAdjustVoltage | ( | float | voltage, |
adc_channel_e | hwChannel | ||
) |
Definition at line 15 of file adc_inputs.cpp.
Referenced by adcGetScaledVoltage().
int boardGetAnalogInputDiagnostic | ( | adc_channel_e | hwChannel, |
float | voltage | ||
) |
Definition at line 262 of file board_configuration.cpp.
Referenced by adcGetRawVoltage().
AdcToken enableFastAdcChannel | ( | const char * | msg, |
adc_channel_e | channel | ||
) |
Definition at line 279 of file mpu_util.cpp.
Referenced by calcFastAdcIndexes().
AdcChannelMode getAdcMode | ( | adc_channel_e | hwChannel | ) |
Definition at line 110 of file adc_inputs.cpp.
Referenced by AdcSubscription::PrintInfo().
float getAnalogInputDividerCoefficient | ( | adc_channel_e | hwChannel | ) |
Definition at line 242 of file hellen_common.cpp.
Referenced by adcGetScaledVoltage().
adcsample_t getFastAdc | ( | AdcToken | token | ) |
Definition at line 288 of file mpu_util.cpp.
Referenced by onFastAdcComplete().
int getInternalAdcValue | ( | const char * | msg, |
adc_channel_e | index | ||
) |
Definition at line 116 of file adc_inputs.cpp.
const ADCConversionGroup * getKnockConversionGroup | ( | uint8_t | channelIdx | ) |
Definition at line 409 of file stm32_adc_v2.cpp.
Referenced by onStartKnockSampling().
float getMCUInternalTemperature | ( | void | ) |
Definition at line 78 of file adc_onchip_slow.cpp.
Referenced by populateFrame(), and updateMiscSensors().
float getMCUVref | ( | void | ) |
Definition at line 82 of file adc_onchip_slow.cpp.
Referenced by analogGetVrefDiagnostic(), and updateMiscSensors().
void initAdcInputs | ( | ) |
Definition at line 241 of file adc_inputs.cpp.
Referenced by initHardware().
|
inline |
|
inline |
Definition at line 36 of file adc_inputs.h.
Referenced by boardGetAnalogInputDiagnostic().
|
inline |
Definition at line 23 of file adc_inputs.h.
Referenced by adcPrintChannelReport(), addAdcChannelForTrigger(), addFastAdcChannel(), configTherm(), configureTempSensor(), deInitIfValid(), enableFastAdcChannel(), enableFastAdcChannel(), enableFastAdcChannel(), getAfr(), getInternalAdcValue(), getPinNameByAdcChannel(), hasAfrSensor(), initAuxSensors(), initFlexSensor(), initFluidPressure(), initFuelLevel(), initIfValid(), initLambda(), initMaf(), initMap(), initOldAnalogInputs(), initRangeSensors(), initTps(), initVbatt(), isAdcChannelOffChip(), isAdcChannelOnChip(), removeChannel(), slowAdcEnableDisableChannel(), GenericGearController::update(), and updateRawSensors().
void onKnockSamplingComplete | ( | ) |
Definition at line 41 of file software_knock.cpp.
Referenced by knockCompletionCallback(), and knockCompletionCallback().
void printFullAdcReport | ( | void | ) |
Definition at line 160 of file adc_inputs.cpp.
Referenced by initSettings(), and printFullAdcReportIfNeeded().
void printFullAdcReportIfNeeded | ( | void | ) |
Definition at line 268 of file adc_inputs.cpp.
Referenced by updateDevConsoleState().
void removeChannel | ( | const char * | name, |
adc_channel_e | hwChannel | ||
) |
Definition at line 206 of file adc_inputs.cpp.
Referenced by setAdcChannelOverrides().
void waitForSlowAdc | ( | uint32_t | lastAdcCounter = 1 | ) |
Definition at line 87 of file adc_onchip_slow.cpp.
Referenced by StepperMotorBase::setInitialPosition().
beuint16_t adc |
Definition at line 103 of file adc_inputs.h.
Referenced by getAdcInternalChannel(), and getHwChannelForAdcInput().
uint16_t channel |
Definition at line 104 of file adc_inputs.h.
Referenced by addAdcChannelForTrigger(), boardGetAnalogInputDiagnostic(), CH_IRQ_HANDLER(), comp_lld_channel_enable(), configureRusefiLuaHooks(), configureTempSensor(), createRequest(), deInitIfValid(), disableTriggerStimulator(), DMAMUX_DisableChannel(), DMAMUX_DisablePeriodTrigger(), DMAMUX_EnableAlwaysOn(), DMAMUX_EnableChannel(), DMAMUX_EnablePeriodTrigger(), DMAMUX_SetSource(), EDMA_ClearChannelStatusFlags(), EDMA_CreateHandle(), EDMA_DisableChannelInterrupts(), EDMA_DisableChannelRequest(), EDMA_EnableAsyncRequest(), EDMA_EnableAutoStopRequest(), EDMA_EnableChannelInterrupts(), EDMA_EnableChannelRequest(), EDMA_GetChannelStatusFlags(), EDMA_GetRemainingMajorLoopCount(), EDMA_InstallTCD(), EDMA_ResetChannel(), EDMA_SetBandWidth(), EDMA_SetChannelLink(), EDMA_SetChannelPreemptionConfig(), EDMA_SetMinorOffsetConfig(), EDMA_SetModulo(), EDMA_SetTransferConfig(), EDMA_TriggerChannelStart(), efiExtiDisablePin(), efiExtiEnablePin(), emulatorApplyPinState(), enableFastAdcChannel(), enableFastAdcChannel(), Dac::GetLastVoltage(), getMcp3208adc(), getSentValue(), getSentValues(), getValue(), gpt_lld_polled_delay(), TriggerEmulatorHelper::handleEmulatorCallback(), initAuxSensors(), initFluidPressure(), initFuelLevel(), initIfValid(), initMaf(), initRangeSensors(), luaL_checkPwmIndex(), printAdcValue(), AdcSubscription::PrintInfo(), printSentInfo(), pwm_lld_disable_channel(), pwm_lld_disable_channel_notification(), pwm_lld_enable_channel(), pwm_lld_enable_channel_notification(), Ads1015::readChannel(), readGppwmChannel(), requestAdcValue(), requestAdcValueI(), sendToPot(), SENT_ISR_Handler(), SentDecoderThread(), setAnalogInputPin(), setDacVoltage(), setPotResistance(), setTriggerEmulatorRPM(), Dac::SetVoltage(), startKnockSampling(), startSimulatedTriggerSignal(), startTriggerEmulatorPins(), startTriggerInputPins(), stopTriggerEmulatorPins(), TunerstudioThread::ThreadTask(), updateRawSensors(), updateTriggerWaveformIfNeeded(), and validateCanChannelAndConvertFromHumanIntoZeroIndex().
Definition at line 110 of file adc_inputs.h.
Referenced by enableFastAdcChannel(), enableFastAdcChannel(), enableFastAdcChannel(), and getFastAdc().