LCOV - code coverage report
Current view: top level - zephyr/drivers/sensor - mtch9010.h Coverage Total Hit
Test: new.info Lines: 0.0 % 4 0
Test Date: 2025-10-20 12:20:01

            Line data    Source code
       1            0 : /*
       2              :  * Copyright (c) 2025 Microchip Technology Inc.
       3              :  *
       4              :  * SPDX-License-Identifier: Apache-2.0
       5              :  */
       6              : 
       7              : #ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_MTCH9010_H_
       8              : #define ZEPHYR_INCLUDE_DRIVERS_SENSOR_MTCH9010_H_
       9              : 
      10              : #include <stdint.h>
      11              : 
      12              : #include <zephyr/device.h>
      13              : #include <zephyr/kernel.h>
      14              : #include <zephyr/drivers/uart.h>
      15              : #include <zephyr/drivers/sensor.h>
      16              : #include <zephyr/logging/log.h>
      17              : 
      18            0 : #define MTCH9010_MAX_RESULT 65535
      19            0 : #define MTCH9010_MIN_RESULT 0
      20              : 
      21            0 : enum sensor_channel_mtch9010 {
      22              :         /* Polls the state of the OUT line */
      23              :         SENSOR_CHAN_MTCH9010_OUT_STATE = SENSOR_CHAN_PRIV_START,
      24              :         /* Calculates if the OUT line would be asserted based on previous result */
      25              :         SENSOR_CHAN_MTCH9010_SW_OUT_STATE,
      26              :         /* Returns the reference value set for the sensor */
      27              :         SENSOR_CHAN_MTCH9010_REFERENCE_VALUE,
      28              :         /* Returns the threshold value set for the sensor */
      29              :         SENSOR_CHAN_MTCH9010_THRESHOLD_VALUE,
      30              :         /* Returns the last measured result */
      31              :         SENSOR_CHAN_MTCH9010_MEAS_RESULT,
      32              :         /* Returns the last measured result */
      33              :         SENSOR_CHAN_MTCH9010_MEAS_DELTA,
      34              :         /* Returns true if the heartbeat is an error state */
      35              :         SENSOR_CHAN_MTCH9010_HEARTBEAT_ERROR_STATE
      36              : };
      37              : 
      38              : #endif
        

Generated by: LCOV version 2.0-1