Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/src/drivers/bosch_bmi160/
Dbosch_bmi160.c421 uint8_t watermark; member
1018 mTask.watermark = calcWatermark2_(_task); in configFifo()
1019 DEBUG_PRINT("wm=%d", mTask.watermark); in configFifo()
1020 SPI_WRITE(BMI160_REG_FIFO_CONFIG_0, mTask.watermark); in configFifo()
3033 T(watermark) = 0; in startTask()
3283 int firstReadSize = T(watermark) * 4 + 32; // 1+6+6+8+1+3 + extra = 25 + extra = 32 in initiateFifoRead_()
3367 size_t watermark = calcFifoSize(period, latency, factor, MAG - ACC + 1) / 4; in calcWatermark2_() local
3368 DEBUG_PRINT_IF(DBG_WM_CALC, "cwm2: wm = %d", watermark); in calcWatermark2_()
3369 watermark = watermark < WATERMARK_MIN ? WATERMARK_MIN : watermark; in calcWatermark2_()
3370 watermark = watermark > WATERMARK_MAX ? WATERMARK_MAX : watermark; in calcWatermark2_()
[all …]