Home
last modified time | relevance | path

Searched full:triggers (Results 1 – 25 of 167) sorted by relevance

1234567

/Zephyr-latest/doc/hardware/peripherals/sensor/
Dtriggers.rst3 Sensor Triggers
6 :dfn:`Triggers`, enumerated in :c:enum:`sensor_trigger_type`, are sensor
12 There are many kinds of triggers sensors provide, from informative ones such as
Dfetch_and_get.rst6 The stable and long existing APIs for reading sensor data and handling triggers
37 Triggers section in Fetch and Get
40 Triggers in the stable API require enabling triggers with a device
44 :c:func:`sensor_trigger_set` for the specific triggers (events) to listen for.
47 Triggers may not be set from user mode threads, and the callback is not
Dread_and_decode.rst51 * Triggers result in enqueued events, not callbacks.
52 * Triggers can be setup to automatically fetch data. Potentially
54 * Far less likely triggers are missed due to long held interrupt masks from
56 * Sensor FIFOs supported by wiring up FIFO triggers to read data into
96 Handling triggers with `Read and Decode`_ works by setting up a stream I/O device
97 configuration. A stream specifies the set of triggers to capture and if data
Dindex.rst26 :ref:`sensor-attribute`, and :ref:`sensor-trigger`. Attributes and triggers may
34 :ref:`sensor-read-and-decode`. Triggers are handled entirely differently for
43 triggers.rst
/Zephyr-latest/drivers/serial/
DKconfig.sifive30 Port 0 RX Threshold at which the RX FIFO interrupt triggers.
37 Port 0 TX Threshold at which the TX FIFO interrupt triggers.
53 Port 1 RX Threshold at which the RX FIFO interrupt triggers.
60 Port 1 TX Threshold at which the TX FIFO interrupt triggers.
/Zephyr-latest/tests/bsim/bluetooth/mesh/tests_scripts/bridge/
Dbrg_net_key_refresh.sh35 # c. Tester triggers transition to KRP phase 0x02 for relevant nodes for
38 # e. Tester triggers transition to KRP phase 0x03 for relevant nodes for
43 # 7. Tester triggers transition to KRP phase 0x02 for all nodes and net keys.
45 # 9. Tester triggers transition to KRP phase 0x03 for all nodes and net keys.
/Zephyr-latest/samples/sensor/mcux_lpcmp/src/
Dmain.c39 static const int16_t triggers[] = { variable
66 struct sensor_trigger trigger[ARRAY_SIZE(triggers)] = { in main()
69 .type = triggers[0], in main()
73 .type = triggers[1], in main()
101 /* Set LPCMP triggers */ in main()
102 for (uint8_t i = 0; i < ARRAY_SIZE(triggers); i++) { in main()
/Zephyr-latest/drivers/gpio/
Dgpio_pcal64xxa.c93 struct pcal64xxa_triggers triggers; member
102 const struct pcal64xxa_triggers *triggers);
227 int_sources |= ((input_port ^ drv_data->input_port_last) & ~drv_data->triggers.masked); in pcal64xxa_process_input()
232 pcal64xxa_data_t dual_edge_triggers = drv_data->triggers.dual_edge; in pcal64xxa_process_input()
234 ~dual_edge_triggers & drv_data->triggers.on_low; in pcal64xxa_process_input()
237 /* For dual edge triggers, react to all state changes. */ in pcal64xxa_process_input()
239 /* For single edge triggers, fire callbacks only for the pins in pcal64xxa_process_input()
359 struct pcal64xxa_triggers triggers; in pcal64xxa_pin_interrupt_configure() local
379 triggers = drv_data->triggers; in pcal64xxa_pin_interrupt_configure()
382 triggers.masked |= BIT(pin); in pcal64xxa_pin_interrupt_configure()
[all …]
/Zephyr-latest/modules/hal_infineon/mtb-hal-cat1/
DCMakeLists.txt64 ${hal_cat1b_dir}/source/triggers/cyhal_triggers_cyw20829.c)
67 ${hal_cat1a_dir}/source/triggers/cyhal_triggers_psoc6_01.c)
69 ${hal_cat1a_dir}/source/triggers/cyhal_triggers_psoc6_02.c)
71 ${hal_cat1a_dir}/source/triggers/cyhal_triggers_psoc6_03.c)
73 ${hal_cat1a_dir}/source/triggers/cyhal_triggers_psoc6_04.c)
/Zephyr-latest/drivers/sensor/bosch/bmc150_magn/
DKconfig57 bool "Triggers"
61 Enable triggers for BMC150 magnetometer
/Zephyr-latest/samples/sensor/mcux_acmp/src/
Dmain.c75 static const int16_t triggers[] = { variable
126 /* Set ACMP triggers */ in main()
128 for (i = 0; i < ARRAY_SIZE(triggers); i++) { in main()
129 trigger.type = triggers[i]; in main()
/Zephyr-latest/tests/drivers/uart/uart_errors/
DREADME.txt4 Additional bit triggers framing error.
/Zephyr-latest/samples/sensor/thermometer/src/
Dmain.c93 /* This sensor supports threshold triggers */ in main()
106 /* This sensor supports threshold triggers */ in main()
112 printf("Enabled sensor threshold triggers\n"); in main()
/Zephyr-latest/tests/drivers/i2s/i2s_api/src/
Dtest_i2s_states.c87 /* Send RX stream triggers */ in ZTEST_USER()
102 /* Send TX stream triggers */ in ZTEST_USER()
149 /* Send invalid triggers, expect failure */ in ZTEST_USER()
209 /* Send invalid triggers, expect failure */ in ZTEST_USER()
223 /* Send invalid triggers, expect failure */ in ZTEST_USER()
294 /* Send invalid triggers, expect failure */ in ZTEST_USER()
310 /* Send invalid triggers, expect failure */ in ZTEST_USER()
/Zephyr-latest/dts/bindings/watchdog/
Dti,cc13xx-cc26xx-watchdog.yaml20 Whether the watchdog triggers a Non-Maskable Interrupt or a standard one
/Zephyr-latest/subsys/testsuite/ztest/include/zephyr/
Dztest_error_hook.h20 * @details This is used for negative test cases which triggers a fatal
50 * @details This is used for negative test cases which triggers a assert
/Zephyr-latest/include/zephyr/drivers/misc/ft8xx/
Dft8xx.h85 * @brief Set callback executed when FT8xx triggers interrupt
94 * @param callback Pointer to function called when FT8xx triggers interrupt
/Zephyr-latest/drivers/watchdog/
DKconfig.npcx22 handled. After this time window, the watchdog reset triggers
DKconfig.it8xxx220 handled. After this time window, the watchdog reset triggers
/Zephyr-latest/samples/boards/nxp/mimxrt1170_evk_cm7/magic_addr/
DREADME.rst4 Configure an interrupt that triggers on arbitrary RAM/TCM address access.
/Zephyr-latest/dts/bindings/misc/
Drenesas,ra-external-interrupt.yaml29 Select the signal edge or state that triggers an interrupt
/Zephyr-latest/tests/kernel/mem_protect/protection/src/
Dmain.c71 * Optimally, this triggers a fault. in execute_from_buffer()
97 * Try writing to rodata. Optimally, this triggers a fault. in ZTEST()
129 * Optimally, this triggers a fault. in ZTEST()
/Zephyr-latest/drivers/sensor/st/lsm6dsv16x/
Dlsm6dsv16x_rtio_stream.c115 if (cfg->triggers[i].trigger == SENSOR_TRIG_FIFO_WATERMARK) { in lsm6dsv16x_submit_stream()
117 } else if (cfg->triggers[i].trigger == SENSOR_TRIG_FIFO_FULL) { in lsm6dsv16x_submit_stream()
180 if (read_config->triggers[i].trigger == SENSOR_TRIG_FIFO_WATERMARK) { in lsm6dsv16x_read_fifo_cb()
181 fifo_ths_cfg = &read_config->triggers[i]; in lsm6dsv16x_read_fifo_cb()
185 if (read_config->triggers[i].trigger == SENSOR_TRIG_FIFO_FULL) { in lsm6dsv16x_read_fifo_cb()
186 fifo_full_cfg = &read_config->triggers[i]; in lsm6dsv16x_read_fifo_cb()
/Zephyr-latest/drivers/sensor/adi/adxl362/
Dadxl362_stream.c68 if (cfg->triggers[i].trigger == SENSOR_TRIG_FIFO_WATERMARK) { in adxl362_submit_stream()
74 if (cfg->triggers[i].trigger == SENSOR_TRIG_FIFO_FULL) { in adxl362_submit_stream()
278 if (read_config->triggers[i].trigger == SENSOR_TRIG_FIFO_WATERMARK) { in adxl362_process_status_cb()
279 fifo_wmark_cfg = &read_config->triggers[i]; in adxl362_process_status_cb()
283 if (read_config->triggers[i].trigger == SENSOR_TRIG_FIFO_FULL) { in adxl362_process_status_cb()
284 fifo_full_cfg = &read_config->triggers[i]; in adxl362_process_status_cb()
/Zephyr-latest/drivers/sensor/st/lsm9ds0_gyro/
DKconfig68 bool "Triggers"

1234567