Searched refs:divider (Results 1 – 5 of 5) sorted by relevance
95 unsigned char divider; member319 return 8000L / (mldl_cfg->divider + 1); in inv_mpu_get_sampling_rate_hz()321 return 1000L / (mldl_cfg->divider + 1); in inv_mpu_get_sampling_rate_hz()327 return (long) (1000000L * (mldl_cfg->divider + 1)) / 8000L; in inv_mpu_get_sampling_period_us()329 return (long) (1000000L * (mldl_cfg->divider + 1)) / 1000L; in inv_mpu_get_sampling_period_us()
131 inv_error_t inv_dl_cfg_sampling(unsigned char lpf, unsigned char divider);
480 inv_error_t inv_dl_cfg_sampling(unsigned char lpf, unsigned char divider) in inv_dl_cfg_sampling() argument488 mldlCfg.divider = divider; in inv_dl_cfg_sampling()
71 MPL_LOGD("mldl_cfg.divider = %02x\n", mldl_cfg->divider); in mpu_print_cfg()
295 unsigned char divider; in inv_constructor_start() local346 divider = 9; in inv_constructor_start()348 inv_set_gyro_sample_rate(1000L*(divider+1)); in inv_constructor_start()350 inv_set_compass_sample_rate(1000L*(divider+1)); in inv_constructor_start()352 inv_set_accel_sample_rate(1000L*(divider+1)); in inv_constructor_start()