1 /* 2 * Copyright (c) 2022 Linumiz 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_GROW_R502A_H_ 8 #define ZEPHYR_INCLUDE_DRIVERS_SENSOR_GROW_R502A_H_ 9 10 #ifdef __cplusplus 11 extern "C" { 12 #endif 13 14 #include <zephyr/drivers/sensor.h> 15 16 enum sensor_channel_grow_r502a { 17 /** Fingerprint template count, ID number for enrolling and searching*/ 18 SENSOR_CHAN_FINGERPRINT = SENSOR_CHAN_PRIV_START, 19 }; 20 21 enum sensor_trigger_type_grow_r502a { 22 /** Trigger fires when a touch is detected. */ 23 SENSOR_TRIG_TOUCH = SENSOR_TRIG_PRIV_START, 24 }; 25 26 enum sensor_attribute_grow_r502a { 27 /** Add values to the sensor which are having record storage facility */ 28 SENSOR_ATTR_R502A_RECORD_ADD = SENSOR_ATTR_PRIV_START, 29 /** To find requested data in record storage */ 30 SENSOR_ATTR_R502A_RECORD_FIND, 31 /** To delete mentioned data from record storage */ 32 SENSOR_ATTR_R502A_RECORD_DEL, 33 /** To get available position to store data on record storage */ 34 SENSOR_ATTR_R502A_RECORD_FREE_IDX, 35 /** To empty the storage record*/ 36 SENSOR_ATTR_R502A_RECORD_EMPTY, 37 }; 38 39 #ifdef __cplusplus 40 } 41 #endif 42 43 #endif /* ZEPHYR_INCLUDE_ZEPHYR_DRIVERS_SENSOR_GROW_R502A_H_ */ 44