1 /* 2 * Copyright (c) 2024 Croxel Inc 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_MEMSIC_MC3419_H_ 7 #define ZEPHYR_INCLUDE_DT_BINDINGS_MEMSIC_MC3419_H_ 8 9 /** 10 * @defgroup MC3419 Memsic DT Options 11 * @ingroup sensor_interface 12 * @{ 13 */ 14 15 /** 16 * @defgroup MC3419_LPF_CONFIGS Lowe pass filter configurations 17 * @{ 18 */ 19 #define MC3419_LPF_DISABLE 0 20 #define MC3419_LPF_EN_WITH_IDR_BY_4p255_FC 9 21 #define MC3419_LPF_EN_WITH_IDR_BY_6_FC 10 22 #define MC3419_LPF_EN_WITH_IDR_BY_12_FC 11 23 #define MC3419_LPF_EN_WITH_IDR_BY_16_FC 13 24 /** @} */ 25 26 /** 27 * @defgroup MC3419_DECIMATION_RATES decimate sampling rate by provided rate 28 * @{ 29 */ 30 #define MC3419_DECIMATE_IDR_BY_1 0 31 #define MC3419_DECIMATE_IDR_BY_2 1 32 #define MC3419_DECIMATE_IDR_BY_4 2 33 #define MC3419_DECIMATE_IDR_BY_5 3 34 #define MC3419_DECIMATE_IDR_BY_8 4 35 #define MC3419_DECIMATE_IDR_BY_10 5 36 #define MC3419_DECIMATE_IDR_BY_16 6 37 #define MC3419_DECIMATE_IDR_BY_20 7 38 #define MC3419_DECIMATE_IDR_BY_40 8 39 #define MC3419_DECIMATE_IDR_BY_67 9 40 #define MC3419_DECIMATE_IDR_BY_80 10 41 #define MC3419_DECIMATE_IDR_BY_100 11 42 #define MC3419_DECIMATE_IDR_BY_200 12 43 #define MC3419_DECIMATE_IDR_BY_250 13 44 #define MC3419_DECIMATE_IDR_BY_500 14 45 #define MC3419_DECIMATE_IDR_BY_1000 15 46 /** @} */ 47 48 /** @} */ 49 50 #endif /*ZEPHYR_INCLUDE_DT_BINDINGS_MEMSIC_MC3419_H_ */ 51