Searched refs:samplesCounter (Results 1 – 1 of 1) sorted by relevance
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/ |
D | st_lsm6dsm.c | 4433 uint16_t j, fifoCounter = 0, samplesCounter[FIFO_NUM] = { 0 }; in lsm6dsm_parseFifoData() local 4493 … lsm6dsm_processSensorThreeAxisData(sensor, &data[fifoCounter], &samplesCounter[n], ×tamp); in lsm6dsm_parseFifoData() 4499 … lsm6dsm_processSensorOneAxisData(sensor, &data[fifoCounter], &samplesCounter[n], ×tamp); in lsm6dsm_parseFifoData() 4519 if (samplesCounter[n] >= (LSM6DSM_MAX_NUM_COMMS_EVENT_SAMPLE - 1)) in lsm6dsm_parseFifoData() 4520 lsm6dsm_pushData(sidx, &samplesCounter[n]); in lsm6dsm_parseFifoData() 4546 if (samplesCounter[n]) in lsm6dsm_parseFifoData() 4547 lsm6dsm_pushData(T(fifoCntl).decimatorsIdx[n], &samplesCounter[n]); in lsm6dsm_parseFifoData() 4842 uint16_t samplesCounter = 0; in lsm6dsm_handleSpiDoneEvt() local 4859 …neAxisData(&T(sensors[PRESS]), &T_SLAVE_INTERFACE(baroDataBuffer[1]), &samplesCounter, ×tamp); in lsm6dsm_handleSpiDoneEvt() 4860 lsm6dsm_pushData(PRESS, &samplesCounter); in lsm6dsm_handleSpiDoneEvt()
|