Zephyr API Documentation
3.5.0
A Scalable Open Source RTOS
|
|
3.5.0 |
Go to the source code of this file.
Functions | |
static bool | emul_sensor_backend_is_supported (const struct emul *target) |
Check if a given sensor emulator supports the backend API. | |
static int | emul_sensor_backend_set_channel (const struct emul *target, enum sensor_channel ch, q31_t value, int8_t shift) |
Set an expected value for a given channel on a given sensor emulator. | |
static int | emul_sensor_backend_get_sample_range (const struct emul *target, enum sensor_channel ch, q31_t *lower, q31_t *upper, q31_t *epsilon, int8_t *shift) |
Query an emulator for a channel's supported sample value range and tolerance. | |