int adc_emul_const_value_set(const struct device *dev, unsigned int chan, uint32_t value)
Set constant mV value input for emulated ADC chan.
int(* adc_emul_value_func)(const struct device *dev, unsigned int chan, void *data, uint32_t *result)
Type definition of the function which is used to obtain ADC mV input values.
Definition: adc_emul.h:59
int adc_emul_value_func_set(const struct device *dev, unsigned int chan, adc_emul_value_func func, void *data)
Set function used to obtain voltage for input of emulated ADC chan.
static fdata_t data[2]
Definition: test_fifo_contexts.c:15