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.cc40 sample.data[SensorIndex::kXAxis], in SetMeasurement()
41 sample.data[SensorIndex::kYAxis], in SetMeasurement()
42 sample.data[SensorIndex::kZAxis]); // [m/sec^2] in SetMeasurement()
47 sample.data[SensorIndex::kXAxis], in SetMeasurement()
48 sample.data[SensorIndex::kYAxis], in SetMeasurement()
49 sample.data[SensorIndex::kZAxis], // [rad/sec] in SetMeasurement()
55 sample.data[SensorIndex::kXAxis], in SetMeasurement()
56 sample.data[SensorIndex::kYAxis], in SetMeasurement()
57 sample.data[SensorIndex::kZAxis]); // [micro-Tesla] in SetMeasurement()
61 temperature_celsius_ = sample.data[SensorIndex::kSingleAxis]; in SetMeasurement()
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/common_data/
Dsensor_data.h78 enum SensorIndex : int8_t { enum
102 data[SensorIndex::kXAxis] = x_axis; in SensorData()
103 data[SensorIndex::kYAxis] = y_axis; in SensorData()
104 data[SensorIndex::kZAxis] = z_axis; in SensorData()
110 data[SensorIndex::kSingleAxis] = single_axis_sample; in SensorData()
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/accelerometer/accel_offset_cal/
Daccel_offset_cal.cc34 sample.data[SensorIndex::kXAxis], in SetMeasurement()
35 sample.data[SensorIndex::kYAxis], in SetMeasurement()
36 sample.data[SensorIndex::kZAxis], // [m/sec^2] in SetMeasurement()
46 temperature_celsius_ = sample.data[SensorIndex::kSingleAxis]; in SetMeasurement()
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/magnetometer/mag_diverse_cal/
Dmag_diverse_cal.cc41 sample.data[SensorIndex::kXAxis], sample.data[SensorIndex::kYAxis], in SetMeasurement()
42 sample.data[SensorIndex::kZAxis]); in SetMeasurement()
46 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/algos/calibration/nano_calibration/
Dnano_calibration.cc29 using ::online_calibration::SensorIndex;
144 sample.data[SensorIndex::kSingleAxis] = in HandleTemperatureSamples()
/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/drivers/bosch_bmi160/
Dbosch_bmi160.c321 enum SensorIndex { enum
466 enum SensorIndex idx;
3323 enum SensorIndex i;
3782 static void initSensorStruct(struct BMI160Sensor *sensor, enum SensorIndex idx)
3800 enum SensorIndex i;