23static_assert(efi::size(
rangeSensors) == RANGE_INPUT_COUNT);
static AdcSubscriptionEntry * SubscribeSensor(FunctionalSensorBase &sensor, adc_channel_e channel, float lowpassCutoffHZ, float voltsPerAdcVolt=0.0f)
Class for sensors that convert from some raw floating point value (ex: voltage, frequency,...
void configure(float supplyVoltage, float pullupResistor, bool isPulldown)
static constexpr engine_configuration_s * engineConfiguration
static Lps25Sensor sensor(device)
static ResistanceFunc rangeFuncs[RANGE_INPUT_COUNT]
static FunctionalSensor rangeSensors[]
float tcu_rangeSensorBiasResistor
bool tcu_rangeSensorPulldown
adc_channel_e tcu_rangeAnalogInput[RANGE_INPUT_COUNT]