Searched refs:hal_out (Results 1 – 2 of 2) sorted by relevance
64 static struct hal_output_t hal_out; variable86 if (hal_out.accel_status & INV_NEW_DATA) in inv_get_sensor_type_accelerometer()118 if (hal_out.accel_status & INV_NEW_DATA) in inv_get_sensor_type_linear_acceleration()138 *accuracy = (int8_t) hal_out.accuracy_quat; in inv_get_sensor_type_gravity()139 *timestamp = hal_out.nav_timestamp; in inv_get_sensor_type_gravity()144 if (hal_out.accel_status & INV_NEW_DATA) in inv_get_sensor_type_gravity()173 if (hal_out.gyro_status & INV_NEW_DATA) in inv_get_sensor_type_gyroscope()198 if (hal_out.gyro_status & INV_NEW_DATA) in inv_get_sensor_type_gyroscope_raw()235 *accuracy = (int8_t) hal_out.accuracy_quat; in inv_get_sensor_type_rotation_vector()236 *timestamp = hal_out.nav_timestamp; in inv_get_sensor_type_rotation_vector()[all …]
72 static struct hal_output_t hal_out; variable76 hal_out.linear_acceleration_sample_rate_us = sample_rate_us; in inv_set_linear_acceleration_sample_rate()81 hal_out.orientation_sample_rate_us = sample_rate_us; in inv_set_orientation_sample_rate()86 hal_out.rotation_vector_sample_rate_us = sample_rate_us; in inv_set_rotation_vector_sample_rate()91 hal_out.gravity_sample_rate_us = sample_rate_us; in inv_set_gravity_sample_rate()96 hal_out.orientation_6_axis_sample_rate_us = sample_rate_us; in inv_set_orientation_6_axis_sample_rate()101 hal_out.geomagnetic_rotation_vector_sample_rate_us = sample_rate_us; in inv_set_orientation_geomagnetic_sample_rate()106 hal_out.rotation_vector_6_axis_sample_rate_us = sample_rate_us; in inv_set_rotation_vector_6_axis_sample_rate()111 hal_out.geomagnetic_rotation_vector_sample_rate_us = sample_rate_us; in inv_set_geomagnetic_rotation_vector_sample_rate()134 if (hal_out.accel_status & INV_NEW_DATA) in inv_get_sensor_type_accelerometer()[all …]