Searched refs:sample_rate_us (Results 1 – 7 of 7) sorted by relevance
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
D | hal_outputs.h | 53 void inv_set_linear_acceleration_sample_rate(long sample_rate_us); 54 void inv_set_orientation_sample_rate(long sample_rate_us); 55 void inv_set_rotation_vector_sample_rate(long sample_rate_us); 56 void inv_set_gravity_sample_rate(long sample_rate_us); 57 void inv_set_orientation_6_axis_sample_rate(long sample_rate_us); 58 void inv_set_orientation_geomagnetic_sample_rate(long sample_rate_us); 59 void inv_set_rotation_vector_6_axis_sample_rate(long sample_rate_us); 60 void inv_set_geomagnetic_rotation_vector_sample_rate(long sample_rate_us);
|
D | data_builder.h | 93 long sample_rate_us; member 117 long sample_rate_us; member 225 void inv_set_gyro_sample_rate(long sample_rate_us); 226 void inv_set_compass_sample_rate(long sample_rate_us); 227 void inv_set_quat_sample_rate(long sample_rate_us); 228 void inv_set_accel_sample_rate(long sample_rate_us); 325 int inv_get_9_axis_timestamp(long sample_rate_us, inv_time_t *ts); 326 int inv_get_6_axis_gyro_accel_timestamp(long sample_rate_us, inv_time_t *ts); 327 int inv_get_6_axis_compass_accel_timestamp(long sample_rate_us, inv_time_t *ts);
|
D | data_builder.c | 262 void inv_set_gyro_sample_rate(long sample_rate_us) in inv_set_gyro_sample_rate() argument 268 fwrite(&sample_rate_us, sizeof(sample_rate_us), 1, inv_data_builder.file); in inv_set_gyro_sample_rate() 271 sensors.gyro.sample_rate_us = sample_rate_us; in inv_set_gyro_sample_rate() 272 sensors.gyro.sample_rate_ms = sample_rate_us / 1000; in inv_set_gyro_sample_rate() 274 sensors.gyro.bandwidth = (int)(1000000L / sample_rate_us); in inv_set_gyro_sample_rate() 281 void inv_set_accel_sample_rate(long sample_rate_us) in inv_set_accel_sample_rate() argument 287 fwrite(&sample_rate_us, sizeof(sample_rate_us), 1, inv_data_builder.file); in inv_set_accel_sample_rate() 290 sensors.accel.sample_rate_us = sample_rate_us; in inv_set_accel_sample_rate() 291 sensors.accel.sample_rate_ms = sample_rate_us / 1000; in inv_set_accel_sample_rate() 293 sensors.accel.bandwidth = (int)(1000000L / sample_rate_us); in inv_set_accel_sample_rate() [all …]
|
D | hal_outputs.c | 74 void inv_set_linear_acceleration_sample_rate(long sample_rate_us) in inv_set_linear_acceleration_sample_rate() argument 76 hal_out.linear_acceleration_sample_rate_us = sample_rate_us; in inv_set_linear_acceleration_sample_rate() 79 void inv_set_orientation_sample_rate(long sample_rate_us) in inv_set_orientation_sample_rate() argument 81 hal_out.orientation_sample_rate_us = sample_rate_us; in inv_set_orientation_sample_rate() 84 void inv_set_rotation_vector_sample_rate(long sample_rate_us) in inv_set_rotation_vector_sample_rate() argument 86 hal_out.rotation_vector_sample_rate_us = sample_rate_us; in inv_set_rotation_vector_sample_rate() 89 void inv_set_gravity_sample_rate(long sample_rate_us) in inv_set_gravity_sample_rate() argument 91 hal_out.gravity_sample_rate_us = sample_rate_us; in inv_set_gravity_sample_rate() 94 void inv_set_orientation_6_axis_sample_rate(long sample_rate_us) in inv_set_orientation_6_axis_sample_rate() argument 96 hal_out.orientation_6_axis_sample_rate_us = sample_rate_us; in inv_set_orientation_6_axis_sample_rate() [all …]
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/ |
D | and_constructor.c | 117 int32_t sensitivity, sample_rate_us = 0; in inv_playback() local 220 r = fread(&sample_rate_us, sizeof(sample_rate_us), in inv_playback() 222 inv_set_gyro_sample_rate(sample_rate_us); in inv_playback() 224 sample_rate_us); in inv_playback() 227 r = fread(&sample_rate_us, sizeof(sample_rate_us), in inv_playback() 229 inv_set_accel_sample_rate(sample_rate_us); in inv_playback() 231 sample_rate_us); in inv_playback() 234 r = fread(&sample_rate_us, sizeof(sample_rate_us), in inv_playback() 236 inv_set_compass_sample_rate(sample_rate_us); in inv_playback() 238 sample_rate_us); in inv_playback() [all …]
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | data_builder.h | 91 long sample_rate_us; member 114 long sample_rate_us; member 222 void inv_set_gyro_sample_rate(long sample_rate_us); 223 void inv_set_compass_sample_rate(long sample_rate_us); 224 void inv_set_quat_sample_rate(long sample_rate_us); 225 void inv_set_accel_sample_rate(long sample_rate_us);
|
D | data_builder.c | 261 void inv_set_gyro_sample_rate(long sample_rate_us) in inv_set_gyro_sample_rate() argument 267 fwrite(&sample_rate_us, sizeof(sample_rate_us), 1, inv_data_builder.file); in inv_set_gyro_sample_rate() 270 sensors.gyro.sample_rate_us = sample_rate_us; in inv_set_gyro_sample_rate() 271 sensors.gyro.sample_rate_ms = sample_rate_us / 1000; in inv_set_gyro_sample_rate() 273 sensors.gyro.bandwidth = (int)(1000000L / sample_rate_us); in inv_set_gyro_sample_rate() 280 void inv_set_accel_sample_rate(long sample_rate_us) in inv_set_accel_sample_rate() argument 286 fwrite(&sample_rate_us, sizeof(sample_rate_us), 1, inv_data_builder.file); in inv_set_accel_sample_rate() 289 sensors.accel.sample_rate_us = sample_rate_us; in inv_set_accel_sample_rate() 290 sensors.accel.sample_rate_ms = sample_rate_us / 1000; in inv_set_accel_sample_rate() 292 sensors.accel.bandwidth = (int)(1000000L / sample_rate_us); in inv_set_accel_sample_rate() [all …]
|