Home
last modified time | relevance | path

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

/hal_wurthelektronik-latest/sensors/WeSensorsSDK/WSEN_ISDS_2536030320001_hal/
DWSEN_ISDS_2536030320001_hal.c59 static inline int8_t ISDS_ReadReg(WE_sensorInterface_t* sensorInterface, in ISDS_ReadReg() argument
64 return WE_ReadReg(sensorInterface, regAdr, numBytesToRead, data); in ISDS_ReadReg()
76 static inline int8_t ISDS_WriteReg(WE_sensorInterface_t* sensorInterface, in ISDS_WriteReg() argument
81 return WE_WriteReg(sensorInterface, regAdr, numBytesToWrite, data); in ISDS_WriteReg()
89 int8_t ISDS_getDefaultInterface(WE_sensorInterface_t* sensorInterface) in ISDS_getDefaultInterface() argument
91 *sensorInterface = isdsDefaultSensorInterface; in ISDS_getDefaultInterface()
104 int8_t ISDS_getDeviceID(WE_sensorInterface_t* sensorInterface, uint8_t *deviceID) in ISDS_getDeviceID() argument
106 return ISDS_ReadReg(sensorInterface, ISDS_DEVICE_ID_REG, 1, deviceID); in ISDS_getDeviceID()
119 int8_t ISDS_setFifoThreshold(WE_sensorInterface_t* sensorInterface, uint16_t threshold) in ISDS_setFifoThreshold() argument
124 if (WE_FAIL == ISDS_ReadReg(sensorInterface, ISDS_FIFO_CTRL_2_REG, 1, (uint8_t *) &fifoCtrl2)) in ISDS_setFifoThreshold()
[all …]
DWSEN_ISDS_2536030320001_hal.h909 int8_t ISDS_getDefaultInterface(WE_sensorInterface_t* sensorInterface);
911 int8_t ISDS_getDeviceID(WE_sensorInterface_t* sensorInterface, uint8_t *deviceID);
915 int8_t ISDS_setFifoThreshold(WE_sensorInterface_t* sensorInterface, uint16_t threshold);
916 int8_t ISDS_getFifoThreshold(WE_sensorInterface_t* sensorInterface, uint16_t *threshold);
917 int8_t ISDS_enableFifoTemperature(WE_sensorInterface_t* sensorInterface, ISDS_state_t fifoTemp);
918 …int8_t ISDS_isFifoTemperatureEnabled(WE_sensorInterface_t* sensorInterface, ISDS_state_t *fifoTemp…
921 …int8_t ISDS_setFifoAccDecimation(WE_sensorInterface_t* sensorInterface, ISDS_fifoDecimation_t deci…
922 …int8_t ISDS_getFifoAccDecimation(WE_sensorInterface_t* sensorInterface, ISDS_fifoDecimation_t *dec…
923 …int8_t ISDS_setFifoGyroDecimation(WE_sensorInterface_t* sensorInterface, ISDS_fifoDecimation_t dec…
924 …int8_t ISDS_getFifoGyroDecimation(WE_sensorInterface_t* sensorInterface, ISDS_fifoDecimation_t *de…
[all …]
/hal_wurthelektronik-latest/sensors/WeSensorsSDK/WSEN_PADS_2511020213301_hal/
DWSEN_PADS_2511020213301_hal.c42 static inline int8_t PADS_ReadReg(WE_sensorInterface_t* sensorInterface, in PADS_ReadReg() argument
47 return WE_ReadReg(sensorInterface, regAdr, numBytesToRead, data); in PADS_ReadReg()
59 static inline int8_t PADS_WriteReg(WE_sensorInterface_t* sensorInterface, in PADS_WriteReg() argument
64 return WE_WriteReg(sensorInterface, regAdr, numBytesToWrite, data); in PADS_WriteReg()
72 int8_t PADS_getDefaultInterface(WE_sensorInterface_t* sensorInterface) in PADS_getDefaultInterface() argument
74 *sensorInterface = padsDefaultSensorInterface; in PADS_getDefaultInterface()
87 int8_t PADS_getDeviceID(WE_sensorInterface_t* sensorInterface, uint8_t *deviceID) in PADS_getDeviceID() argument
89 return PADS_ReadReg(sensorInterface, PADS_DEVICE_ID_REG, 1, deviceID); in PADS_getDeviceID()
105 int8_t PADS_enableAutoRefp(WE_sensorInterface_t* sensorInterface, PADS_state_t autoRefp) in PADS_enableAutoRefp() argument
109 …if (WE_FAIL == PADS_ReadReg(sensorInterface, PADS_INT_CFG_REG, 1, (uint8_t *) &interruptConfigurat… in PADS_enableAutoRefp()
[all …]
DWSEN_PADS_2511020213301_hal.h390 int8_t PADS_getDefaultInterface(WE_sensorInterface_t* sensorInterface);
392 int8_t PADS_getDeviceID(WE_sensorInterface_t* sensorInterface, uint8_t *deviceID);
394 int8_t PADS_enableAutoRefp(WE_sensorInterface_t* sensorInterface, PADS_state_t autoRefp);
395 int8_t PADS_isEnablingAutoRefp(WE_sensorInterface_t* sensorInterface, PADS_state_t *autoRefp);
396 int8_t PADS_resetAutoRefp(WE_sensorInterface_t* sensorInterface, PADS_state_t reset);
398 int8_t PADS_enableAutoZeroMode(WE_sensorInterface_t* sensorInterface, PADS_state_t autoZero);
399 int8_t PADS_isEnablingAutoZeroMode(WE_sensorInterface_t* sensorInterface, PADS_state_t *autoZero);
400 int8_t PADS_resetAutoZeroMode(WE_sensorInterface_t* sensorInterface, PADS_state_t reset);
402 …int8_t PADS_enableDiffPressureInterrupt(WE_sensorInterface_t* sensorInterface, PADS_state_t diffEn…
403 …int8_t PADS_isDiffPressureInterruptEnabled(WE_sensorInterface_t* sensorInterface, PADS_state_t *di…
[all …]
/hal_wurthelektronik-latest/sensors/WeSensorsSDK/WSEN_ITDS_2533020201601_hal/
DWSEN_ITDS_2533020201601_hal.h684 int8_t ITDS_getDefaultInterface(WE_sensorInterface_t* sensorInterface);
686 int8_t ITDS_getDeviceID(WE_sensorInterface_t* sensorInterface, uint8_t *deviceID);
689 int8_t ITDS_setOutputDataRate(WE_sensorInterface_t* sensorInterface, ITDS_outputDataRate_t odr);
690 int8_t ITDS_getOutputDataRate(WE_sensorInterface_t* sensorInterface, ITDS_outputDataRate_t *odr);
691 int8_t ITDS_setOperatingMode(WE_sensorInterface_t* sensorInterface, ITDS_operatingMode_t opMode);
692 int8_t ITDS_getOperatingMode(WE_sensorInterface_t* sensorInterface, ITDS_operatingMode_t *opMode);
693 int8_t ITDS_setPowerMode(WE_sensorInterface_t* sensorInterface, ITDS_powerMode_t powerMode);
694 int8_t ITDS_getPowerMode(WE_sensorInterface_t* sensorInterface, ITDS_powerMode_t *powerMode);
697 int8_t ITDS_reboot(WE_sensorInterface_t* sensorInterface, ITDS_state_t reboot);
698 int8_t ITDS_isRebooting(WE_sensorInterface_t* sensorInterface, ITDS_state_t *rebooting);
[all …]
DWSEN_ITDS_2533020201601_hal.c51 static inline int8_t ITDS_ReadReg(WE_sensorInterface_t* sensorInterface, in ITDS_ReadReg() argument
56 return WE_ReadReg(sensorInterface, regAdr, numBytesToRead, data); in ITDS_ReadReg()
68 static inline int8_t ITDS_WriteReg(WE_sensorInterface_t* sensorInterface, in ITDS_WriteReg() argument
73 return WE_WriteReg(sensorInterface, regAdr, numBytesToWrite, data); in ITDS_WriteReg()
81 int8_t ITDS_getDefaultInterface(WE_sensorInterface_t* sensorInterface) in ITDS_getDefaultInterface() argument
83 *sensorInterface = itdsDefaultSensorInterface; in ITDS_getDefaultInterface()
96 int8_t ITDS_getDeviceID(WE_sensorInterface_t* sensorInterface, uint8_t *deviceID) in ITDS_getDeviceID() argument
98 return ITDS_ReadReg(sensorInterface, ITDS_DEVICE_ID_REG, 1, deviceID); in ITDS_getDeviceID()
110 int8_t ITDS_setOutputDataRate(WE_sensorInterface_t* sensorInterface, ITDS_outputDataRate_t odr) in ITDS_setOutputDataRate() argument
114 if (WE_FAIL == ITDS_ReadReg(sensorInterface, ITDS_CTRL_1_REG, 1, (uint8_t *) &ctrl1)) in ITDS_setOutputDataRate()
[all …]
/hal_wurthelektronik-latest/sensors/WeSensorsSDK/WSEN_HIDS_2525020210001_hal/
DWSEN_HIDS_2525020210001_hal.c61 static int8_t HIDS_get_H0_T0_out(WE_sensorInterface_t* sensorInterface);
62 static int8_t HIDS_get_H1_T0_out(WE_sensorInterface_t* sensorInterface);
63 static int8_t HIDS_get_H0_rh(WE_sensorInterface_t* sensorInterface);
64 static int8_t HIDS_get_H1_rh(WE_sensorInterface_t* sensorInterface);
67 static int8_t HIDS_get_T1_OUT(WE_sensorInterface_t* sensorInterface);
68 static int8_t HIDS_get_T0_OUT(WE_sensorInterface_t* sensorInterface);
69 static int8_t HIDS_get_T0_degC(WE_sensorInterface_t* sensorInterface);
70 static int8_t HIDS_get_T1_degC(WE_sensorInterface_t* sensorInterface);
82 static inline int8_t HIDS_ReadReg(WE_sensorInterface_t* sensorInterface, in HIDS_ReadReg() argument
87 return WE_ReadReg(sensorInterface, regAdr, numBytesToRead, data); in HIDS_ReadReg()
[all …]
DWSEN_HIDS_2525020210001_hal.h243 int8_t HIDS_getDefaultInterface(WE_sensorInterface_t* sensorInterface);
245 int8_t HIDS_getDeviceID(WE_sensorInterface_t* sensorInterface, uint8_t *deviceID);
247 …uint8_t HIDS_setHumidityAverageConfig(WE_sensorInterface_t* sensorInterface, HIDS_humidityAverageC…
248 …uint8_t HIDS_getHumidityAverageConfig(WE_sensorInterface_t* sensorInterface, HIDS_humidityAverageC…
249 …uint8_t HIDS_setTemperatureAverageConfig(WE_sensorInterface_t* sensorInterface, HIDS_temperatureAv…
250 …uint8_t HIDS_getTemperatureAverageConfig(WE_sensorInterface_t* sensorInterface, HIDS_temperatureAv…
252 int8_t HIDS_setOutputDataRate(WE_sensorInterface_t* sensorInterface, HIDS_outputDataRate_t odr);
253 int8_t HIDS_getOutputDataRate(WE_sensorInterface_t* sensorInterface, HIDS_outputDataRate_t *odr);
255 int8_t HIDS_enableBlockDataUpdate(WE_sensorInterface_t* sensorInterface, HIDS_state_t bdu);
256 int8_t HIDS_isBlockDataUpdateEnabled(WE_sensorInterface_t* sensorInterface, HIDS_state_t *bdu);
[all …]
/hal_wurthelektronik-latest/sensors/WeSensorsSDK/WSEN_TIDS_2521020222501_hal/
DWSEN_TIDS_2521020222501_hal.c39 static inline int8_t TIDS_ReadReg(WE_sensorInterface_t* sensorInterface, in TIDS_ReadReg() argument
44 return WE_ReadReg(sensorInterface, regAdr, numBytesToRead, data); in TIDS_ReadReg()
56 static inline int8_t TIDS_WriteReg(WE_sensorInterface_t* sensorInterface, in TIDS_WriteReg() argument
61 return WE_WriteReg(sensorInterface, regAdr, numBytesToWrite, data); in TIDS_WriteReg()
69 int8_t TIDS_getDefaultInterface(WE_sensorInterface_t* sensorInterface) in TIDS_getDefaultInterface() argument
71 *sensorInterface = tidsDefaultSensorInterface; in TIDS_getDefaultInterface()
84 int8_t TIDS_getDeviceID(WE_sensorInterface_t* sensorInterface, uint8_t *deviceID) in TIDS_getDeviceID() argument
86 return TIDS_ReadReg(sensorInterface, TIDS_DEVICE_ID_REG, 1, deviceID); in TIDS_getDeviceID()
95 int8_t TIDS_softReset(WE_sensorInterface_t* sensorInterface, TIDS_state_t swReset) in TIDS_softReset() argument
99 if (WE_FAIL == TIDS_ReadReg(sensorInterface, TIDS_SOFT_RESET_REG, 1, (uint8_t *) &swRstReg)) in TIDS_softReset()
[all …]
DWSEN_TIDS_2521020222501_hal.h128 int8_t TIDS_getDefaultInterface(WE_sensorInterface_t* sensorInterface);
131 int8_t TIDS_getDeviceID(WE_sensorInterface_t* sensorInterface, uint8_t *deviceID);
134 int8_t TIDS_softReset(WE_sensorInterface_t* sensorInterface, TIDS_state_t swReset);
135 int8_t TIDS_getSoftResetState(WE_sensorInterface_t* sensorInterface, TIDS_state_t *swReset);
138 int8_t TIDS_enableContinuousMode(WE_sensorInterface_t* sensorInterface, TIDS_state_t mode);
139 int8_t TIDS_isContinuousModeEnabled(WE_sensorInterface_t* sensorInterface, TIDS_state_t *mode);
142 int8_t TIDS_enableBlockDataUpdate(WE_sensorInterface_t* sensorInterface, TIDS_state_t bdu);
143 int8_t TIDS_isBlockDataUpdateEnabled(WE_sensorInterface_t* sensorInterface, TIDS_state_t *bdu);
146 int8_t TIDS_setOutputDataRate(WE_sensorInterface_t* sensorInterface, TIDS_outputDataRate_t odr);
147 int8_t TIDS_getOutputDataRate(WE_sensorInterface_t* sensorInterface, TIDS_outputDataRate_t* odr);
[all …]
/hal_wurthelektronik-latest/sensors/WeSensorsSDK/WSEN_HIDS_2525020210002_hal/
DWSEN_HIDS_2525020210002_hal.c38 static inline int8_t HIDS_ReadData(WE_sensorInterface_t* sensorInterface, uint8_t *data, uint16_t n… in HIDS_ReadData() argument
40 return WE_ReadReg(sensorInterface, 0xFF, numBytesToRead, data); in HIDS_ReadData()
96 static inline int8_t HIDS_WriteData(WE_sensorInterface_t* sensorInterface,uint8_t *data, uint16_t n… in HIDS_WriteData() argument
99 return WE_WriteReg(sensorInterface, 0xFF, numBytesToWrite, data); in HIDS_WriteData()
107 int8_t HIDS_Get_Default_Interface(WE_sensorInterface_t* sensorInterface) in HIDS_Get_Default_Interface() argument
109 *sensorInterface = hidsDefaultSensorInterface; in HIDS_Get_Default_Interface()
118 int8_t HIDS_Set_Measurement_Type(WE_sensorInterface_t* sensorInterface, hids_measureCmd_t meausurem… in HIDS_Set_Measurement_Type() argument
122 status = HIDS_WriteData(sensorInterface, &temp, 1); in HIDS_Set_Measurement_Type()
142 int8_t HIDS_Sensor_Measure_Raw(WE_sensorInterface_t* sensorInterface, hids_measureCmd_t measureCmd,… in HIDS_Sensor_Measure_Raw() argument
145 if(WE_SUCCESS != HIDS_Set_Measurement_Type(sensorInterface, measureCmd)) in HIDS_Sensor_Measure_Raw()
[all …]
DWSEN_HIDS_2525020210002_hal.h46 int8_t HIDS_Set_Measurement_Type(WE_sensorInterface_t* sensorInterface, hids_measureCmd_t precision…
47 int8_t HIDS_Sensor_Read_SlNo(WE_sensorInterface_t* sensorInterface, uint32_t* serialNo);
48 int8_t HIDS_Sensor_Init(WE_sensorInterface_t* sensorInterface);
49 int8_t HIDS_Reset(WE_sensorInterface_t* sensorInterface);
50 int8_t HIDS_Sensor_Measure_Raw(WE_sensorInterface_t* sensorInterface, hids_measureCmd_t meausureCmd…
51 int8_t HIDS_Get_Default_Interface(WE_sensorInterface_t* sensorInterface);
/hal_wurthelektronik-latest/sensors/WeSensorsSDK/WSEN_PDUS_25131308XXX01_hal/
DWSEN_PDUS_25131308XXX01_hal.c44 static inline int8_t PDUS_ReadReg(WE_sensorInterface_t* sensorInterface, in PDUS_ReadReg() argument
68 return WE_ReadReg(sensorInterface, 0, numBytesToRead, data); in PDUS_ReadReg()
76 int8_t PDUS_getDefaultInterface(WE_sensorInterface_t* sensorInterface) in PDUS_getDefaultInterface() argument
78 *sensorInterface = pdusDefaultSensorInterface; in PDUS_getDefaultInterface()
88 int8_t PDUS_getRawPressure(WE_sensorInterface_t* sensorInterface, uint16_t *pressure) in PDUS_getRawPressure() argument
92 if (WE_FAIL == PDUS_ReadReg(sensorInterface, 2, tmp)) in PDUS_getRawPressure()
110 int8_t PDUS_getRawPressureAndTemperature(WE_sensorInterface_t* sensorInterface, uint16_t *pressure,… in PDUS_getRawPressureAndTemperature() argument
114 if (WE_FAIL == PDUS_ReadReg(sensorInterface, 4, tmp)) in PDUS_getRawPressureAndTemperature()
137 int8_t PDUS_getPressure_float(WE_sensorInterface_t* sensorInterface, PDUS_SensorType_t type, float … in PDUS_getPressure_float() argument
141 if (WE_FAIL == PDUS_getRawPressure(sensorInterface, &rawPres)) in PDUS_getPressure_float()
[all …]
DWSEN_PDUS_25131308XXX01_hal.h62 int8_t PDUS_getDefaultInterface(WE_sensorInterface_t* sensorInterface);
64 int8_t PDUS_getRawPressure(WE_sensorInterface_t* sensorInterface, uint16_t *pressure);
65 int8_t PDUS_getRawPressureAndTemperature(WE_sensorInterface_t* sensorInterface, uint16_t *pressure,…
68 int8_t PDUS_getPressure_float(WE_sensorInterface_t* sensorInterface, PDUS_SensorType_t type, float …
69 int8_t PDUS_getPressureAndTemperature_float(WE_sensorInterface_t* sensorInterface, PDUS_SensorType_…