1 /* 2 * Copyright (c) 2022, Prevas A/S 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_QDEC_MCUX_H_ 8 #define ZEPHYR_INCLUDE_DRIVERS_SENSOR_QDEC_MCUX_H_ 9 10 #include <zephyr/drivers/sensor.h> 11 12 enum sensor_attribute_qdec_mcux { 13 /* Number of counts per revolution */ 14 SENSOR_ATTR_QDEC_MOD_VAL = SENSOR_ATTR_PRIV_START, 15 /* Single phase counting */ 16 SENSOR_ATTR_QDEC_ENABLE_SINGLE_PHASE, 17 }; 18 19 #endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_QDEC_MCUX_H_ */ 20