Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/algos/calibration/online_calibration/gyroscope/gyro_offset_over_temp_cal/
Dgyro_offset_over_temp_cal.cc42 sample.data[SensorIndex::kXAxis], in SetMeasurement()
43 sample.data[SensorIndex::kYAxis], in SetMeasurement()
44 sample.data[SensorIndex::kZAxis]); // [m/sec^2] in SetMeasurement()
49 sample.data[SensorIndex::kXAxis], in SetMeasurement()
50 sample.data[SensorIndex::kYAxis], in SetMeasurement()
51 sample.data[SensorIndex::kZAxis], // [rad/sec] in SetMeasurement()
57 sample.data[SensorIndex::kXAxis], in SetMeasurement()
58 sample.data[SensorIndex::kYAxis], in SetMeasurement()
59 sample.data[SensorIndex::kZAxis]); // [micro-Tesla] in SetMeasurement()
63 temperature_celsius_ = sample.data[SensorIndex::kSingleAxis]; in SetMeasurement()
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/common_data/
Dsensor_data.h79 enum SensorIndex : int8_t { enum
103 data[SensorIndex::kXAxis] = x_axis; in SensorData()
104 data[SensorIndex::kYAxis] = y_axis; in SensorData()
105 data[SensorIndex::kZAxis] = z_axis; in SensorData()
111 data[SensorIndex::kSingleAxis] = single_axis_sample; in SensorData()
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/accelerometer/accel_offset_cal/
Daccel_offset_cal.cc36 sample.data[SensorIndex::kXAxis], in SetMeasurement()
37 sample.data[SensorIndex::kYAxis], in SetMeasurement()
38 sample.data[SensorIndex::kZAxis], // [m/sec^2] in SetMeasurement()
48 temperature_celsius_ = sample.data[SensorIndex::kSingleAxis]; in SetMeasurement()
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/magnetometer/mag_diverse_cal/
Dmag_diverse_cal.cc42 sample.data[SensorIndex::kXAxis], sample.data[SensorIndex::kYAxis], in SetMeasurement()
43 sample.data[SensorIndex::kZAxis]); in SetMeasurement()
47 temperature_celsius_ = sample.data[SensorIndex::kSingleAxis]; in SetMeasurement()
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c444 enum SensorIndex { enum
565 enum SensorIndex idx;
980 static void resetOffsetReg(TASK, enum SensorIndex idx)
1125 static bool calSelftestGetOneData(enum SensorIndex sensor_idx, const uint8_t *data, int idx, int16_…
1156 static void calSelftestFifoEnable(TASK, enum SensorIndex idx, bool en, uint32_t delay)
1201 static void calibrationInit(TASK, enum SensorIndex idx)
1241 static void calibrationDeinit(TASK, enum SensorIndex idx)
1258 static void calibrationHandling(TASK, enum SensorIndex idx)
1484 static void selfTestInit(TASK, enum SensorIndex idx)
1537 static void selfTestDeinit(TASK, enum SensorIndex idx)
[all …]
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c460 enum SensorIndex { enum
565 …laveRegister(uint8_t addr, uint8_t value, uint32_t accelRate, uint32_t delay, enum SensorIndex si);
691 enum SensorIndex idx;
714 enum SensorIndex decimatorsIdx[FIFO_NUM];
1576 static void lsm6dsm_runGapSelfTestProgram(enum SensorIndex idx) in lsm6dsm_runGapSelfTestProgram()
1850 static void lsm6dsm_runCalibrationProgram(enum SensorIndex idx) in lsm6dsm_runCalibrationProgram()
2080 …SlaveRegister(uint8_t addr, uint8_t value, uint32_t accelRate, uint32_t delay, enum SensorIndex si) in lsm6dsm_writeSlaveRegister()
2223 enum SensorIndex sidx; in lsm6dsm_calculateFifoDecimators()
4067 enum SensorIndex i; in lsm6dsm_processPendingEvt()
4400 static void lsm6dsm_pushData(enum SensorIndex sidx, uint16_t *numSamples) in lsm6dsm_pushData()
[all …]
/device/google/contexthub/firmware/os/algos/calibration/nano_calibration/
Dnano_calibration.cc51 using ::online_calibration::SensorIndex;
183 sample.data[SensorIndex::kSingleAxis] = in HandleTemperatureSamples()
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c328 enum SensorIndex { enum
473 enum SensorIndex idx;
3330 enum SensorIndex i;
3789 static void initSensorStruct(struct BMI160Sensor *sensor, enum SensorIndex idx)
3807 enum SensorIndex i;