15#ifndef SLOW_ADC_CHANNEL_COUNT
17#define SLOW_ADC_CHANNEL_COUNT 32
19#define SLOW_ADC_CHANNEL_COUNT 16
71 for (
int internalIndex = 0; internalIndex < SLOW_ADC_CHANNEL_COUNT; internalIndex++) {
91 chThdSleepMilliseconds(1);
static float mcuTemperature
static float mcuVrefVoltage
void adcPrintChannelReport(const char *prefix, int internalIndex, adc_channel_e hwChannel)
void waitForSlowAdc(uint32_t lastAdcCounter)
static volatile NO_CACHE adcsample_t slowAdcSamples[SLOW_ADC_CHANNEL_COUNT]
static uint32_t slowAdcConversionCount
adcsample_t adcOnchipSlowGetAvgRaw(adc_channel_e hwChannel)
void adcOnchipSlowUpdate(efitick_t nowNt)
float getMCUInternalTemperature()
void adcOnchipSlowShowReport()
TunerStudioOutputChannels outputChannels
bool readSlowAnalogInputs(adcsample_t *convertedSamples)
float getMcuVrefVoltage()
float getMcuTemperature()
static EngineAccessor engine
uint16_t adcsample_t
ADC sample data type.
UNUSED(samplingTimeSeconds)
static union @47 NO_CACHE
uint8_t slowAdcErrorCount