Searched refs:iis3dhhc (Results 1 – 9 of 9) sorted by relevance
/Zephyr-latest/drivers/sensor/st/iis3dhhc/ |
D | iis3dhhc_trigger.c | 27 struct iis3dhhc_data *iis3dhhc = dev->data; in iis3dhhc_enable_int() local 31 return iis3dhhc_drdy_on_int1_set(iis3dhhc->ctx, enable); in iis3dhhc_enable_int() 33 return iis3dhhc_drdy_on_int2_set(iis3dhhc->ctx, enable); in iis3dhhc_enable_int() 44 struct iis3dhhc_data *iis3dhhc = dev->data; in iis3dhhc_trigger_set() local 53 iis3dhhc->handler_drdy = handler; in iis3dhhc_trigger_set() 54 iis3dhhc->trig_drdy = trig; in iis3dhhc_trigger_set() 57 iis3dhhc_acceleration_raw_get(iis3dhhc->ctx, raw); in iis3dhhc_trigger_set() 73 struct iis3dhhc_data *iis3dhhc = dev->data; in iis3dhhc_handle_interrupt() local 76 if (iis3dhhc->handler_drdy != NULL) { in iis3dhhc_handle_interrupt() 77 iis3dhhc->handler_drdy(dev, iis3dhhc->trig_drdy); in iis3dhhc_handle_interrupt() [all …]
|
D | CMakeLists.txt | 9 zephyr_library_sources(iis3dhhc.c)
|
D | iis3dhhc.c | 56 struct iis3dhhc_data *iis3dhhc = dev->data; in iis3dhhc_channel_get_acc() local 75 iis3dhhc_convert(pval++, iis3dhhc->acc[i]); in iis3dhhc_channel_get_acc()
|
/Zephyr-latest/samples/boards/st/sensortile_box/src/ |
D | main.c | 227 static void iis3dhhc_config(const struct device *iis3dhhc) in iis3dhhc_config() argument 235 if (sensor_attr_set(iis3dhhc, SENSOR_CHAN_ALL, in iis3dhhc_config() 246 sensor_trigger_set(iis3dhhc, &trig, iis3dhhc_trigger_handler); in iis3dhhc_config() 298 const struct device *const iis3dhhc = DEVICE_DT_GET_ONE(st_iis3dhhc); in main() local 321 if (!device_is_ready(iis3dhhc)) { in main() 322 printk("%s: device not ready.\n", iis3dhhc->name); in main() 334 iis3dhhc_config(iis3dhhc); in main() 381 if (sensor_sample_fetch(iis3dhhc) < 0) { in main() 400 sensor_channel_get(iis3dhhc, SENSOR_CHAN_ACCEL_XYZ, iis3dhhc_accel); in main()
|
/Zephyr-latest/boards/st/sensortile_box/ |
D | sensortile_box.dts | 54 accel2 = &iis3dhhc; 158 iis3dhhc: iis3dhhc@2 { label 159 compatible = "st,iis3dhhc";
|
/Zephyr-latest/drivers/sensor/st/ |
D | CMakeLists.txt | 13 add_subdirectory_ifdef(CONFIG_IIS3DHHC iis3dhhc)
|
D | Kconfig | 12 source "drivers/sensor/st/iis3dhhc/Kconfig"
|
/Zephyr-latest/samples/boards/st/sensortile_box/ |
D | README.rst | 78 1:: iis3dhhc trig 2422
|
/Zephyr-latest/tests/drivers/build_all/sensor/ |
D | spi.dtsi | 60 test_spi_iis3dhhc: iis3dhhc@7 { 61 compatible = "st,iis3dhhc";
|