Lines Matching +full:spi +full:- +full:dev
1 /* ST Microelectronics LIS2DUX12 3-axis accelerometer driver
5 * SPDX-License-Identifier: Apache-2.0
27 #if DT_HAS_COMPAT_ON_BUS_STATUS_OKAY(st_lis2dux12, spi) || \
28 DT_HAS_COMPAT_ON_BUS_STATUS_OKAY(st_lis2duxs12, spi)
29 #include <zephyr/drivers/spi.h>
37 typedef int32_t (*api_lis2dux12_set_odr_raw)(const struct device *dev, uint8_t odr);
38 typedef int32_t (*api_lis2dux12_set_range)(const struct device *dev, uint8_t range);
39 typedef int32_t (*api_lis2dux12_sample_fetch_accel)(const struct device *dev);
41 typedef int32_t (*api_lis2dux12_sample_fetch_temp)(const struct device *dev);
44 typedef void (*api_lis2dux12_handle_interrupt)(const struct device *dev);
45 typedef int32_t (*api_lis2dux12_init_interrupt)(const struct device *dev);
68 #if DT_HAS_COMPAT_ON_BUS_STATUS_OKAY(st_lis2dux12, spi) || \
69 DT_HAS_COMPAT_ON_BUS_STATUS_OKAY(st_lis2duxs12, spi)
70 const struct spi_dt_spec spi; member
104 const struct device *dev; member
118 int lis2dux12_trigger_set(const struct device *dev,
122 int lis2dux12_trigger_init(const struct device *dev);