Home
last modified time | relevance | path

Searched refs:iis328dq (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/drivers/sensor/st/iis328dq/
Diis328dq_trigger.c136 struct iis328dq_data *iis328dq = dev->data; in iis328dq_trigger_set() local
147 iis328dq->drdy_handler = handler; in iis328dq_trigger_set()
148 iis328dq->drdy_trig = trig; in iis328dq_trigger_set()
156 iis328dq->threshold_handler = handler; in iis328dq_trigger_set()
157 iis328dq->threshold_trig = trig; in iis328dq_trigger_set()
208 struct iis328dq_data *iis328dq = CONTAINER_OF(cb, struct iis328dq_data, int1_cb); in iis328dq_int1_gpio_callback() local
212 iis328dq_set_int_pad_state(iis328dq->dev, 1, true); in iis328dq_int1_gpio_callback()
215 k_sem_give(&iis328dq->gpio_sem); in iis328dq_int1_gpio_callback()
217 k_work_submit(&iis328dq->work); in iis328dq_int1_gpio_callback()
224 struct iis328dq_data *iis328dq = CONTAINER_OF(cb, struct iis328dq_data, int2_cb); in iis328dq_int2_gpio_callback() local
[all …]
Diis328dq.c37 struct iis328dq_data *iis328dq = dev->data; in iis328dq_set_range() local
59 iis328dq->gain = gain; in iis328dq_set_range()
122 struct iis328dq_data *iis328dq = dev->data; in iis328dq_channel_get_acc() local
142 iis328dq_convert(pval++, iis328dq->acc[i], iis328dq->gain); in iis328dq_channel_get_acc()
170 struct iis328dq_data *iis328dq = dev->data; in iis328dq_set_threshold() local
179 uint8_t mg_per_digit = iis328dq->gain * 16; in iis328dq_set_threshold()
278 struct iis328dq_data *iis328dq = dev->data; in iis328dq_sample_fetch() local
289 iis328dq->acc[0] = buf[0] >> 4; in iis328dq_sample_fetch()
290 iis328dq->acc[1] = buf[1] >> 4; in iis328dq_sample_fetch()
291 iis328dq->acc[2] = buf[2] >> 4; in iis328dq_sample_fetch()
[all …]
DCMakeLists.txt10 zephyr_library_sources(iis328dq.c)
/Zephyr-latest/drivers/sensor/st/
DCMakeLists.txt12 add_subdirectory_ifdef(CONFIG_IIS328DQ iis328dq)
DKconfig11 source "drivers/sensor/st/iis328dq/Kconfig"
/Zephyr-latest/tests/drivers/build_all/sensor/
Dspi.dtsi353 test_spi_iis328dq: iis328dq@2c {
354 compatible = "st,iis328dq";
Di2c.dtsi995 test_i2c_iis328dq: iis328dq@8b {
996 compatible = "st,iis328dq";
/Zephyr-latest/doc/releases/
Drelease-notes-3.7.rst1150 * Added IIS328DQ I2C/SPI accelerometer sensor driver (:dtcompatible:`st,iis328dq`).