rusefi-1/firmware/hw_layer/adc
Andrey G b92e3086d0
Adc isAdcChannelValid helper (#2188)
* Guard define argument

* ADC: isAdcChannelValid

Check for both <= EFI_ADC_NONE and >= EFI_ADC_LAST_CHANNEL
Also check for value out of enum range (corrupted settings)

* Fix unit tests
2021-01-05 16:02:20 -05:00
..
AdcConfiguration.h ADC: correctly calculate cache invalidate range for STM32F7xxx (#2021) 2020-12-05 10:14:33 -05:00
adc_external.h Adc isAdcChannelValid helper (#2188) 2021-01-05 16:02:20 -05:00
adc_inputs.cpp Adc isAdcChannelValid helper (#2188) 2021-01-05 16:02:20 -05:00
adc_inputs.h Adc isAdcChannelValid helper (#2188) 2021-01-05 16:02:20 -05:00
adc_subscription.cpp Adc isAdcChannelValid helper (#2188) 2021-01-05 16:02:20 -05:00
adc_subscription.h
mcp3208.c
mcp3208.h