Home
last modified time | relevance | path

Searched refs:gyro_hz (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/drivers/sensor/tdk/icm42605/
Dicm42605.h38 uint16_t gyro_hz; member
70 uint16_t gyro_hz; member
Dicm42605.c297 drv_data->gyro_hz = val->val1; in icm42605_attr_set()
349 val->val1 = drv_data->gyro_hz; in icm42605_attr_get()
378 data->gyro_hz = cfg->gyro_hz; in icm42605_data_init()
439 .gyro_hz = DT_INST_PROP(index, gyro_hz), \
Dicm42605_setup.c404 icm42605_set_odr(dev, drv_data->accel_hz, drv_data->gyro_hz); in icm42605_turn_on_sensor()
/Zephyr-latest/drivers/sensor/tdk/icm42670/
Dicm42670.h67 uint16_t gyro_hz; member
104 uint16_t gyro_hz; member
Dicm42670.c383 if (drv_data->gyro_hz == 0) { in icm42670_set_gyro_odr()
386 convert_freq_to_bitfield(val->val1, &drv_data->gyro_hz)); in icm42670_set_gyro_odr()
391 convert_freq_to_bitfield(val->val1, &drv_data->gyro_hz)); in icm42670_set_gyro_odr()
395 drv_data->gyro_hz = val->val1; in icm42670_set_gyro_odr()
527 if (cfg->gyro_hz != 0) { in icm42670_turn_on_sensor()
529 cfg->gyro_hz + ICM42670_CONVERT_ENUM_TO_ODR_POS); in icm42670_turn_on_sensor()
540 data->gyro_hz = convert_dt_enum_to_freq(cfg->gyro_hz); in icm42670_turn_on_sensor()
941 val->val1 = data->gyro_hz; in icm42670_attr_get()
1047 .gyro_hz = DT_INST_ENUM_IDX(inst, gyro_hz), \
/Zephyr-latest/drivers/sensor/bosch/bmi08x/
Dbmi08x_gyro.c400 ret = bmi08x_gyro_byte_write(dev, BMI08X_REG_GYRO_BANDWIDTH, config->gyro_hz); in bmi08x_gyro_init()
474 .gyro_hz = DT_INST_ENUM_IDX(inst, gyro_hz), \
Dbmi08x.h498 uint8_t gyro_hz; member
Dbmi08x_accel.c747 #define BMI08X_GYRO_ODR(inst) DT_ENUM_IDX(DT_INST_PHANDLE(inst, data_sync), gyro_hz)