Home
last modified time | relevance | path

Searched refs:rep_z (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-2.7.6/drivers/sensor/bmc150_magn/
Dbmc150_magn.c42 uint8_t rep_z; member
140 data->rep_z = BMC150_MAGN_REGVAL_TO_REPZ((int)(reg_val)); in bmc150_magn_read_rep_z()
146 int rep_z, int *max_odr) in bmc150_magn_compute_max_odr() argument
159 if (rep_z == 0) { in bmc150_magn_compute_max_odr()
160 if (data->rep_z <= 0) { in bmc150_magn_compute_max_odr()
165 rep_z = data->rep_z; in bmc150_magn_compute_max_odr()
168 *max_odr = 1000000 / (145 * rep_xy + 500 * rep_z + 980); in bmc150_magn_compute_max_odr()
231 data->rep_z = val; in bmc150_magn_write_rep_z()
530 BMC150_MAGN_REPZ_TO_REGVAL(preset.rep_z)) < 0) { in bmc150_magn_init_chip()
532 preset.rep_z); in bmc150_magn_init_chip()
[all …]
Dbmc150_magn.h134 int rep_xy, rep_z, odr, max_odr; member
/Zephyr-Core-2.7.6/drivers/sensor/bmm150/
Dbmm150.c30 uint8_t rep_z; member
128 data->rep_z = BMM150_REGVAL_TO_REPZ((int)(reg_val)); in bmm150_read_rep_z()
134 int rep_z, int *max_odr) in bmm150_compute_max_odr() argument
147 if (rep_z == 0) { in bmm150_compute_max_odr()
148 if (data->rep_z <= 0) { in bmm150_compute_max_odr()
153 rep_z = data->rep_z; in bmm150_compute_max_odr()
157 *max_odr = 1000000 / (145 * rep_xy + 500 * rep_z + 980); in bmm150_compute_max_odr()
220 data->rep_z = val; in bmm150_write_rep_z()
542 BMM150_REPZ_TO_REGVAL(preset.rep_z)) < 0) { in bmm150_init_chip()
544 preset.rep_z); in bmm150_init_chip()
[all …]
Dbmm150.h124 int rep_xy, rep_z, odr, max_odr; member