Line data Source code
1 0 : /* 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 0 : #define MC3419_LPF_DISABLE 0 20 0 : #define MC3419_LPF_EN_WITH_IDR_BY_4p255_FC 9 21 0 : #define MC3419_LPF_EN_WITH_IDR_BY_6_FC 10 22 0 : #define MC3419_LPF_EN_WITH_IDR_BY_12_FC 11 23 0 : #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 0 : #define MC3419_DECIMATE_IDR_BY_1 0 31 0 : #define MC3419_DECIMATE_IDR_BY_2 1 32 0 : #define MC3419_DECIMATE_IDR_BY_4 2 33 0 : #define MC3419_DECIMATE_IDR_BY_5 3 34 0 : #define MC3419_DECIMATE_IDR_BY_8 4 35 0 : #define MC3419_DECIMATE_IDR_BY_10 5 36 0 : #define MC3419_DECIMATE_IDR_BY_16 6 37 0 : #define MC3419_DECIMATE_IDR_BY_20 7 38 0 : #define MC3419_DECIMATE_IDR_BY_40 8 39 0 : #define MC3419_DECIMATE_IDR_BY_67 9 40 0 : #define MC3419_DECIMATE_IDR_BY_80 10 41 0 : #define MC3419_DECIMATE_IDR_BY_100 11 42 0 : #define MC3419_DECIMATE_IDR_BY_200 12 43 0 : #define MC3419_DECIMATE_IDR_BY_250 13 44 0 : #define MC3419_DECIMATE_IDR_BY_500 14 45 0 : #define MC3419_DECIMATE_IDR_BY_1000 15 46 : /** @} */ 47 : 48 : /** @} */ 49 : 50 : #endif /*ZEPHYR_INCLUDE_DT_BINDINGS_MEMSIC_MC3419_H_ */