Searched refs:fifoCtrl2 (Results 1 – 1 of 1) sorted by relevance
/hal_wurthelektronik-latest/sensors/WeSensorsSDK/WSEN_ISDS_2536030320001_hal/ |
D | WSEN_ISDS_2536030320001_hal.c | 122 ISDS_fifoCtrl2_t fifoCtrl2; in ISDS_setFifoThreshold() local 124 if (WE_FAIL == ISDS_ReadReg(sensorInterface, ISDS_FIFO_CTRL_2_REG, 1, (uint8_t *) &fifoCtrl2)) in ISDS_setFifoThreshold() 130 fifoCtrl2.fifoThresholdMsb = (uint8_t) ((threshold >> 8) & 0x07); in ISDS_setFifoThreshold() 136 return ISDS_WriteReg(sensorInterface, ISDS_FIFO_CTRL_2_REG, 1, (uint8_t *) &fifoCtrl2); in ISDS_setFifoThreshold() 148 ISDS_fifoCtrl2_t fifoCtrl2; in ISDS_getFifoThreshold() local 154 if (WE_FAIL == ISDS_ReadReg(sensorInterface, ISDS_FIFO_CTRL_2_REG, 1, (uint8_t *) &fifoCtrl2)) in ISDS_getFifoThreshold() 160 (((uint16_t) (fifoCtrl2.fifoThresholdMsb & 0x07)) << 8); in ISDS_getFifoThreshold() 173 ISDS_fifoCtrl2_t fifoCtrl2; in ISDS_enableFifoTemperature() local 175 if (WE_FAIL == ISDS_ReadReg(sensorInterface, ISDS_FIFO_CTRL_2_REG, 1, (uint8_t *) &fifoCtrl2)) in ISDS_enableFifoTemperature() 180 fifoCtrl2.enFifoTemperature = fifoTemp; in ISDS_enableFifoTemperature() [all …]
|