Home
last modified time | relevance | path

Searched refs:trigger (Results 1 – 25 of 331) sorted by relevance

12345678910>>...14

/Zephyr-latest/drivers/sensor/
Dsensor_shell_stream.c72 iodev_sensor_shell_trigger.trigger = SENSOR_TRIG_DOUBLE_TAP; in cmd_sensor_stream()
74 iodev_sensor_shell_trigger.trigger = SENSOR_TRIG_DATA_READY; in cmd_sensor_stream()
76 iodev_sensor_shell_trigger.trigger = SENSOR_TRIG_DELTA; in cmd_sensor_stream()
78 iodev_sensor_shell_trigger.trigger = SENSOR_TRIG_FREEFALL; in cmd_sensor_stream()
80 iodev_sensor_shell_trigger.trigger = SENSOR_TRIG_MOTION; in cmd_sensor_stream()
82 iodev_sensor_shell_trigger.trigger = SENSOR_TRIG_NEAR_FAR; in cmd_sensor_stream()
84 iodev_sensor_shell_trigger.trigger = SENSOR_TRIG_STATIONARY; in cmd_sensor_stream()
86 iodev_sensor_shell_trigger.trigger = SENSOR_TRIG_THRESHOLD; in cmd_sensor_stream()
88 iodev_sensor_shell_trigger.trigger = SENSOR_TRIG_FIFO_WATERMARK; in cmd_sensor_stream()
90 iodev_sensor_shell_trigger.trigger = SENSOR_TRIG_FIFO_FULL; in cmd_sensor_stream()
[all …]
Dsensor_shell.c179 const struct sensor_trigger *trigger);
184 .trigger = {.chan = SENSOR_CHAN_ALL, .type = (trig_enum)}}
195 struct sensor_trigger trigger; member
343 for (int trigger = 0; decoder->has_trigger != NULL && trigger < SENSOR_TRIG_COMMON_COUNT; in sensor_shell_processing_callback() local
344 ++trigger) { in sensor_shell_processing_callback()
345 if (!decoder->has_trigger(buf, trigger)) { in sensor_shell_processing_callback()
348 shell_info(ctx->sh, "Trigger (%d / %s) detected", trigger, in sensor_shell_processing_callback()
349 (sensor_trigger_table[trigger].name == NULL in sensor_shell_processing_callback()
351 : sensor_trigger_table[trigger].name)); in sensor_shell_processing_callback()
967 const struct sensor_trigger *trigger) in data_ready_trigger_handler() argument
[all …]
/Zephyr-latest/drivers/sensor/lm77/
DKconfig24 Enable trigger support for the LM77 digital temperature sensor.
27 interrupt mode). After a trigger event the LM77 temperature must be
28 read in order to reset and rearm the trigger.
33 int "Stack size for the trigger workqueue thread"
36 Size of the stack used for the internal trigger workqueue thread.
39 int "Priority for the trigger workqueue thread"
42 Priority level for the internal trigger workqueue thread.
/Zephyr-latest/samples/sensor/apds9960/
DREADME.rst12 sensor in polling mode (without an interrupt trigger).
32 ambient light intensity without trigger is 387
33 proxy without trigger is 115
34 ambient light intensity without trigger is 386
35 proxy without trigger is 112
36 ambient light intensity without trigger is 386
/Zephyr-latest/samples/sensor/mcux_acmp/src/
Dmain.c90 const struct sensor_trigger *trigger) in acmp_trigger_handler() argument
94 acmp_input_handler((int16_t)trigger->type == in acmp_trigger_handler()
100 struct sensor_trigger trigger; in main() local
127 trigger.chan = SENSOR_CHAN_MCUX_ACMP_OUTPUT; in main()
129 trigger.type = triggers[i]; in main()
130 err = sensor_trigger_set(acmp, &trigger, acmp_trigger_handler); in main()
/Zephyr-latest/drivers/sensor/lm75/
DKconfig24 bool "No trigger"
40 int "Stack size for the trigger workqueue thread"
43 Size of the stack used for the internal trigger workqueue thread.
46 int "Priority for the trigger workqueue thread"
49 Priority level for the internal trigger workqueue thread.
/Zephyr-latest/include/zephyr/drivers/
Dcomparator.h45 enum comparator_trigger trigger);
86 enum comparator_trigger trigger);
89 enum comparator_trigger trigger) in z_impl_comparator_set_trigger() argument
91 return DEVICE_API_GET(comparator, dev)->set_trigger(dev, trigger); in z_impl_comparator_set_trigger()
/Zephyr-latest/drivers/serial/
DKconfig.xmc4xxx21 bool "Continue to trigger fifo rx interrupt"
24 When this option is enabled, an interrupt will continue to trigger
26 trigger only once on the first received byte. The receive fifo will
27 need to be fully flushed so that the interrupt will trigger again.
/Zephyr-latest/scripts/build/
Dsubfolder_list.py91 def touch(trigger): argument
97 if trigger is None:
100 if os.path.exists(trigger):
101 os.utime(trigger, None)
103 with open(trigger, 'w') as trigger_fo:
/Zephyr-latest/samples/sensor/vcnl4040/
DREADME.rst5 Get proximity and ambient light data from a VCNL4040 sensor (polling & trigger mode).
11 5 sec in the interval of 300msec in polling mode. Then threshold trigger mode
50 Testing the trigger mode.
51 Testing proximity trigger.
58 Threshold trigger test finished.
/Zephyr-latest/arch/x86/core/
Dx86_acpi.c9 uint32_t arch_acpi_encode_irq_flags(uint8_t polarity, uint8_t trigger) in arch_acpi_encode_irq_flags() argument
13 if (trigger == ACPI_LEVEL_SENSITIVE) { in arch_acpi_encode_irq_flags()
/Zephyr-latest/drivers/comparator/
Dcomparator_handlers.c18 enum comparator_trigger trigger) in z_vrfy_comparator_set_trigger() argument
21 return z_impl_comparator_set_trigger(dev, trigger); in z_vrfy_comparator_set_trigger()
/Zephyr-latest/samples/sensor/mcux_lpcmp/src/
Dmain.c55 static void lpcmp_trigger_handler(const struct device *dev, const struct sensor_trigger *trigger) in lpcmp_trigger_handler() argument
59 lpcmp_input_handler((int16_t)trigger->type == SENSOR_TRIG_MCUX_LPCMP_OUTPUT_RISING); in lpcmp_trigger_handler()
66 struct sensor_trigger trigger[ARRAY_SIZE(triggers)] = { in main() local
103 err = sensor_trigger_set(lpcmp, &trigger[i], lpcmp_trigger_handler); in main()
/Zephyr-latest/drivers/misc/renesas_ra_external_interrupt/
Drenesas_ra_external_interrupt.c33 enum ext_irq_trigger trigger; member
62 if (callback->trigger != GPIO_INT_TRIG_LOW) { in gpio_ra_interrupt_set()
68 switch (callback->trigger) { in gpio_ra_interrupt_set()
131 uint8_t irqcr = ((config->trigger << R_ICU_IRQCR_IRQMD_Pos)); in gpio_ra_interrupt_init()
144 .trigger = \
/Zephyr-latest/samples/sensor/accel_trig/src/
Dmain.c14 static void trigger_handler(const struct device *dev, const struct sensor_trigger *trigger) in trigger_handler() argument
16 ARG_UNUSED(trigger); in trigger_handler()
/Zephyr-latest/samples/sensor/magn_trig/src/
Dmain.c14 static void trigger_handler(const struct device *dev, const struct sensor_trigger *trigger) in trigger_handler() argument
16 ARG_UNUSED(trigger); in trigger_handler()
/Zephyr-latest/doc/hardware/peripherals/
Dcomparator.rst13 Comparators can typically set a trigger which triggers on output changes. This trigger can
45 * ``await_trigger`` Awaits trigger using the following flow:
47 * Set trigger callback using :c:func:`comparator_set_trigger_callback`
49 * Clear trigger callback using :c:func:`comparator_set_trigger_callback`
/Zephyr-latest/doc/hardware/peripherals/sensor/
Dfetch_and_get.rst42 context the trigger runs. The application then needs to register a callback with
50 There are typically two options provided for each driver where to run trigger
51 handlers. Either the trigger handler is run using the system work queue thread
53 the BMI160 driver which has Kconfig options for selecting a trigger mode.
62 that single trigger handler function.
64 prioritize trigger handling among other threads.
66 needs time to handle the trigger.
/Zephyr-latest/samples/sensor/mpu6050/src/
Dmain.c72 static struct sensor_trigger trigger; variable
97 trigger = (struct sensor_trigger) { in main()
101 if (sensor_trigger_set(mpu6050, &trigger, in main()
/Zephyr-latest/tests/drivers/adc/adc_api/boards/
Dfrdm_k64f.overlay17 hw-trigger-src = <4>;
20 periodic-trigger;
Dfrdm_k82f.overlay17 hw-trigger-src = <4>;
20 periodic-trigger;
/Zephyr-latest/drivers/sensor/nordic/temp/
Dtemp_nrfs.c24 struct sensor_trigger trigger; member
49 struct sensor_trigger trigger; in temp_nrfs_handle_event() local
53 trigger = data->trigger; in temp_nrfs_handle_event()
58 handler(dev, &trigger); in temp_nrfs_handle_event()
115 data->trigger = *trig; in api_sensor_trigger_set()
/Zephyr-latest/samples/sensor/apds9960/src/
Dmain.c18 const struct sensor_trigger *trigger) in trigger_handler() argument
21 ARG_UNUSED(trigger); in trigger_handler()
/Zephyr-latest/drivers/sensor/bosch/bmi08x/
DKconfig21 prompt "Accelerometer trigger mode"
27 bool "No trigger"
60 prompt "Gyroscope trigger mode"
67 bool "No trigger"
/Zephyr-latest/samples/sensor/lsm6dso/
DREADME.rst5 Get accelerometer and gyroscope data from an LSM6DSO sensor (polling & trigger
11 12.5Hz and enables a trigger on data ready. It displays on the console
46 Testing LSM6DSO sensor in trigger mode.

12345678910>>...14