Home
last modified time | relevance | path

Searched refs:trigger (Results 26 – 50 of 353) sorted by relevance

12345678910>>...15

/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.
/Zephyr-latest/drivers/sensor/ti/ina23x/
Dina237.c286 struct ina237_data *data = CONTAINER_OF(trigg, struct ina237_data, trigger); in ina237_trigger_work_handler()
303 if (data->trigger.handler_alert) { in ina237_trigger_work_handler()
304 data->trigger.handler_alert(data->dev, data->trigger.trig_alert); in ina237_trigger_work_handler()
357 k_work_init(&data->trigger.conversion_work, ina237_trigger_work_handler); in ina237_init()
359 ret = ina23x_trigger_mode_init(&data->trigger, &config->alert_gpio); in ina237_init()
385 ina237->trigger.handler_alert = handler; in ina237_trigger_set()
386 ina237->trigger.trig_alert = trig; in ina237_trigger_set()
/Zephyr-latest/samples/sensor/accel_trig/
DREADME.rst2 :name: Accelerometer trigger
10 By default it uses a data ready trigger to read the accelerometer data and print it to the console.
12 If the accelerometer is enabled with a tap trigger, the sample uses the tap trigger event to
/Zephyr-latest/samples/sensor/bmg160/src/
Dmain.c73 const struct sensor_trigger *trigger) in trigger_handler() argument
75 if (trigger->type != SENSOR_TRIG_DATA_READY && in trigger_handler()
76 trigger->type != SENSOR_TRIG_DELTA) { in trigger_handler()
/Zephyr-latest/include/zephyr/arch/x86/
Dx86_acpi.h14 uint32_t arch_acpi_encode_irq_flags(uint8_t polarity, uint8_t trigger);
/Zephyr-latest/drivers/sensor/memsic/mc3419/
Dmc3419_trigger.c47 data->trigger[MC3419_TRIG_DATA_READY]); in mc3419_process_int()
54 data->trigger[MC3419_TRIG_ANY_MOTION]); in mc3419_process_int()
100 data->trigger[MC3419_TRIG_DATA_READY] = trig; in mc3419_configure_trigger()
109 data->trigger[MC3419_TRIG_ANY_MOTION] = trig; in mc3419_configure_trigger()
DKconfig27 bool "No trigger"
33 Enable trigger to run in own thread. By
/Zephyr-latest/samples/sensor/jc42/
DREADME.rst5 Get ambient temperature from a JEDEC JC 42.4 compliant temperature sensor (polling & trigger
53 Note that in the capture below output from the trigger callback and the
67 trigger fired 2, temp 16.3125 C
76 trigger fired 3, temp 16.8125 C
/Zephyr-latest/samples/sensor/sensor_shell/include/
Dtrigger.h14 const struct sensor_trigger *trigger);
/Zephyr-latest/drivers/comparator/
Dcomparator_shell.c74 enum comparator_trigger *trigger) in get_trigger_from_str() argument
78 *trigger = (enum comparator_trigger)i; in get_trigger_from_str()
93 enum comparator_trigger trigger; in cmd_set_trigger() local
104 ret = get_trigger_from_str(sh, trigger_str, &trigger); in cmd_set_trigger()
109 ret = comparator_set_trigger(dev, trigger); in cmd_set_trigger()
/Zephyr-latest/drivers/sensor/jedec/jc42/
DKconfig18 prompt "JC42 trigger mode"
22 bool "No trigger"
/Zephyr-latest/samples/sensor/amg88xx/src/
Dmain.c18 const struct sensor_trigger *trigger) in trigger_handler() argument
21 ARG_UNUSED(trigger); in trigger_handler()
/Zephyr-latest/samples/boards/espressif/deep_sleep/
DREADME.rst13 This sample shows how to set a wake up source, trigger deep sleep and then
18 1. ``Timer``: An RTC timer that can be programmed to trigger a wake up after
19 a preset time. This example will trigger a wake up every 20 seconds.
21 uses GPIO2 and GPIO4 to trigger a wake up with any one of the two pins are
39 or both of the pins must be set to high. Note that floating pins may trigger
DKconfig14 be used for the same purpose. To trigger a wake-up, connect
23 as wake-up source. Be aware that when low level is used to trigger
/Zephyr-latest/drivers/sensor/ams/ccs811/
Dccs811_trigger.c80 data->handler(dev, data->trigger); in process_irq()
121 #error Unhandled trigger configuration
165 drv_data->trigger = trig; in ccs811_trigger_set()
206 #error Unhandled trigger configuration in ccs811_init_interrupt()
/Zephyr-latest/drivers/sensor/microchip/tcn75a/
DKconfig19 bool "No trigger"
38 Enable interrupt based trigger support for TCN75A. Requires that
/Zephyr-latest/drivers/interrupt_controller/
Dintc_wkpu_nxp_s32.c109 enum wkpu_nxp_s32_trigger trigger) in wkpu_nxp_s32_enable_interrupt() argument
120 if ((trigger == WKPU_NXP_S32_RISING_EDGE) || (trigger == WKPU_NXP_S32_BOTH_EDGES)) { in wkpu_nxp_s32_enable_interrupt()
128 if ((trigger == WKPU_NXP_S32_FALLING_EDGE) || (trigger == WKPU_NXP_S32_BOTH_EDGES)) { in wkpu_nxp_s32_enable_interrupt()
Dintc_eirq_nxp_s32.c121 enum eirq_nxp_s32_trigger trigger) in eirq_nxp_s32_enable_interrupt() argument
130 if ((trigger == EIRQ_NXP_S32_RISING_EDGE) || (trigger == EIRQ_NXP_S32_BOTH_EDGES)) { in eirq_nxp_s32_enable_interrupt()
138 if ((trigger == EIRQ_NXP_S32_FALLING_EDGE) || (trigger == EIRQ_NXP_S32_BOTH_EDGES)) { in eirq_nxp_s32_enable_interrupt()
/Zephyr-latest/tests/drivers/sensor/hc-sr04/boards/
Dnative_sim.overlay8 trigger-gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
/Zephyr-latest/drivers/sensor/st/stts751/
DKconfig26 bool "No trigger"
66 HIGH temperature threshold to trigger an alarm
73 LOW temperature threshold to trigger an alarm
/Zephyr-latest/drivers/sensor/nuvoton/nuvoton_adc_cmp_npcx/
DKconfig14 trigger API.
22 trigger handlers; set this option to use dedicated work queue instead.
/Zephyr-latest/drivers/sensor/sx9500/
DKconfig24 prompt "SX9500 trigger mode"
28 bool "No trigger"
/Zephyr-latest/drivers/gpio/
Dgpio_sam0.c172 enum sam0_eic_trigger trigger; in gpio_sam0_pin_interrupt_configure() local
214 trigger = (mode == GPIO_INT_MODE_LEVEL) in gpio_sam0_pin_interrupt_configure()
219 trigger = (mode == GPIO_INT_MODE_LEVEL) in gpio_sam0_pin_interrupt_configure()
224 trigger = SAM0_EIC_BOTH; in gpio_sam0_pin_interrupt_configure()
232 rc = sam0_eic_acquire(config->id, pin, trigger, in gpio_sam0_pin_interrupt_configure()

12345678910>>...15