Home
last modified time | relevance | path

Searched refs:sensor_channel (Results 1 – 25 of 275) sorted by relevance

1234567891011

/Zephyr-latest/drivers/sensor/
Dsensor_handlers.c11 enum sensor_channel chan, in z_vrfy_sensor_attr_set()
23 enum sensor_channel chan, in z_vrfy_sensor_attr_get()
42 enum sensor_channel type) in z_vrfy_sensor_sample_fetch_chan()
51 enum sensor_channel chan, in z_vrfy_sensor_channel_get()
78 K_OOPS(K_SYSCALL_MEMORY_READ(channels, sizeof(enum sensor_channel) * num_channels)); in z_vrfy_sensor_reconfigure_read_iodev()
/Zephyr-latest/samples/sensor/sensor_shell/src/
Dfake_sensor.c22 static int attr_set(const struct device *dev, enum sensor_channel chan, enum sensor_attribute attr, in attr_set()
31 static int attr_get(const struct device *dev, enum sensor_channel chan, enum sensor_attribute attr, in attr_get()
42 static int sample_fetch(const struct device *dev, enum sensor_channel chan) in sample_fetch()
49 static int channel_get(const struct device *dev, enum sensor_channel chan, struct sensor_value *val) in channel_get()
/Zephyr-latest/drivers/sensor/microchip/tcn75a/
Dtcn75a.h73 int tcn75a_attr_get(const struct device *dev, enum sensor_channel chan, enum sensor_attribute attr,
76 int tcn75a_attr_set(const struct device *dev, enum sensor_channel chan, enum sensor_attribute attr,
81 int tcn75a_sample_fetch(const struct device *dev, enum sensor_channel chan);
/Zephyr-latest/tests/drivers/clock_control/nrf_clock_calibration/src/
Dmock_temp_nrf5.c23 enum sensor_channel chan) in mock_temp_nrf5_sample_fetch()
30 enum sensor_channel chan, in mock_temp_nrf5_channel_get()
/Zephyr-latest/doc/hardware/peripherals/sensor/
Dchannels.rst6 :dfn:`Channels`, enumerated in :c:enum:`sensor_channel`, are quantities that
17 pair containing both the channel type (:c:enum:`sensor_channel`) and channel index.
18 At times only :c:enum:`sensor_channel` is used but this should be considered
/Zephyr-latest/include/zephyr/drivers/
Dsensor.h61 enum sensor_channel { enum
296 enum sensor_channel chan;
390 enum sensor_channel chan,
401 enum sensor_channel chan,
421 enum sensor_channel chan);
429 enum sensor_channel chan,
730 enum sensor_channel chan,
735 enum sensor_channel chan, in z_impl_sensor_attr_set()
762 enum sensor_channel chan,
767 enum sensor_channel chan, in z_impl_sensor_attr_get()
[all …]
/Zephyr-latest/drivers/sensor/st/iis2mdc/
Diis2mdc.c57 enum sensor_channel chan, in iis2mdc_set_hard_iron()
73 enum sensor_channel chan, in iis2mdc_channel_get_mag()
116 enum sensor_channel chan, in iis2mdc_channel_get()
137 static int iis2mdc_config(const struct device *dev, enum sensor_channel chan, in iis2mdc_config()
157 enum sensor_channel chan, in iis2mdc_attr_set()
214 enum sensor_channel chan) in iis2mdc_sample_fetch()
/Zephyr-latest/drivers/sensor/st/iis2dh/
Diis2dh.c117 enum sensor_channel chan, in iis2dh_channel_get_acc()
146 enum sensor_channel chan, in iis2dh_channel_get()
164 static int iis2dh_config(const struct device *dev, enum sensor_channel chan, in iis2dh_config()
185 static int iis2dh_attr_set(const struct device *dev, enum sensor_channel chan, in iis2dh_attr_set()
204 enum sensor_channel chan) in iis2dh_sample_fetch()
/Zephyr-latest/drivers/sensor/asahi_kasei/akm09918c/
Dakm09918c.c31 int akm09918c_start_measurement(const struct device *dev, enum sensor_channel chan) in akm09918c_start_measurement()
85 static int akm09918c_sample_fetch(const struct device *dev, enum sensor_channel chan) in akm09918c_sample_fetch()
109 static int akm09918c_channel_get(const struct device *dev, enum sensor_channel chan, in akm09918c_channel_get()
132 static int akm09918c_attr_get(const struct device *dev, enum sensor_channel chan, in akm09918c_attr_get()
155 static int akm09918c_attr_set(const struct device *dev, enum sensor_channel chan, in akm09918c_attr_set()
/Zephyr-latest/drivers/sensor/infineon/xmc4xxx_temp/
Dxmc4xxx_temp.c23 static int xmc4xxx_temp_sample_fetch(const struct device *dev, enum sensor_channel chan) in xmc4xxx_temp_sample_fetch()
48 static int xmc4xxx_temp_channel_get(const struct device *dev, enum sensor_channel chan, in xmc4xxx_temp_channel_get()
/Zephyr-latest/tests/drivers/sensor/generic/src/
Ddummy_sensor.c24 enum sensor_channel chan) in dummy_sensor_sample_fetch()
34 enum sensor_channel chan, in dummy_sensor_channel_get()
106 enum sensor_channel chan, in dummy_sensor_attr_set()
123 enum sensor_channel chan, in dummy_sensor_attr_get()
/Zephyr-latest/drivers/sensor/nordic/npm2100_vbat/
Dnpm2100_vbat.c85 const enum sensor_channel chan;
99 enum sensor_channel chan;
113 {(enum sensor_channel)SENSOR_CHAN_NPM2100_DPS_COUNT, SENSOR_ATTR_UPPER_THRESH,
115 {(enum sensor_channel)SENSOR_CHAN_NPM2100_DPS_TIMER, SENSOR_ATTR_UPPER_THRESH,
119 static struct adc_config *adc_cfg_get(const struct device *dev, enum sensor_channel chan) in adc_cfg_get()
132 int npm2100_vbat_channel_get(const struct device *dev, enum sensor_channel chan, in npm2100_vbat_channel_get()
194 int npm2100_vbat_sample_fetch(const struct device *dev, enum sensor_channel chan) in npm2100_vbat_sample_fetch()
258 static int npm2100_vbat_attr_get(const struct device *dev, enum sensor_channel chan, in npm2100_vbat_attr_get()
343 static int npm2100_vbat_attr_set(const struct device *dev, enum sensor_channel chan, in npm2100_vbat_attr_set()
540 {.chan = (enum sensor_channel)SENSOR_CHAN_NPM2100_VOLT_DROOP, \
/Zephyr-latest/samples/shields/npm1300_ek/src/
Dmain.c89 sensor_channel_get(charger, (enum sensor_channel)SENSOR_CHAN_NPM1300_CHARGER_STATUS, in read_sensors()
91 sensor_channel_get(charger, (enum sensor_channel)SENSOR_CHAN_NPM1300_CHARGER_ERROR, &error); in read_sensors()
92 sensor_attr_get(charger, (enum sensor_channel)SENSOR_CHAN_NPM1300_CHARGER_VBUS_STATUS, in read_sensors()
/Zephyr-latest/drivers/sensor/st/i3g4250d/
Di3g4250d.c26 enum sensor_channel chan) in i3g4250d_sample_fetch()
59 static void i3g4250d_channel_convert(enum sensor_channel chan, in i3g4250d_channel_convert()
87 enum sensor_channel chan, in i3g4250d_channel_get()
146 static int i3g4250d_attr_set(const struct device *dev, enum sensor_channel chan, in i3g4250d_attr_set()
/Zephyr-latest/drivers/sensor/st/iis3dhhc/
Diis3dhhc.c24 enum sensor_channel chan) in iis3dhhc_sample_fetch()
51 enum sensor_channel chan, in iis3dhhc_channel_get_acc()
80 enum sensor_channel chan, in iis3dhhc_channel_get()
124 enum sensor_channel chan, in iis3dhhc_attr_set()
/Zephyr-latest/drivers/sensor/ti/tmp114/
Dtmp114.c81 enum sensor_channel chan) in tmp114_sample_fetch()
120 enum sensor_channel chan, in tmp114_channel_get()
141 static int tmp114_attr_get(const struct device *dev, enum sensor_channel chan, in tmp114_attr_get()
169 enum sensor_channel chan, in tmp114_attr_set()
/Zephyr-latest/drivers/sensor/maxim/max31790/
Dmax31790_fan_fault.c18 static int max31790_fan_fault_sample_fetch(const struct device *dev, enum sensor_channel chan) in max31790_fan_fault_sample_fetch()
37 static int max31790_fan_fault_channel_get(const struct device *dev, enum sensor_channel chan, in max31790_fan_fault_channel_get()
/Zephyr-latest/drivers/sensor/rohm/bd8lb600fs/
Dbd8lb600fs_diagnostics.c18 static int bd8lb600fs_diagnostics_sample_fetch(const struct device *dev, enum sensor_channel chan) in bd8lb600fs_diagnostics_sample_fetch()
28 static int bd8lb600fs_diagnostics_channel_get(const struct device *dev, enum sensor_channel chan, in bd8lb600fs_diagnostics_channel_get()
/Zephyr-latest/drivers/sensor/honeywell/sm351lt/
Dsm351lt.c105 enum sensor_channel chan) in sm351lt_sample_fetch()
120 enum sensor_channel chan, in sm351lt_channel_get()
137 enum sensor_channel chan, in sm351lt_attr_set()
158 enum sensor_channel chan, in sm351lt_attr_get()
/Zephyr-latest/drivers/sensor/wsen/wsen_hids_2525020210002/
Dwsen_hids_2525020210002.c26 static int hids_2525020210002_sample_fetch(const struct device *dev, enum sensor_channel chan) in hids_2525020210002_sample_fetch()
76 static int hids_2525020210002_channel_get(const struct device *dev, enum sensor_channel chan, in hids_2525020210002_channel_get()
132 static int hids_2525020210002_attr_set(const struct device *dev, enum sensor_channel chan, in hids_2525020210002_attr_set()
154 static int hids_2525020210002_attr_get(const struct device *dev, enum sensor_channel chan, in hids_2525020210002_attr_get()
/Zephyr-latest/drivers/sensor/st/iis2iclx/
Diis2iclx.h102 int iis2iclx_shub_get_idx(const struct device *dev, enum sensor_channel type);
103 int iis2iclx_shub_config(const struct device *dev, enum sensor_channel chan,
/Zephyr-latest/drivers/sensor/ams/ams_as5600/
Dams_as5600.c33 static int as5600_fetch(const struct device *dev, enum sensor_channel chan) in as5600_fetch()
55 static int as5600_get(const struct device *dev, enum sensor_channel chan, in as5600_get()
/Zephyr-latest/drivers/sensor/st/lsm6dsl/
Dlsm6dsl.c221 enum sensor_channel chan, in lsm6dsl_accel_config()
284 enum sensor_channel chan, in lsm6dsl_gyro_config()
306 enum sensor_channel chan, in lsm6dsl_attr_set()
427 enum sensor_channel chan) in lsm6dsl_sample_fetch()
483 static inline int lsm6dsl_accel_get_channel(enum sensor_channel chan, in lsm6dsl_accel_get_channel()
512 static int lsm6dsl_accel_channel_get(enum sensor_channel chan, in lsm6dsl_accel_channel_get()
531 static inline int lsm6dsl_gyro_get_channel(enum sensor_channel chan, in lsm6dsl_gyro_get_channel()
558 static int lsm6dsl_gyro_channel_get(enum sensor_channel chan, in lsm6dsl_gyro_channel_get()
588 static inline int lsm6dsl_magn_get_channel(enum sensor_channel chan, in lsm6dsl_magn_get_channel()
626 static int lsm6dsl_magn_channel_get(enum sensor_channel chan, in lsm6dsl_magn_channel_get()
[all …]
/Zephyr-latest/drivers/sensor/st/lis2de12/
Dlis2de12.c133 enum sensor_channel chan, in lis2de12_accel_config()
149 enum sensor_channel chan, in lis2de12_attr_set()
193 enum sensor_channel chan) in lis2de12_sample_fetch()
230 static inline int lis2de12_accel_get_channel(enum sensor_channel chan, in lis2de12_accel_get_channel()
259 static int lis2de12_accel_channel_get(enum sensor_channel chan, in lis2de12_accel_channel_get()
282 enum sensor_channel chan, in lis2de12_channel_get()
/Zephyr-latest/drivers/sensor/st/lis2du12/
Dlis2du12.c167 enum sensor_channel chan, in lis2du12_accel_config()
185 enum sensor_channel chan, in lis2du12_attr_set()
222 enum sensor_channel chan) in lis2du12_sample_fetch()
251 static inline int lis2du12_accel_get_channel(enum sensor_channel chan, in lis2du12_accel_get_channel()
280 static int lis2du12_accel_channel_get(enum sensor_channel chan, in lis2du12_accel_channel_get()
288 enum sensor_channel chan, in lis2du12_channel_get()

1234567891011