1 /* 2 * Copyright (c) 2021 G-Technologies Sdn. Bhd. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 /** 8 * @file 9 * @brief Extended public API for MH-Z19B CO2 Sensor 10 * 11 * Some capabilities and operational requirements for this sensor 12 * cannot be expressed within the sensor driver abstraction. 13 */ 14 15 #ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_MHZ19B_H_ 16 #define ZEPHYR_INCLUDE_DRIVERS_SENSOR_MHZ19B_H_ 17 18 #ifdef __cplusplus 19 extern "C" { 20 #endif 21 22 #include <zephyr/drivers/sensor.h> 23 24 enum sensor_attribute_mhz19b { 25 /** Automatic Baseline Correction Self Calibration Function. */ 26 SENSOR_ATTR_MHZ19B_ABC = SENSOR_ATTR_PRIV_START, 27 }; 28 29 #ifdef __cplusplus 30 } 31 #endif 32 33 #endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_MHZ19B_H_ */ 34