Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/tdk/icm42605/
Dicm42605_setup.c23 result = inv_spi_read(&cfg->spi, REG_ACCEL_CONFIG0, &databuf, 1); in icm42605_set_fs()
33 result = inv_spi_read(&cfg->spi, REG_GYRO_CONFIG0, &databuf, 1); in icm42605_set_fs()
63 result = inv_spi_read(&cfg->spi, REG_ACCEL_CONFIG0, &databuf, 1); in icm42605_set_odr()
107 result = inv_spi_read(&cfg->spi, REG_GYRO_CONFIG0, &databuf, 1); in icm42605_set_odr()
153 result = inv_spi_read(&cfg->spi, REG_WHO_AM_I, &v, 1); in icm42605_sensor_init()
161 result = inv_spi_read(&cfg->spi, REG_DEVICE_CONFIG, &v, 1); in icm42605_sensor_init()
200 result = inv_spi_read(&cfg->spi, REG_INTF_CONFIG0, &v, 1); in icm42605_sensor_init()
257 result = inv_spi_read(&cfg->spi, REG_FIFO_COUNTH, burst_read, 2); in icm42605_turn_on_fifo()
262 result = inv_spi_read(&cfg->spi, REG_FIFO_DATA, burst_read, 3); in icm42605_turn_on_fifo()
340 result = inv_spi_read(&cfg->spi, REG_FIFO_COUNTH, burst_read, 2); in icm42605_turn_off_fifo()
[all …]
Dicm42605_spi.h14 int inv_spi_read(const struct spi_dt_spec *bus, uint8_t reg, uint8_t *data, size_t len);
Dicm42605_spi.c41 int inv_spi_read(const struct spi_dt_spec *bus, uint8_t reg, uint8_t *data, size_t len) in inv_spi_read() function
Dicm42605.c132 result = inv_spi_read(&cfg->spi, REG_INT_STATUS3, drv_data->fifo_data, 1); in icm42605_tap_fetch()
134 result = inv_spi_read(&cfg->spi, REG_APEX_DATA4, in icm42605_tap_fetch()
176 result = inv_spi_read(&cfg->spi, REG_INT_STATUS, drv_data->fifo_data, 3); in icm42605_sample_fetch()
181 result = inv_spi_read(&cfg->spi, REG_FIFO_DATA, drv_data->fifo_data, in icm42605_sample_fetch()