1 /* 2 * Copyright (c) 2024, MASSDRIVER EI (massdriver.space) 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 /** 8 * @file 9 * @brief Extended public API for Phosense XBR818 10 GHz Radar 10 * 11 * This exposes 4 additional attributes used to configure the IC 12 */ 13 14 #ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_XBR818_H_ 15 #define ZEPHYR_INCLUDE_DRIVERS_SENSOR_XBR818_H_ 16 17 #ifdef __cplusplus 18 extern "C" { 19 #endif 20 21 enum sensor_attribute_xbr818 { 22 /*! 23 * Time of received activity before output is triggered, in seconds 24 */ 25 SENSOR_ATTR_XBR818_DELAY_TIME = SENSOR_ATTR_PRIV_START, 26 /*! 27 * How long output stays triggered after no more activity is detected, in seconds 28 */ 29 SENSOR_ATTR_XBR818_LOCK_TIME, 30 /*! 31 * Noise floor Threshold for Radar, 16 first LSBs of the integer part. 32 */ 33 SENSOR_ATTR_XBR818_NOISE_FLOOR, 34 /*! 35 * RF Power for Radar, 0 to 7, LSB of the integer part. 36 */ 37 SENSOR_ATTR_XBR818_RF_POWER 38 }; 39 40 #ifdef __cplusplus 41 } 42 #endif 43 44 #endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_XBR818_H_ */ 45