Searched refs:databuf (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/drivers/sensor/tdk/icm42605/ |
D | icm42605_setup.c | 20 uint8_t databuf; in icm42605_set_fs() local 23 result = inv_spi_read(&cfg->spi, REG_ACCEL_CONFIG0, &databuf, 1); in icm42605_set_fs() 27 databuf &= ~BIT_ACCEL_FSR; in icm42605_set_fs() 29 databuf |= a_sf; in icm42605_set_fs() 31 result = inv_spi_single_write(&cfg->spi, REG_ACCEL_CONFIG0, &databuf); in icm42605_set_fs() 33 result = inv_spi_read(&cfg->spi, REG_GYRO_CONFIG0, &databuf, 1); in icm42605_set_fs() 39 databuf &= ~BIT_GYRO_FSR; in icm42605_set_fs() 40 databuf |= g_sf; in icm42605_set_fs() 42 result = inv_spi_single_write(&cfg->spi, REG_GYRO_CONFIG0, &databuf); in icm42605_set_fs() 54 uint8_t databuf; in icm42605_set_odr() local [all …]
|