rusEFI
The most advanced open source ECU
|
Functions | |
float BOARD_WEAK | getAnalogInputDividerCoefficient (adc_channel_e) |
AdcChannelMode | getAdcMode (adc_channel_e hwChannel) |
float | getMCUInternalTemperature () |
int | getInternalAdcValue (const char *msg, adc_channel_e hwChannel) |
static void | printAdcValue (int channel) |
static void | printAdcChannedReport (const char *prefix, int internalIndex, adc_channel_e hwChannel) |
void | printFullAdcReport (void) |
static void | setAdcDebugReporting (int value) |
void | addFastAdcChannel (const char *, adc_channel_e hwChannel) |
void | removeChannel (const char *, adc_channel_e hwChannel) |
__attribute__ ((weak)) void setAdcChannelOverrides() | |
static void | configureInputs () |
void | waitForSlowAdc (uint32_t lastAdcCounter) |
void | initAdcInputs () |
void | printFullAdcReportIfNeeded (void) |
Variables | |
AdcDevice | fastAdc |
static volatile NO_CACHE adcsample_t | slowAdcSamples [SLOW_ADC_CHANNEL_COUNT] |
static uint32_t | slowAdcConversionCount = 0 |
static uint32_t | slowAdcErrorsCount = 0 |
static float | mcuTemperature |
static AdcChannelMode | adcHwChannelMode [EFI_ADC_TOTAL_CHANNELS] |
static int | adcDebugReporting = false |
static SlowAdcController | slowAdcController |
adc_channel_e | |
__attribute__ | ( | (weak) | ) |
Definition at line 173 of file adc_inputs.cpp.
void addFastAdcChannel | ( | const char * | name, |
adc_channel_e | hwChannel | ||
) |
Definition at line 145 of file adc_inputs.cpp.
Referenced by addAdcChannelForTrigger(), configureInputs(), and setAdcChannelOverrides().
|
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 175 of file adc_inputs.cpp.
Referenced by initAdcInputs().
AdcChannelMode getAdcMode | ( | adc_channel_e | hwChannel | ) |
Definition at line 37 of file adc_inputs.cpp.
Referenced by AdcSubscription::PrintInfo().
float BOARD_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 45 of file adc_inputs.cpp.
float getMCUInternalTemperature | ( | void | ) |
Definition at line 41 of file adc_inputs.cpp.
Referenced by populateFrame(), and updateMiscSensors().
void initAdcInputs | ( | ) |
Definition at line 205 of file adc_inputs.cpp.
Referenced by initHardware().
|
static |
Definition at line 71 of file adc_inputs.cpp.
Referenced by printFullAdcReport().
|
static |
Definition at line 60 of file adc_inputs.cpp.
Referenced by initAdcInputs().
void printFullAdcReport | ( | void | ) |
Definition at line 87 of file adc_inputs.cpp.
Referenced by initSettings(), and printFullAdcReportIfNeeded().
void printFullAdcReportIfNeeded | ( | void | ) |
Definition at line 230 of file adc_inputs.cpp.
Referenced by updateDevConsoleState().
void removeChannel | ( | const char * | name, |
adc_channel_e | hwChannel | ||
) |
Definition at line 158 of file adc_inputs.cpp.
Referenced by setAdcChannelOverrides().
|
static |
Definition at line 107 of file adc_inputs.cpp.
Referenced by initAdcInputs().
void waitForSlowAdc | ( | uint32_t | lastAdcCounter | ) |
Definition at line 195 of file adc_inputs.cpp.
Referenced by initHardware(), and StepperMotorBase::setInitialPosition().
adc_channel_e |
Definition at line 238 of file adc_inputs.cpp.
Referenced by printAdcValue(), and printFullAdcReport().
|
static |
Definition at line 35 of file adc_inputs.cpp.
Referenced by printFullAdcReportIfNeeded(), and setAdcDebugReporting().
|
static |
Definition at line 32 of file adc_inputs.cpp.
Referenced by addFastAdcChannel(), configureInputs(), getAdcMode(), getInternalAdcValue(), and removeChannel().
|
extern |
Referenced by addFastAdcChannel(), getInternalAdcValue(), initAdcInputs(), and printFullAdcReport().
|
static |
Definition at line 30 of file adc_inputs.cpp.
Referenced by getMCUInternalTemperature().
|
static |
Definition at line 203 of file adc_inputs.cpp.
Referenced by initAdcInputs().
|
static |
Definition at line 27 of file adc_inputs.cpp.
Referenced by printFullAdcReport(), and waitForSlowAdc().
|
static |
Definition at line 28 of file adc_inputs.cpp.
|
static |
Definition at line 25 of file adc_inputs.cpp.
Referenced by getInternalAdcValue().