Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/sensor/wsen_hids/
Dwsen_hids.c39 if (HIDS_getRawValues(&data->sensor_interface, &raw_humidity, &raw_temp) != WE_SUCCESS) { in hids_sample_fetch()
44 if (HIDS_convertHumidity_uint16(&data->sensor_interface, raw_humidity, &data->humidity) != in hids_sample_fetch()
50 if (HIDS_convertTemperature_int16(&data->sensor_interface, raw_temp, &data->temperature) != in hids_sample_fetch()
103 if (HIDS_setOutputDataRate(&data->sensor_interface, (HIDS_outputDataRate_t)odr_index) != in hids_odr_set()
143 WE_sensorInterfaceType_t interface_type = data->sensor_interface.interfaceType; in hids_init()
145 HIDS_getDefaultInterface(&data->sensor_interface); in hids_init()
146 data->sensor_interface.interfaceType = interface_type; in hids_init()
148 switch (data->sensor_interface.interfaceType) { in hids_init()
151 data->sensor_interface.handle = (void *)&config->bus_cfg.i2c; in hids_init()
156 data->sensor_interface.handle = (void *)&config->bus_cfg.spi; in hids_init()
[all …]
Dwsen_hids.h27 WE_sensorInterface_t sensor_interface; member
Dwsen_hids_trigger.c145 if (HIDS_enableDataReadyInterrupt(&data->sensor_interface, HIDS_enable) != WE_SUCCESS) { in hids_init_interrupt()
/Zephyr-Core-3.5.0/drivers/sensor/wsen_pads/
Dwsen_pads.c33 if (PADS_getPressure_int(&data->sensor_interface, &data->pressure) != WE_SUCCESS) { in pads_sample_fetch()
38 if (PADS_getTemperature_int(&data->sensor_interface, &data->temperature) != WE_SUCCESS) { in pads_sample_fetch()
89 if (PADS_setOutputDataRate(&data->sensor_interface, (PADS_outputDataRate_t)odr_index) != in pads_odr_set()
131 WE_sensorInterfaceType_t interface_type = data->sensor_interface.interfaceType; in pads_init()
133 PADS_getDefaultInterface(&data->sensor_interface); in pads_init()
134 data->sensor_interface.interfaceType = interface_type; in pads_init()
136 switch (data->sensor_interface.interfaceType) { in pads_init()
139 data->sensor_interface.handle = (void *)&config->bus_cfg.i2c; in pads_init()
144 data->sensor_interface.handle = (void *)&config->bus_cfg.spi; in pads_init()
153 if (PADS_getDeviceID(&data->sensor_interface, &device_id) != WE_SUCCESS) { in pads_init()
[all …]
Dwsen_pads_trigger.c70 if (PADS_enableDataReadyInterrupt(&data->sensor_interface, PADS_disable) != in pads_trigger_set()
83 if (PADS_getPressure_int(&data->sensor_interface, &pressure_dummy) != WE_SUCCESS) { in pads_trigger_set()
89 if (PADS_enableDataReadyInterrupt(&data->sensor_interface, PADS_enable) != WE_SUCCESS) { in pads_trigger_set()
Dwsen_pads.h27 WE_sensorInterface_t sensor_interface; member
/Zephyr-Core-3.5.0/drivers/sensor/wsen_tids/
Dwsen_tids.c40 if (TIDS_getRawTemperature(&data->sensor_interface, &raw_temperature) != WE_SUCCESS) { in tids_sample_fetch()
84 if (TIDS_setOutputDataRate(&data->sensor_interface, (TIDS_outputDataRate_t)odr_index) != in tids_odr_set()
137 TIDS_getDefaultInterface(&data->sensor_interface); in tids_init()
138 data->sensor_interface.interfaceType = WE_i2c; in tids_init()
139 data->sensor_interface.handle = (void *)&config->bus_cfg.i2c; in tids_init()
142 if (TIDS_getDeviceID(&data->sensor_interface, &device_id) != WE_SUCCESS) { in tids_init()
153 TIDS_softReset(&data->sensor_interface, TIDS_enable); in tids_init()
155 TIDS_softReset(&data->sensor_interface, TIDS_disable); in tids_init()
165 if (TIDS_enableBlockDataUpdate(&data->sensor_interface, TIDS_enable) != WE_SUCCESS) { in tids_init()
170 if (TIDS_enableContinuousMode(&data->sensor_interface, TIDS_enable) != WE_SUCCESS) { in tids_init()
Dwsen_tids_trigger.c61 if (TIDS_getStatusRegister(&data->sensor_interface, &status) != WE_SUCCESS) { in tids_process_threshold_interrupt()
153 if (TIDS_setTempHighLimit(&data->sensor_interface, (uint8_t)thresh) != WE_SUCCESS) { in tids_threshold_set()
159 if (TIDS_setTempLowLimit(&data->sensor_interface, (uint8_t)thresh) != WE_SUCCESS) { in tids_threshold_set()
Dwsen_tids.h21 WE_sensorInterface_t sensor_interface; member
/Zephyr-Core-3.5.0/drivers/sensor/wsen_pdus/
Dwsen_pdus.c28 if (PDUS_getPressureAndTemperature_float(&data->sensor_interface, in pdus_sample_fetch()
69 PDUS_getDefaultInterface(&data->sensor_interface); in pdus_init()
70 data->sensor_interface.interfaceType = WE_i2c; in pdus_init()
72 switch (data->sensor_interface.interfaceType) { in pdus_init()
75 data->sensor_interface.handle = (void *)&config->bus_cfg.i2c; in pdus_init()
Dwsen_pdus.h23 WE_sensorInterface_t sensor_interface; member
/Zephyr-Core-3.5.0/samples/shields/x_nucleo_iks01a1/
DREADME.rst3 :relevant-api: sensor_interface
/Zephyr-Core-3.5.0/samples/shields/x_nucleo_iks01a2/standard/
DREADME.rst3 :relevant-api: sensor_interface
/Zephyr-Core-3.5.0/samples/shields/x_nucleo_53l0a1/
DREADME.rst3 :relevant-api: sensor_interface gpio_interface
/Zephyr-Core-3.5.0/samples/shields/x_nucleo_iks02a1/standard/
DREADME.rst3 :relevant-api: sensor_interface
/Zephyr-Core-3.5.0/samples/shields/x_nucleo_iks01a2/sensorhub/
DREADME.rst3 :relevant-api: sensor_interface
/Zephyr-Core-3.5.0/samples/shields/x_nucleo_iks02a1/sensorhub/
DREADME.rst3 :relevant-api: sensor_interface
/Zephyr-Core-3.5.0/samples/shields/x_nucleo_iks01a3/standard/
DREADME.rst3 :relevant-api: sensor_interface
/Zephyr-Core-3.5.0/samples/shields/x_nucleo_iks01a3/sensorhub/
DREADME.rst3 :relevant-api: sensor_interface
/Zephyr-Core-3.5.0/doc/hardware/peripherals/
Dsensor.rst230 .. doxygengroup:: sensor_interface