Home
last modified time | relevance | path

Searched +full:stream +full:- +full:mode (Results 1 – 25 of 125) sorted by relevance

12345

/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dblob_io_flash.h4 * SPDX-License-Identifier: Apache-2.0
17 * @defgroup bt_mesh_blob_io_flash Bluetooth Mesh BLOB flash stream
22 /** BLOB flash stream. */
26 /** Active stream mode. */
27 enum bt_mesh_blob_io_mode mode; member
34 /* BLOB stream. */
38 /** @brief Initialize a flash stream.
40 * @param flash Flash stream.
Dblob.h4 * SPDX-License-Identifier: Apache-2.0
28 /** BLOB transfer mode. */
30 /** No valid transfer mode. */
32 /** Push mode (Push BLOB Transfer Mode). */
34 /** Pull mode (Pull BLOB Transfer Mode). */
85 /** The transfer mode is not supported by the BLOB Transfer Server
128 /** BLOB transfer mode. */
129 enum bt_mesh_blob_xfer_mode mode; member
136 /** BLOB stream interaction mode. */
138 /** Read data from the stream. */
[all …]
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Dblob.rst13 bytes). The BLOB transfer protocol has built-in recovery procedures for packet losses, and sets up
19 BLOB to be transferred in 10-15 minutes. However, network conditions, transfer capabilities and
52 The BLOB transfer protocol does not provide any built-in integrity checks, encryption or
58 ------
68 ------
72 mechanism for transferring chunks depends on the transfer mode.
74 When operating in Push BLOB Transfer Mode, the chunks are sent as unacknowledged packets from the
80 When operating in Pull BLOB Transfer Mode, the BLOB Transfer Server will request a small number of
92 In the BLOB Transfer models' APIs, the BLOB data handling is separated from the high-level transfer
95 itself is accessed through a *BLOB stream*.
[all …]
/Zephyr-latest/dts/bindings/sensor/
Dzephyr,sensing-sensor.yaml2 # SPDX-License-Identifier: Apache-2.0
7 include: sensor-device.yaml
10 sensor-types:
15 friendly-name:
18 minimal-interval:
27 reporters-index:
29 description: the index in sensor-types of reporter if the reporter support multiple sensor-types
31 stream-mode:
33 description: sensor works on stream mode or poll mode
/Zephyr-latest/drivers/i2s/
Di2s_sam_ssc.c4 * SPDX-License-Identifier: Apache-2.0
13 * - TX and RX path share a common bit clock divider and as a result they cannot
17 * - DMA is used in simple single block transfer mode and as such is not able
19 * linked list mode should be used.
78 struct stream { struct
88 int (*stream_start)(struct stream *, Ssc *const, argument
90 void (*stream_disable)(struct stream *, Ssc *const, argument
92 void (*queue_drop)(struct stream *); argument
99 struct stream rx; argument
100 struct stream tx;
[all …]
Di2s_mcux_flexcomm.c4 * SPDX-License-Identifier: Apache-2.0
33 struct stream { struct
50 struct stream rx; argument
55 struct stream tx;
78 fsl_cfg->dataLength = i2s_cfg->word_size; in i2s_mcux_flexcomm_cfg_convert()
79 if ((i2s_cfg->format & I2S_FMT_DATA_FORMAT_MASK) == in i2s_mcux_flexcomm_cfg_convert()
82 fsl_cfg->frameLength = 2 * i2s_cfg->word_size; in i2s_mcux_flexcomm_cfg_convert()
84 fsl_cfg->frameLength = i2s_cfg->channels * i2s_cfg->word_size; in i2s_mcux_flexcomm_cfg_convert()
87 if (fsl_cfg->dataLength < 4 || fsl_cfg->dataLength > 32) { in i2s_mcux_flexcomm_cfg_convert()
89 return -EINVAL; in i2s_mcux_flexcomm_cfg_convert()
[all …]
Di2s_litex.c4 * SPDX-License-Identifier: Apache-2.0
22 val = (val == max - 1) ? 0 : val + 1; \
79 return -EINVAL; in i2s_get_foramt()
185 int max_off = chan_size - 1; in i2s_copy_from_fifo()
189 for (int off = max_off; off >= 0; off--) { in i2s_copy_from_fifo()
191 *(dst + i * chan_size + (max_off - off)) = in i2s_copy_from_fifo()
236 int max_off = chan_size - 1; in i2s_copy_to_fifo()
241 for (int off = max_off; off >= 0; off--) { in i2s_copy_to_fifo()
244 *(src + i * chan_size + (max_off - off)); in i2s_copy_to_fifo()
269 if (rb->tail == rb->head) { in queue_get()
[all …]
/Zephyr-latest/doc/connectivity/bluetooth/shell/classic/
Da2dp.rst10 …* Source and Sink sides register stream endpoints. using :code:`a2dp register_ep source sbc` and :…
12 …* Source and Sink side can discover remote device's stream endpoints. using :code:`a2dp discover_p…
13 …* Source or Sink configure the stream to create the stream after discover remote's endpoints. usin…
14 * Source or Sink establish the stream. using :code:`a2dp establish`.
22 .. group-tab:: Device A (Audio Source Side)
24 .. code-block:: console
40 channel mode:
43 Joint-Stereo
50 Bitpool Range: 18 - 35
53 stream configured
[all …]
/Zephyr-latest/drivers/dma/
Ddma_stm32.c5 * SPDX-License-Identifier: Apache-2.0
72 const struct dma_stm32_config *config = dev->config; in dma_stm32_dump_stream_irq()
73 DMA_TypeDef *dma = (DMA_TypeDef *)(config->base); in dma_stm32_dump_stream_irq()
80 const struct dma_stm32_config *config = dev->config; in dma_stm32_clear_stream_irq()
81 DMA_TypeDef *dma = (DMA_TypeDef *)(config->base); in dma_stm32_clear_stream_irq()
90 const struct dma_stm32_config *config = dev->config; in dma_stm32_irq_handler()
91 DMA_TypeDef *dma = (DMA_TypeDef *)(config->base); in dma_stm32_irq_handler()
92 struct dma_stm32_stream *stream; in dma_stm32_irq_handler() local
95 __ASSERT_NO_MSG(id < config->max_streams); in dma_stm32_irq_handler()
97 stream = &config->streams[id]; in dma_stm32_irq_handler()
[all …]
Ddma_stm32u5.c6 * SPDX-License-Identifier: Apache-2.0
48 const struct dma_stm32_config *config = dev->config; in dma_stm32_dump_stream_irq()
49 DMA_TypeDef *dma = (DMA_TypeDef *)(config->base); in dma_stm32_dump_stream_irq()
56 const struct dma_stm32_config *config = dev->config; in dma_stm32_clear_stream_irq()
57 DMA_TypeDef *dma = (DMA_TypeDef *)(config->base); in dma_stm32_clear_stream_irq()
227 return -EAGAIN; in stm32_dma_disable_stream()
249 const struct dma_stm32_config *config = dev->config; in dma_stm32_irq_handler()
250 DMA_TypeDef *dma = (DMA_TypeDef *)(config->base); in dma_stm32_irq_handler()
251 struct dma_stm32_stream *stream; in dma_stm32_irq_handler() local
254 __ASSERT_NO_MSG(id < config->max_streams); in dma_stm32_irq_handler()
[all …]
/Zephyr-latest/include/zephyr/bluetooth/classic/
Da2dp.h6 * Copyright (c) 2015-2016 Intel Corporation
9 * SPDX-License-Identifier: Apache-2.0
44 .codec_cap = _capability, .stream = NULL, \
70 * @param _ch_mode sbc codec channel mode.
100 * @param _ch_mode sbc codec channel mode.
166 * @param _ch_mode_cfg sbc codec channel mode.
218 /** Channel Mode is not valid or multiple values have been selected */
220 /** Channel Mode is not supported */
244 /** MPF-2 is not supported */
296 /** Codec MPEG-1 */
[all …]
/Zephyr-latest/drivers/mipi_dbi/
Dmipi_dbi_nxp_lcdic.c4 * SPDX-License-Identifier: Apache-2.0
55 /* Dummy SCLK cycles between TX and RX (for SPI mode) */
58 /* Use auto repeat mode */
60 /* Tearing enable sync mode */
62 /* TRX command timeout mode */
90 struct stream { struct
119 struct stream dma_stream;
153 const struct mipi_dbi_lcdic_config *config = dev->config; in mipi_dbi_lcdic_reset_state()
154 LCDIC_Type *base = config->base; in mipi_dbi_lcdic_reset_state()
156 base->CTRL &= ~LCDIC_CTRL_LCDIC_EN_MASK; in mipi_dbi_lcdic_reset_state()
[all …]
Dmipi_dbi_nxp_flexio_lcdif.c4 * SPDX-License-Identifier: Apache-2.0
22 struct stream { struct
42 struct stream dma_tx; argument
52 struct mcux_flexio_lcdif_data *lcdif_data = flexio_dev->data; in flexio_lcdif_dma_callback()
53 const struct mcux_flexio_lcdif_config *config = flexio_dev->config; in flexio_lcdif_dma_callback()
54 FLEXIO_MCULCD_Type *flexio_lcd = config->flexio_lcd_dev; in flexio_lcdif_dma_callback()
64 /* De-assert nCS. */ in flexio_lcdif_dma_callback()
67 k_sem_give(&lcdif_data->transfer_done); in flexio_lcdif_dma_callback()
74 const struct mcux_flexio_lcdif_config *config = flexio_dev->config; in flexio_lcdif_set_cs()
76 gpio_pin_set_dt(&config->cs_gpio, (int)set); in flexio_lcdif_set_cs()
[all …]
/Zephyr-latest/samples/boards/96boards/argonkey/microphone/
DREADME.rst1 .. zephyr:code-sample:: argonkey_microphone
3 :relevant-api: audio_interface
5 Acquire audio through the ArgonKey's on-board MP34DT05 microphone.
10 the on-board MP34DT05 microphone. The microphone generates a PDM
11 stream which is acquired through I2S. The PDM stream is then
19 cable to get the output audio stream. The board can be powered
22 - mezzanine mode, plugging the ArgonKey to HiKey board through its 96Board
23 low-speed connector
24 - standalone mode, supplying 5V directly on P1 connector
29 - :ref:`96b_argonkey`
[all …]
/Zephyr-latest/doc/services/tracing/
Dindex.rst10 your application and allows :ref:`tools` running on a host to visualize the inner-working of
13 Every system has application-specific events to trace out. Historically,
16 1. Determining the application-specific payload,
17 2. Choosing suitable serialization-format,
18 3. Writing the on-target serialization code,
20 5. Writing the PC-side deserializer/parser,
21 6. Writing custom ad-hoc tools for filtering and presentation.
57 formats. This enables tool reuse, of which line-textual (babeltrace) and
61 See `CTF - A Flexible, High-performance Binary Trace Format
71 --------------------
[all …]
/Zephyr-latest/dts/bindings/mipi-dbi/
Dzephyr,mipi-dbi-spi.yaml2 # SPDX-License-Identifier: Apache-2.0
5 MIPI-DBI Mode C compatible SPI controller. This driver emulates MIPI DBI
6 mode C using a SPI controller and GPIO pins
7 compatible: "zephyr,mipi-dbi-spi"
9 include: ["mipi-dbi-controller.yaml", "pinctrl-device.yaml"]
12 spi-dev:
19 dc-gpios:
20 type: phandle-array
22 Data/command gpio pin. Required when using 4 wire SPI mode (Mode C1).
25 reset-gpios:
[all …]
/Zephyr-latest/drivers/sensor/adi/adxl362/
DKconfig1 # ADXL362 Three-Axis Digital Accelerometers
4 # SPDX-License-Identifier: Apache-2.0
13 Enable driver for ADXL362 Three-Axis Digital Accelerometers.
63 prompt "Trigger mode"
74 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_ADI_ADXL362),int1-gpios)
80 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_ADI_ADXL362),int1-gpios)
86 bool "Use FIFO to stream data"
116 compared to in activity trigger mode.
130 compared to in inactivity trigger mode.
140 int "Activity and inactivity interrupt mode"
[all …]
/Zephyr-latest/tests/drivers/i2s/i2s_speed/boards/
Dmimxrt1170_evk_mimxrt1176_cm7.conf4 # SPDX-License-Identifier: Apache-2.0
7 # SAI peripheral does not have loopback mode. Use 2 SAI peripherals connected
21 # stream timing. If using either logging, set logging to deffered
/Zephyr-latest/drivers/sensor/adi/adxl345/
DKconfig1 # ADXL345, 3-Axis, +/-16g Digital Accelerometer
4 # SPDX-License-Identifier: Apache-2.0
14 Enable driver for ADXL345 Three-Axis Digital Accelerometer.
17 prompt "Trigger mode"
38 bool "Use FIFO to stream data"
/Zephyr-latest/include/zephyr/arch/common/
Dsemihost.h5 * SPDX-License-Identifier: Apache-2.0
8 * https://github.com/ARM-software/abi-aa/blob/main/semihosting/semihosting.rst
10 * RISC-V semihosting also follows these conventions:
11 * https://github.com/riscv/riscv-semihosting-spec/blob/main/riscv-semihosting-spec.adoc
32 /** Open a file or stream on the host system. */
34 /** Check whether a file is associated with a stream/terminal */
36 /** Write to a file or stream. */
135 * @param mode value from @ref semihost_open_mode.
138 * @retval -1 on failure.
140 long semihost_open(const char *path, long mode);
[all …]
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dbap.h6 * Copyright (c) 2021-2024 Nordic Semiconductor ASA
8 * SPDX-License-Identifier: Apache-2.0
24 * The Basic Audio Profile (BAP) allows for both unicast and broadcast Audio Stream control.
139 * Once a stream has been QoS configured, modifying this field does not modify the value.
141 * the value, assuming that the stream is in the correct state.
251 /** @brief Audio Stream Quality of Service Preference structure. */
376 /** Audio Stream Endpoint Idle state */
379 /** Audio Stream Endpoint Codec Configured state */
382 /** Audio Stream Endpoint QoS Configured state */
385 /** Audio Stream Endpoint Enabling state */
[all …]
/Zephyr-latest/subsys/logging/frontends/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
14 Frontend sends data in binary dictionary mode.
48 bool "Send fully self-contained messages"
109 bool "Demultiplexer of logging packets from STM stream"
112 Module demultiplexes messages encoded in STPv2 stream. Messages may
/Zephyr-latest/drivers/sensor/adi/adxl372/
DKconfig1 # Micropower, 3-Axis, +/-200g Digital Accelerometer
4 # SPDX-License-Identifier: Apache-2.0
7 bool "ADXL372 Three Axis High-g I2C/SPI accelerometer"
14 Enable driver for ADXL372 Three-Axis Digital Accelerometers.
19 prompt "Operating mode"
23 bool "Max Peak detect mode"
25 In most high-g applications, a single (3-axis) acceleration sample at
28 In this mode the device returns only the over threshold
32 bool "Measurement Mode"
34 In this mode, acceleration data is provided continuously at the
[all …]
/Zephyr-latest/drivers/sensor/
DKconfig5 # SPDX-License-Identifier: Apache-2.0
15 module-str = sensor
42 bool "Sensor shell 'stream' command"
45 Add the 'stream' subcommand to the sensor shell. When run on drivers that
47 to print new values as they come until the stream is closed.
55 sensors in either one-shot or streaming mode. Use this config to control
87 # zephyr-keep-sorted-start
115 # zephyr-keep-sorted-stop
/Zephyr-latest/drivers/sensor/adi/adxl367/
DKconfig1 # Micropower, 3-Axis, +/-200g Digital Accelerometer
4 # SPDX-License-Identifier: Apache-2.0
7 bool "ADXL367 Three Axis High-g I2C/SPI accelerometer"
15 Enable driver for ADXL367 Three-Axis Digital Accelerometers.
20 prompt "Operating mode"
24 bool "Measurement Mode"
26 In this mode, acceleration data is provided continuously at the
39 int "In-activity threshold in raw value"
43 Threshold for in-activity detection.
57 int "In-activity time"
[all …]

12345