Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/adi/adxl362/
Dadxl362_decoder.c134 data->shift = range_to_shift[enc_data->selected_range]; in adxl362_decode_stream()
147 data_in, enc_data->selected_range); in adxl362_decode_stream()
160 data_in, enc_data->selected_range); in adxl362_decode_stream()
172 data_in, enc_data->selected_range); in adxl362_decode_stream()
184 data_in, enc_data->selected_range); in adxl362_decode_stream()
193 data_in, enc_data->selected_range); in adxl362_decode_stream()
202 data_in, enc_data->selected_range); in adxl362_decode_stream()
296 adxl362_accel_convert(out, data->acc_x, data->selected_range); in adxl362_decode_sample()
299 adxl362_accel_convert(out, data->acc_y, data->selected_range); in adxl362_decode_sample()
302 adxl362_accel_convert(out, data->acc_z, data->selected_range); in adxl362_decode_sample()
[all …]
Dadxl362.c220 adxl362_data->selected_range = range; in adxl362_set_range()
574 sample_data->selected_range = data->selected_range; in adxl362_rtio_fetch()
634 adxl362_accel_convert(val, data->acc_x, data->selected_range); in adxl362_channel_get()
637 adxl362_accel_convert(val, data->acc_y, data->selected_range); in adxl362_channel_get()
640 adxl362_accel_convert(val, data->acc_z, data->selected_range); in adxl362_channel_get()
644 adxl362_accel_convert(&val[i], data->acc_xyz[i], data->selected_range); in adxl362_channel_get()
Dadxl362.h203 uint8_t selected_range; member
249 uint8_t selected_range; member
259 uint8_t selected_range: 3; member
Dadxl362_stream.c192 hdr->selected_range = data->selected_range; in adxl362_process_fifo_samples_cb()
/Zephyr-latest/drivers/sensor/adi/adxl345/
Dadxl345_decoder.c106 data->shift = range_to_shift[enc_data->selected_range]; in adxl345_decode_stream()
136 enc_data->selected_range, is_full_res); in adxl345_decode_stream()
140 enc_data->selected_range, is_full_res); in adxl345_decode_stream()
144 enc_data->selected_range, is_full_res); in adxl345_decode_stream()
Dadxl345.h158 uint8_t selected_range; member
193 uint8_t selected_range: 2; member
206 uint8_t selected_range; member
Dadxl345_stream.c161 hdr->selected_range = data->selected_range; in adxl345_process_fifo_samples_cb()
Dadxl345.c468 data->selected_range = ADXL345_RANGE_8G; in adxl345_init()