Line data Source code
1 1 : /* 2 : * Copyright (c) 2020 arithmetics.io 3 : * 4 : * SPDX-License-Identifier: Apache-2.0 5 : */ 6 : 7 : /** 8 : * @file 9 : * @brief Extended public API for the Texas Instruments FDC2X1X 10 : */ 11 : 12 : #ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_FDC2X1X_H_ 13 : #define ZEPHYR_INCLUDE_DRIVERS_SENSOR_FDC2X1X_H_ 14 : 15 : #ifdef __cplusplus 16 : extern "C" { 17 : #endif 18 : 19 : #include <zephyr/drivers/sensor.h> 20 : 21 0 : enum sensor_channel_fdc2x1x { 22 : /** CH0 Capacitance, in Picofarad **/ 23 : SENSOR_CHAN_FDC2X1X_CAPACITANCE_CH0 = SENSOR_CHAN_PRIV_START, 24 : /** CH1 Capacitance, in Picofarad **/ 25 : SENSOR_CHAN_FDC2X1X_CAPACITANCE_CH1, 26 : /** CH2 Capacitance, in Picofarad **/ 27 : SENSOR_CHAN_FDC2X1X_CAPACITANCE_CH2, 28 : /** CH3 Capacitance, in Picofarad **/ 29 : SENSOR_CHAN_FDC2X1X_CAPACITANCE_CH3, 30 : 31 : /** CH0 Frequency, in MHz **/ 32 : SENSOR_CHAN_FDC2X1X_FREQ_CH0, 33 : /** CH1 Frequency, in MHz **/ 34 : SENSOR_CHAN_FDC2X1X_FREQ_CH1, 35 : /** CH2 Frequency, in MHz **/ 36 : SENSOR_CHAN_FDC2X1X_FREQ_CH2, 37 : /** CH3 Frequency, in MHz **/ 38 : SENSOR_CHAN_FDC2X1X_FREQ_CH3, 39 : }; 40 : 41 : #ifdef __cplusplus 42 : } 43 : #endif 44 : 45 : #endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_FDC2X1X_ */