rusEFI
The most advanced open source ECU
|
Variables | |
AdcDevice | fastAdc |
static volatile NO_CACHE adcsample_t | slowAdcSamples [SLOW_ADC_CHANNEL_COUNT] |
static uint32_t | slowAdcConversionCount = 0 |
static float | mcuTemperature |
static AdcChannelMode | adcHwChannelMode [EFI_ADC_TOTAL_CHANNELS] |
static int | adcDebugReporting = false |
adc_channel_e | |
__attribute__ | ( | (weak) | ) |
Definition at line 203 of file adc_inputs.cpp.
void addFastAdcChannel | ( | const char * | name, |
adc_channel_e | hwChannel | ||
) |
Definition at line 175 of file adc_inputs.cpp.
Referenced by addAdcChannelForTrigger(), configureInputs(), and setAdcChannelOverrides().
int analogGetDiagnostic | ( | ) |
Definition at line 41 of file adc_inputs.cpp.
Referenced by SensorChecker::onSlowCallback().
float PUBLIC_API_WEAK boardAdjustVoltage | ( | float | voltage, |
adc_channel_e | hwChannel | ||
) |
Definition at line 15 of file adc_inputs.cpp.
Referenced by adcGetScaledVoltage().
int PUBLIC_API_WEAK boardGetAnalogDiagnostic | ( | ) |
Definition at line 23 of file adc_inputs.cpp.
Referenced by analogGetDiagnostic(), and boardGetAnalogInputDiagnostic().
int PUBLIC_API_WEAK boardGetAnalogInputDiagnostic | ( | adc_channel_e | channel, |
float | |||
) |
Definition at line 28 of file adc_inputs.cpp.
|
static |
order of analog channels here is totally random and has no meaning we also have some weird implementation with internal indices - that all has no meaning, it's just a random implementation which does not mean anything.
Definition at line 205 of file adc_inputs.cpp.
Referenced by initAdcInputs().
AdcChannelMode getAdcMode | ( | adc_channel_e | hwChannel | ) |
Definition at line 69 of file adc_inputs.cpp.
Referenced by AdcSubscription::PrintInfo().
float PUBLIC_API_WEAK getAnalogInputDividerCoefficient | ( | adc_channel_e | hwChannel | ) |
Definition at line 11 of file adc_inputs.cpp.
int getInternalAdcValue | ( | const char * | msg, |
adc_channel_e | hwChannel | ||
) |
Definition at line 77 of file adc_inputs.cpp.
float getMCUInternalTemperature | ( | void | ) |
Definition at line 73 of file adc_inputs.cpp.
Referenced by populateFrame(), and updateMiscSensors().
void initAdcInputs | ( | ) |
Definition at line 231 of file adc_inputs.cpp.
Referenced by initHardware().
|
static |
Definition at line 103 of file adc_inputs.cpp.
Referenced by printFullAdcReport().
|
static |
Definition at line 92 of file adc_inputs.cpp.
Referenced by initAdcInputs().
void printFullAdcReport | ( | void | ) |
Definition at line 119 of file adc_inputs.cpp.
Referenced by initSettings(), and printFullAdcReportIfNeeded().
void printFullAdcReportIfNeeded | ( | void | ) |
Definition at line 257 of file adc_inputs.cpp.
Referenced by updateDevConsoleState().
void removeChannel | ( | const char * | name, |
adc_channel_e | hwChannel | ||
) |
Definition at line 188 of file adc_inputs.cpp.
Referenced by setAdcChannelOverrides().
|
static |
Definition at line 139 of file adc_inputs.cpp.
Referenced by initAdcInputs().
void updateSlowAdc | ( | efitick_t | nowNt | ) |
Definition at line 144 of file adc_inputs.cpp.
Referenced by initAdcInputs(), and MainLoop::PeriodicTask().
void waitForSlowAdc | ( | uint32_t | lastAdcCounter | ) |
Definition at line 223 of file adc_inputs.cpp.
Referenced by StepperMotorBase::setInitialPosition().
adc_channel_e |
Definition at line 266 of file adc_inputs.cpp.
Referenced by printAdcValue(), and printFullAdcReport().
|
static |
Definition at line 67 of file adc_inputs.cpp.
Referenced by printFullAdcReportIfNeeded(), and setAdcDebugReporting().
|
static |
Definition at line 64 of file adc_inputs.cpp.
Referenced by addFastAdcChannel(), configureInputs(), getAdcMode(), getInternalAdcValue(), and removeChannel().
|
extern |
|
static |
Definition at line 62 of file adc_inputs.cpp.
Referenced by getMCUInternalTemperature(), and updateSlowAdc().
|
static |
Definition at line 60 of file adc_inputs.cpp.
Referenced by printFullAdcReport(), updateSlowAdc(), and waitForSlowAdc().
|
static |
Definition at line 58 of file adc_inputs.cpp.
Referenced by getInternalAdcValue(), and updateSlowAdc().