Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/sensor/tdk/icm42688/
Dicm42688_decoder.c234 static int icm42688_read_imu_from_packet(const uint8_t *pkt, bool is_accel, int fs, in icm42688_read_imu_from_packet() argument
242 if (is_accel) { in icm42688_read_imu_from_packet()
286 if (!is_accel && FIELD_GET(FIFO_HEADER_ACCEL, pkt[0]) == 1) { in icm42688_read_imu_from_packet()
293 uint32_t mask = is_accel ? GENMASK(7, 4) : GENMASK(3, 0); in icm42688_read_imu_from_packet()
298 scale = is_accel ? (INT64_C(16) * BIT(8) * 9.80665) : 131; in icm42688_read_imu_from_packet()
299 max = is_accel ? BIT(18) : BIT(19); in icm42688_read_imu_from_packet()