/hal_wurthelektronik-latest/sensors/WeSensorsSDK/WSEN_ISDS_2536030320001_hal/ |
D | WSEN_ISDS_2536030320001_hal.c | 124 if (WE_FAIL == ISDS_ReadReg(sensorInterface, ISDS_FIFO_CTRL_2_REG, 1, (uint8_t *) &fifoCtrl2)) in ISDS_setFifoThreshold() 126 return WE_FAIL; in ISDS_setFifoThreshold() 132 if (WE_FAIL == ISDS_WriteReg(sensorInterface, ISDS_FIFO_CTRL_1_REG, 1, (uint8_t *) &fifoCtrl1)) in ISDS_setFifoThreshold() 134 return WE_FAIL; in ISDS_setFifoThreshold() 150 if (WE_FAIL == ISDS_ReadReg(sensorInterface, ISDS_FIFO_CTRL_1_REG, 1, (uint8_t *) &fifoCtrl1)) in ISDS_getFifoThreshold() 152 return WE_FAIL; in ISDS_getFifoThreshold() 154 if (WE_FAIL == ISDS_ReadReg(sensorInterface, ISDS_FIFO_CTRL_2_REG, 1, (uint8_t *) &fifoCtrl2)) in ISDS_getFifoThreshold() 156 return WE_FAIL; in ISDS_getFifoThreshold() 175 if (WE_FAIL == ISDS_ReadReg(sensorInterface, ISDS_FIFO_CTRL_2_REG, 1, (uint8_t *) &fifoCtrl2)) in ISDS_enableFifoTemperature() 177 return WE_FAIL; in ISDS_enableFifoTemperature() [all …]
|
/hal_wurthelektronik-latest/sensors/WeSensorsSDK/WSEN_ITDS_2533020201601_hal/ |
D | WSEN_ITDS_2533020201601_hal.c | 114 if (WE_FAIL == ITDS_ReadReg(sensorInterface, ITDS_CTRL_1_REG, 1, (uint8_t *) &ctrl1)) in ITDS_setOutputDataRate() 116 return WE_FAIL; in ITDS_setOutputDataRate() 134 if (WE_FAIL == ITDS_ReadReg(sensorInterface, ITDS_CTRL_1_REG, 1, (uint8_t *) &ctrl1)) in ITDS_getOutputDataRate() 136 return WE_FAIL; in ITDS_getOutputDataRate() 154 if (WE_FAIL == ITDS_ReadReg(sensorInterface, ITDS_CTRL_1_REG, 1, (uint8_t *) &ctrl1)) in ITDS_setOperatingMode() 156 return WE_FAIL; in ITDS_setOperatingMode() 174 if (WE_FAIL == ITDS_ReadReg(sensorInterface, ITDS_CTRL_1_REG, 1, (uint8_t *) &ctrl1)) in ITDS_getOperatingMode() 176 return WE_FAIL; in ITDS_getOperatingMode() 194 if (WE_FAIL == ITDS_ReadReg(sensorInterface, ITDS_CTRL_1_REG, 1, (uint8_t *) &ctrl1)) in ITDS_setPowerMode() 196 return WE_FAIL; in ITDS_setPowerMode() [all …]
|
/hal_wurthelektronik-latest/sensors/WeSensorsSDK/WSEN_HIDS_2525020210001_hal/ |
D | WSEN_HIDS_2525020210001_hal.c | 142 if (WE_FAIL == HIDS_ReadReg(sensorInterface, HIDS_AVERAGE_REG, 1, (uint8_t *) &averageReg)) in HIDS_setHumidityAverageConfig() 144 return WE_FAIL; in HIDS_setHumidityAverageConfig() 162 if (WE_FAIL == HIDS_ReadReg(sensorInterface, HIDS_AVERAGE_REG, 1, (uint8_t *) &averageReg)) in HIDS_getHumidityAverageConfig() 164 return WE_FAIL; in HIDS_getHumidityAverageConfig() 182 if (WE_FAIL == HIDS_ReadReg(sensorInterface, HIDS_AVERAGE_REG, 1, (uint8_t *) &averageReg)) in HIDS_setTemperatureAverageConfig() 184 return WE_FAIL; in HIDS_setTemperatureAverageConfig() 202 if (WE_FAIL == HIDS_ReadReg(sensorInterface, HIDS_AVERAGE_REG, 1, (uint8_t *) &averageReg)) in HIDS_getTemperatureAverageConfig() 204 return WE_FAIL; in HIDS_getTemperatureAverageConfig() 222 if (WE_FAIL == HIDS_ReadReg(sensorInterface, HIDS_CTRL_REG_1, 1, (uint8_t *) &ctrlReg1)) in HIDS_setOutputDataRate() 224 return WE_FAIL; in HIDS_setOutputDataRate() [all …]
|
/hal_wurthelektronik-latest/sensors/WeSensorsSDK/WSEN_PADS_2511020213301_hal/ |
D | WSEN_PADS_2511020213301_hal.c | 109 …if (WE_FAIL == PADS_ReadReg(sensorInterface, PADS_INT_CFG_REG, 1, (uint8_t *) &interruptConfigurat… in PADS_enableAutoRefp() 111 return WE_FAIL; in PADS_enableAutoRefp() 136 …if (WE_FAIL == PADS_ReadReg(sensorInterface, PADS_INT_CFG_REG, 1, (uint8_t *) &interruptConfigurat… in PADS_isEnablingAutoRefp() 138 return WE_FAIL; in PADS_isEnablingAutoRefp() 154 …if (WE_FAIL == PADS_ReadReg(sensorInterface, PADS_INT_CFG_REG, 1, (uint8_t *) &interruptConfigurat… in PADS_resetAutoRefp() 156 return WE_FAIL; in PADS_resetAutoRefp() 181 …if (WE_FAIL == PADS_ReadReg(sensorInterface, PADS_INT_CFG_REG, 1, (uint8_t *) &interruptConfigurat… in PADS_enableAutoZeroMode() 183 return WE_FAIL; in PADS_enableAutoZeroMode() 208 …if (WE_FAIL == PADS_ReadReg(sensorInterface, PADS_INT_CFG_REG, 1, (uint8_t *) &interruptConfigurat… in PADS_isEnablingAutoZeroMode() 210 return WE_FAIL; in PADS_isEnablingAutoZeroMode() [all …]
|
/hal_wurthelektronik-latest/sensors/WeSensorsSDK/WSEN_TIDS_2521020222501_hal/ |
D | WSEN_TIDS_2521020222501_hal.c | 99 if (WE_FAIL == TIDS_ReadReg(sensorInterface, TIDS_SOFT_RESET_REG, 1, (uint8_t *) &swRstReg)) in TIDS_softReset() 101 return WE_FAIL; in TIDS_softReset() 119 if (WE_FAIL == TIDS_ReadReg(sensorInterface, TIDS_SOFT_RESET_REG, 1, (uint8_t *) &swRstReg)) in TIDS_getSoftResetState() 121 return WE_FAIL; in TIDS_getSoftResetState() 139 if (WE_FAIL == TIDS_ReadReg(sensorInterface, TIDS_CTRL_REG, 1, (uint8_t *) &ctrlReg)) in TIDS_enableContinuousMode() 141 return WE_FAIL; in TIDS_enableContinuousMode() 159 if (WE_FAIL == TIDS_ReadReg(sensorInterface, TIDS_CTRL_REG, 1, (uint8_t *) &ctrlReg)) in TIDS_isContinuousModeEnabled() 161 return WE_FAIL; in TIDS_isContinuousModeEnabled() 179 if (WE_FAIL == TIDS_ReadReg(sensorInterface, TIDS_CTRL_REG, 1, (uint8_t *) &ctrlReg)) in TIDS_enableBlockDataUpdate() 181 return WE_FAIL; in TIDS_enableBlockDataUpdate() [all …]
|
/hal_wurthelektronik-latest/sensors/WeSensorsSDK/WSEN_HIDS_2525020210002_hal/ |
D | WSEN_HIDS_2525020210002_hal.c | 83 return WE_FAIL; in HIDS_CheckCRC() 120 int8_t status = WE_FAIL; in HIDS_Set_Measurement_Type() 129 return WE_FAIL; in HIDS_Set_Measurement_Type() 148 return WE_FAIL; in HIDS_Sensor_Measure_Raw() 152 int8_t status= WE_FAIL; in HIDS_Sensor_Measure_Raw() 160 return WE_FAIL; in HIDS_Sensor_Measure_Raw() 166 return WE_FAIL; in HIDS_Sensor_Measure_Raw() 172 return WE_FAIL; in HIDS_Sensor_Measure_Raw() 191 int8_t status = WE_FAIL; in HIDS_Sensor_Read_SlNo() 194 if(WE_FAIL == HIDS_Set_Measurement_Type(sensorInterface, measureCmd)) in HIDS_Sensor_Read_SlNo() [all …]
|
/hal_wurthelektronik-latest/sensors/WeSensorsSDK/WSEN_PDUS_25131308XXX01_hal/ |
D | WSEN_PDUS_25131308XXX01_hal.c | 92 if (WE_FAIL == PDUS_ReadReg(sensorInterface, 2, tmp)) in PDUS_getRawPressure() 94 return WE_FAIL; in PDUS_getRawPressure() 114 if (WE_FAIL == PDUS_ReadReg(sensorInterface, 4, tmp)) in PDUS_getRawPressureAndTemperature() 116 return WE_FAIL; in PDUS_getRawPressureAndTemperature() 141 if (WE_FAIL == PDUS_getRawPressure(sensorInterface, &rawPres)) in PDUS_getPressure_float() 143 return WE_FAIL; in PDUS_getPressure_float() 168 if (WE_FAIL == PDUS_getRawPressureAndTemperature(sensorInterface, &rawPres, &rawTemp)) in PDUS_getPressureAndTemperature_float() 170 return WE_FAIL; in PDUS_getPressureAndTemperature_float() 217 return WE_FAIL; in PDUS_convertPressureToFloat()
|
/hal_wurthelektronik-latest/sensors/ |
D | weplatform_i2c.c | 46 status = WE_FAIL; in WE_ReadReg_I2C() 54 return status == 0 ? WE_SUCCESS : WE_FAIL; in WE_ReadReg_I2C() 81 status = WE_FAIL; in WE_WriteReg_I2C() 89 return status == 0 ? WE_SUCCESS : WE_FAIL; in WE_WriteReg_I2C()
|
D | weplatform.c | 33 return WE_FAIL; in WE_ReadReg() 56 return WE_FAIL; in WE_WriteReg()
|
D | weplatform_spi.c | 53 return status == 0 ? WE_SUCCESS : WE_FAIL; in WE_ReadReg_SPI() 94 return status == 0 ? WE_SUCCESS : WE_FAIL; in WE_WriteReg_SPI()
|
/hal_wurthelektronik-latest/sensors/WeSensorsSDK/ |
D | WeSensorsSDK.h | 34 #define WE_FAIL -1 macro
|