/hal_wurthelektronik-3.5.0-3.4.0/sensors/WeSensorsSDK/WSEN_ITDS_2533020201601/ |
D | WSEN_ITDS_2533020201601.c | 112 if (WE_FAIL == ITDS_ReadReg(sensorInterface, ITDS_CTRL_1_REG, 1, (uint8_t *) &ctrl1)) in ITDS_setOutputDataRate() 114 return WE_FAIL; in ITDS_setOutputDataRate() 132 if (WE_FAIL == ITDS_ReadReg(sensorInterface, ITDS_CTRL_1_REG, 1, (uint8_t *) &ctrl1)) in ITDS_getOutputDataRate() 134 return WE_FAIL; in ITDS_getOutputDataRate() 152 if (WE_FAIL == ITDS_ReadReg(sensorInterface, ITDS_CTRL_1_REG, 1, (uint8_t *) &ctrl1)) in ITDS_setOperatingMode() 154 return WE_FAIL; in ITDS_setOperatingMode() 172 if (WE_FAIL == ITDS_ReadReg(sensorInterface, ITDS_CTRL_1_REG, 1, (uint8_t *) &ctrl1)) in ITDS_getOperatingMode() 174 return WE_FAIL; in ITDS_getOperatingMode() 192 if (WE_FAIL == ITDS_ReadReg(sensorInterface, ITDS_CTRL_1_REG, 1, (uint8_t *) &ctrl1)) in ITDS_setPowerMode() 194 return WE_FAIL; in ITDS_setPowerMode() [all …]
|
/hal_wurthelektronik-3.5.0-3.4.0/sensors/WeSensorsSDK/WSEN_HIDS_2523020210001/ |
D | WSEN_HIDS_2523020210001.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-3.5.0-3.4.0/sensors/WeSensorsSDK/WSEN_PADS_2511020213301/ |
D | WSEN_PADS_2511020213301.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-3.5.0-3.4.0/sensors/WeSensorsSDK/WSEN_TIDS_2521020222501/ |
D | WSEN_TIDS_2521020222501.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-3.5.0-3.4.0/sensors/WeSensorsSDK/WSEN_PDUS_25131308XXX01/ |
D | WSEN_PDUS_25131308XXX01.c | 90 if (WE_FAIL == PDUS_ReadReg(sensorInterface, 2, tmp)) in PDUS_getRawPressure() 92 return WE_FAIL; in PDUS_getRawPressure() 112 if (WE_FAIL == PDUS_ReadReg(sensorInterface, 4, tmp)) in PDUS_getRawPressureAndTemperature() 114 return WE_FAIL; in PDUS_getRawPressureAndTemperature() 137 if (WE_FAIL == PDUS_getRawPressure(sensorInterface, &rawPres)) in PDUS_getPressure_float() 139 return WE_FAIL; in PDUS_getPressure_float() 164 if (WE_FAIL == PDUS_getRawPressureAndTemperature(sensorInterface, &rawPres, &rawTemp)) in PDUS_getPressureAndTemperature_float() 166 return WE_FAIL; in PDUS_getPressureAndTemperature_float() 219 return WE_FAIL; in PDUS_convertPressureToFloat()
|
/hal_wurthelektronik-3.5.0-3.4.0/sensors/ |
D | weplatform.c | 31 return WE_FAIL; in WE_ReadReg() 54 return WE_FAIL; in WE_WriteReg()
|
D | weplatform_i2c.c | 45 return status == 0 ? WE_SUCCESS : WE_FAIL; in WE_ReadReg_I2C() 67 return status == 0 ? WE_SUCCESS : WE_FAIL; in WE_WriteReg_I2C()
|
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-3.5.0-3.4.0/sensors/WeSensorsSDK/ |
D | WeSensorsSDK.h | 34 #define WE_FAIL -1 macro
|