| /* |
| * Copyright (c) 2022 Linumiz |
| * |
| * SPDX-License-Identifier: Apache-2.0 |
| */ |
| |
| #ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_GROW_R502A_H_ |
| #define ZEPHYR_INCLUDE_DRIVERS_SENSOR_GROW_R502A_H_ |
| |
| #ifdef __cplusplus |
| extern "C" { |
| #endif |
| |
| #include <zephyr/drivers/sensor.h> |
| |
| enum sensor_channel_grow_r502a { |
| /** Fingerprint template count, ID number for enrolling and searching*/ |
| SENSOR_CHAN_FINGERPRINT = SENSOR_CHAN_PRIV_START, |
| }; |
| |
| enum sensor_trigger_type_grow_r502a { |
| /** Trigger fires when a touch is detected. */ |
| SENSOR_TRIG_TOUCH = SENSOR_TRIG_PRIV_START, |
| }; |
| |
| enum sensor_attribute_grow_r502a { |
| /** Add values to the sensor which are having record storage facility */ |
| SENSOR_ATTR_R502A_RECORD_ADD = SENSOR_ATTR_PRIV_START, |
| /** To find requested data in record storage */ |
| SENSOR_ATTR_R502A_RECORD_FIND, |
| /** To delete mentioned data from record storage */ |
| SENSOR_ATTR_R502A_RECORD_DEL, |
| /** To get available position to store data on record storage */ |
| SENSOR_ATTR_R502A_RECORD_FREE_IDX, |
| /** To empty the storage record*/ |
| SENSOR_ATTR_R502A_RECORD_EMPTY, |
| }; |
| |
| #ifdef __cplusplus |
| } |
| #endif |
| |
| #endif /* ZEPHYR_INCLUDE_ZEPHYR_DRIVERS_SENSOR_GROW_R502A_H_ */ |