123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- extern "C" {
- typedef int (*adc_emul_value_func)(const struct device *dev, unsigned int chan,
- void *data, uint32_t *result);
- int adc_emul_const_value_set(const struct device *dev, unsigned int chan,
- uint32_t value);
- int adc_emul_value_func_set(const struct device *dev, unsigned int chan,
- adc_emul_value_func func, void *data);
- int adc_emul_ref_voltage_set(const struct device *dev, enum adc_reference ref,
- uint16_t value);
- }
|