Home
last modified time | relevance | path

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

/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
Ddatalogger_outputs.c51 struct inv_single_sensor_t *pg = &dl_out.sc.gyro; in inv_get_sensor_type_gyro_raw_short() local
54 memcpy(values, &pg->raw, sizeof(short) * 3); in inv_get_sensor_type_gyro_raw_short()
56 *timestamp = pg->timestamp; in inv_get_sensor_type_gyro_raw_short()
67 struct inv_single_sensor_t *pg = &dl_out.sc.gyro; in inv_get_sensor_type_gyro_raw_body_float() local
71 raw[0] = (long) pg->raw[0] * (1L << 16); in inv_get_sensor_type_gyro_raw_body_float()
72 raw[1] = (long) pg->raw[1] * (1L << 16); in inv_get_sensor_type_gyro_raw_body_float()
73 raw[2] = (long) pg->raw[2] * (1L << 16); in inv_get_sensor_type_gyro_raw_body_float()
74 inv_convert_to_body_with_scale(pg->orientation, pg->sensitivity, in inv_get_sensor_type_gyro_raw_body_float()
82 *timestamp = pg->timestamp; in inv_get_sensor_type_gyro_raw_body_float()