Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
mtch9010.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2025 Microchip Technology Inc.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
12
13#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_MTCH9010_H_
14#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_MTCH9010_H_
15
16#include <stdint.h>
17
18#include <zephyr/device.h>
19#include <zephyr/kernel.h>
20#include <zephyr/drivers/uart.h>
22#include <zephyr/logging/log.h>
23
28
30#define MTCH9010_MAX_RESULT 65535
32#define MTCH9010_MIN_RESULT 0
33
51
53
54#endif
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
Public kernel APIs.
Header file for the logging subsystem.
Main header file for sensor driver API.