13#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_MTCH9010_H_
14#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_MTCH9010_H_
30#define MTCH9010_MAX_RESULT 65535
32#define MTCH9010_MIN_RESULT 0
APIs and macros for the Zephyr device model.
Main header file for UART driver API.
sensor_channel_mtch9010
Custom sensor channels for MTCH9010.
Definition mtch9010.h:35
@ SENSOR_CHAN_MTCH9010_THRESHOLD_VALUE
Threshold value set for the sensor.
Definition mtch9010.h:43
@ SENSOR_CHAN_MTCH9010_SW_OUT_STATE
Whether the OUT line would be asserted for the last result.
Definition mtch9010.h:39
@ SENSOR_CHAN_MTCH9010_HEARTBEAT_ERROR_STATE
Whether the heartbeat signals an error state.
Definition mtch9010.h:49
@ SENSOR_CHAN_MTCH9010_MEAS_DELTA
Last measured delta from the reference value.
Definition mtch9010.h:47
@ SENSOR_CHAN_MTCH9010_REFERENCE_VALUE
Reference value set for the sensor.
Definition mtch9010.h:41
@ SENSOR_CHAN_MTCH9010_OUT_STATE
State of the OUT line.
Definition mtch9010.h:37
@ SENSOR_CHAN_MTCH9010_MEAS_RESULT
Last measured result.
Definition mtch9010.h:45
@ SENSOR_CHAN_PRIV_START
This and higher values are sensor specific.
Definition sensor.h:253
Header file for the logging subsystem.
Main header file for sensor driver API.