Skip to content
Commit 64bed8ad authored by Henrik Brix Andersen's avatar Henrik Brix Andersen Committed by Kumar Gala
Browse files

drivers: adc: lmp90xxx: make adc_context_start_sampling() ISR safe



Introduce a dedicated function for performing an entire LMP90xxx ADC
channel read and sample all channels in one go in the ADC acquisition
thread.

This removes the SPI transactions from adc_context_start_sampling()
which can be called in k_timer ISR context for consecutive ADC reads.

Signed-off-by: default avatarHenrik Brix Andersen <hebad@vestas.com>
parent 9909a46f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment