Home
last modified time | relevance | path

Searched refs:triggers (Results 1 – 25 of 57) sorted by relevance

123

/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()
102 for (uint8_t i = 0; i < ARRAY_SIZE(triggers); i++) { in main()
/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/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()
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()
384 triggers.masked &= ~BIT(pin); in pcal64xxa_pin_interrupt_configure()
388 triggers.dual_edge |= BIT(pin); in pcal64xxa_pin_interrupt_configure()
[all …]
/Zephyr-latest/samples/sensor/mcux_acmp/src/
Dmain.c75 static const int16_t triggers[] = { variable
128 for (i = 0; i < ARRAY_SIZE(triggers); i++) { in main()
129 trigger.type = triggers[i]; in main()
/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/tests/drivers/uart/uart_errors/
DREADME.txt4 Additional bit triggers framing error.
/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/adi/adxl372/
Dadxl372_stream.c86 if ((cfg->triggers[i].trigger == SENSOR_TRIG_FIFO_WATERMARK) || in adxl372_submit_stream()
87 (cfg->triggers[i].trigger == SENSOR_TRIG_FIFO_FULL)) { in adxl372_submit_stream()
323 if (read_config->triggers[i].trigger == SENSOR_TRIG_FIFO_WATERMARK) { in adxl372_process_status1_cb()
324 fifo_wmark_cfg = &read_config->triggers[i]; in adxl372_process_status1_cb()
328 if (read_config->triggers[i].trigger == SENSOR_TRIG_FIFO_FULL) { in adxl372_process_status1_cb()
329 fifo_full_cfg = &read_config->triggers[i]; in adxl372_process_status1_cb()
/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/doc/hardware/peripherals/sensor/
Dtriggers.rst12 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
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.
Dread_and_decode.rst54 * 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
43 triggers.rst
/Zephyr-latest/drivers/sensor/tdk/icm42688/
Dicm42688_rtio_stream.c26 switch (cfg->triggers[i].trigger) { in icm42688_submit_stream()
37 LOG_DBG("Trigger (%d) not supported", cfg->triggers[i].trigger); in icm42688_submit_stream()
170 if (cfg->triggers[i].trigger == trig) { in icm42688_get_read_config_trigger()
171 return &cfg->triggers[i]; in icm42688_get_read_config_trigger()
/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/drivers/sensor/adi/adxl367/
Dadxl367_stream.c92 if (cfg->triggers[i].trigger == SENSOR_TRIG_FIFO_WATERMARK) { in adxl367_submit_stream()
98 if (cfg->triggers[i].trigger == SENSOR_TRIG_FIFO_FULL) { in adxl367_submit_stream()
433 if (read_config->triggers[i].trigger == SENSOR_TRIG_FIFO_WATERMARK) { in adxl367_process_status_cb()
434 fifo_wmark_cfg = &read_config->triggers[i]; in adxl367_process_status_cb()
438 if (read_config->triggers[i].trigger == SENSOR_TRIG_FIFO_FULL) { in adxl367_process_status_cb()
439 fifo_full_cfg = &read_config->triggers[i]; in adxl367_process_status_cb()
/Zephyr-latest/samples/sensor/accel_trig/
DREADME.rst9 This sample application demonstrates how to use 3-Axis accelerometers with triggers.
/Zephyr-latest/drivers/sensor/
Dsensor_shell_stream.c20 .triggers = &iodev_sensor_shell_trigger,
DKconfig75 int "Maximum number of sensor devices that can have enabled triggers in shell"
80 enabled triggers for.
/Zephyr-latest/drivers/sensor/bosch/bmc150_magn/
DKconfig61 Enable triggers for BMC150 magnetometer
/Zephyr-latest/drivers/sensor/adi/adxl345/
Dadxl345_stream.c30 if (cfg->triggers[i].trigger == SENSOR_TRIG_FIFO_WATERMARK) { in adxl345_submit_stream()
262 if (read_config->triggers[i].trigger == SENSOR_TRIG_FIFO_WATERMARK) { in adxl345_process_status1_cb()
263 fifo_wmark_cfg = &read_config->triggers[i]; in adxl345_process_status1_cb()
/Zephyr-latest/samples/sensor/sht3xd/
DREADME.rst12 Optionally, it also shows how to use the upper threshold triggers.
/Zephyr-latest/tests/arch/arm/arm_no_multithreading/
DREADME.txt14 - Activating PendSV triggers a Reserved Exception error

123