Home
last modified time | relevance | path

Searched defs:odr (Results 1 – 25 of 35) sorted by relevance

12

/Zephyr-Core-2.7.6/samples/sensor/lis2dh/src/
Dmain.c73 struct sensor_value odr = { in main() local
/Zephyr-Core-2.7.6/drivers/sensor/bmi270/
Dbmi270.c75 double odr = sensor_value_to_double((struct sensor_value *) val); in acc_odr_to_reg() local
106 static int set_accel_odr_osr(const struct sensor_value *odr, in set_accel_odr_osr()
270 double odr = sensor_value_to_double((struct sensor_value *) val); in gyr_odr_to_reg() local
294 static int set_gyro_odr_osr(const struct sensor_value *odr, in set_gyro_odr_osr()
/Zephyr-Core-2.7.6/drivers/sensor/stts751/
Dstts751.c25 static inline int stts751_set_odr_raw(const struct device *dev, uint8_t odr) in stts751_set_odr_raw()
91 int odr; in stts751_odr_set() local
/Zephyr-Core-2.7.6/drivers/sensor/lps22hh/
Dlps22hh.c25 static inline int lps22hh_set_odr_raw(const struct device *dev, uint8_t odr) in lps22hh_set_odr_raw()
101 int odr; in lps22hh_odr_set() local
/Zephyr-Core-2.7.6/drivers/sensor/ism330dhcx/
Dism330dhcx.c42 static int ism330dhcx_odr_to_freq_val(uint16_t odr) in ism330dhcx_odr_to_freq_val()
112 static int ism330dhcx_accel_set_odr_raw(const struct device *dev, uint8_t odr) in ism330dhcx_accel_set_odr_raw()
136 static int ism330dhcx_gyro_set_odr_raw(const struct device *dev, uint8_t odr) in ism330dhcx_gyro_set_odr_raw()
149 int odr; in ism330dhcx_accel_odr_set() local
203 int odr; in ism330dhcx_gyro_odr_set() local
Dism330dhcx_shub.c103 uint8_t odr, cfg; in ism330dhcx_lis2mdl_odr_set() local
198 uint8_t odr, cfg; in ism330dhcx_hts221_odr_set() local
311 uint8_t odr, cfg; in ism330dhcx_lps22hh_odr_set() local
479 uint8_t odr = (enable) ? 2 : 0; in ism330dhcx_shub_enable() local
/Zephyr-Core-2.7.6/drivers/sensor/iis2iclx/
Diis2iclx.c42 static int iis2iclx_odr_to_freq_val(uint16_t odr) in iis2iclx_odr_to_freq_val()
97 static int iis2iclx_accel_set_odr_raw(const struct device *dev, uint8_t odr) in iis2iclx_accel_set_odr_raw()
113 int odr; in iis2iclx_accel_odr_set() local
536 uint8_t odr = cfg->odr; in iis2iclx_init_chip() local
Diis2iclx_shub.c101 uint8_t odr, cfg; in iis2iclx_lis2mdl_odr_set() local
199 uint8_t odr, cfg; in iis2iclx_hts221_odr_set() local
312 uint8_t odr, cfg; in iis2iclx_lps22hh_odr_set() local
486 uint8_t odr = (enable) ? 2 : 0; in iis2iclx_shub_enable() local
Diis2iclx.h49 uint8_t odr; member
/Zephyr-Core-2.7.6/drivers/sensor/lsm6dsl/
Dlsm6dsl.c44 static int lsm6dsl_odr_to_freq_val(uint16_t odr) in lsm6dsl_odr_to_freq_val()
123 static int lsm6dsl_accel_set_odr_raw(const struct device *dev, uint8_t odr) in lsm6dsl_accel_set_odr_raw()
162 static int lsm6dsl_gyro_set_odr_raw(const struct device *dev, uint8_t odr) in lsm6dsl_gyro_set_odr_raw()
179 int odr; in lsm6dsl_accel_odr_set() local
242 int odr; in lsm6dsl_gyro_odr_set() local
/Zephyr-Core-2.7.6/drivers/sensor/lsm6dso/
Dlsm6dso.c44 static int lsm6dso_odr_to_freq_val(uint16_t odr) in lsm6dso_odr_to_freq_val()
121 static int lsm6dso_accel_set_odr_raw(const struct device *dev, uint8_t odr) in lsm6dso_accel_set_odr_raw()
148 static int lsm6dso_gyro_set_odr_raw(const struct device *dev, uint8_t odr) in lsm6dso_gyro_set_odr_raw()
163 int odr; in lsm6dso_accel_odr_set() local
225 int odr; in lsm6dso_gyro_odr_set() local
Dlsm6dso_shub.c101 uint8_t odr, cfg; in lsm6dso_lis2mdl_odr_set() local
196 uint8_t odr, cfg; in lsm6dso_hts221_odr_set() local
309 uint8_t odr, cfg; in lsm6dso_lps22hh_odr_set() local
481 uint8_t odr = (enable) ? 2 : 0; in lsm6dso_shub_enable() local
/Zephyr-Core-2.7.6/drivers/sensor/lsm9ds0_gyro/
Dlsm9ds0_gyro.c86 uint8_t odr) in lsm9ds0_gyro_set_odr_raw()
106 static int lsm9ds0_gyro_set_odr(const struct device *dev, int odr) in lsm9ds0_gyro_set_odr()
/Zephyr-Core-2.7.6/drivers/sensor/lps22hb/
Dlps22hb.c23 static inline int lps22hb_set_odr_raw(const struct device *dev, uint8_t odr) in lps22hb_set_odr_raw()
/Zephyr-Core-2.7.6/drivers/sensor/lps25hb/
Dlps25hb.c34 static inline int lps25hb_set_odr_raw(const struct device *dev, uint8_t odr) in lps25hb_set_odr_raw()
/Zephyr-Core-2.7.6/drivers/sensor/lsm6ds0/
Dlsm6ds0.c74 static int lsm6ds0_accel_set_odr_raw(const struct device *dev, uint8_t odr) in lsm6ds0_accel_set_odr_raw()
122 static int lsm6ds0_gyro_set_odr_raw(const struct device *dev, uint8_t odr) in lsm6ds0_gyro_set_odr_raw()
/Zephyr-Core-2.7.6/drivers/sensor/iis2dh/
Diis2dh.c92 static int iis2dh_set_odr(const struct device *dev, uint16_t odr) in iis2dh_set_odr()
/Zephyr-Core-2.7.6/drivers/sensor/lis2ds12/
Dlis2ds12.c63 int odr; in lis2ds12_accel_odr_set() local
/Zephyr-Core-2.7.6/drivers/sensor/lsm9ds0_mfd/
Dlsm9ds0_mfd.c46 uint8_t odr) in lsm9ds0_mfd_accel_set_odr_raw()
137 uint8_t odr) in lsm9ds0_mfd_magn_set_odr_raw()
/Zephyr-Core-2.7.6/drivers/sensor/adxl372/
Dadxl372.c339 static int adxl372_set_odr(const struct device *dev, enum adxl372_odr odr) in adxl372_set_odr()
614 enum adxl372_odr odr; in adxl372_attr_set_odr() local
/Zephyr-Core-2.7.6/drivers/sensor/iis2mdc/
Diis2mdc.c30 iis2mdc_odr_t odr; in iis2mdc_set_odr() local
/Zephyr-Core-2.7.6/drivers/sensor/iis2dlpc/
Diis2dlpc.c61 static int iis2dlpc_set_odr(const struct device *dev, uint16_t odr) in iis2dlpc_set_odr()
/Zephyr-Core-2.7.6/drivers/sensor/lis2dw12/
Dlis2dw12.c62 static int lis2dw12_set_odr(const struct device *dev, uint16_t odr) in lis2dw12_set_odr()
/Zephyr-Core-2.7.6/drivers/sensor/lis2mdl/
Dlis2mdl.c39 lis2mdl_odr_t odr; in lis2mdl_set_odr() local
/Zephyr-Core-2.7.6/drivers/sensor/fxos8700/
Dfxos8700.c392 struct sensor_value odr = {.val1 = 6, .val2 = 250000}; in fxos8700_init() local

12