Home
last modified time | relevance | path

Searched +full:transfer +full:- +full:delay (Results 1 – 25 of 104) sorted by relevance

12345

/Zephyr-latest/dts/bindings/spi/
Dnxp,s32-spi.yaml1 # Copyright 2022-2023 NXP
2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "nxp,s32-spi"
8 include: [spi-controller.yaml, pinctrl-device.yaml]
17 num-cs:
26 pinctrl-0:
29 pinctrl-names:
37 spi-sck-cs-delay:
40 A delay in nanoseconds between the stop of clock signal and
41 deactivating Chip Select at the stop of transfer. If CS remains
[all …]
Dnxp,dspi.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: ["spi-controller.yaml", "pinctrl-device.yaml"]
20 pcs-sck-delay:
23 Delay in nanoseconds from the chip select assert to the first clock
24 edge. If not set, the minimum supported delay is used.
26 sck-pcs-delay:
29 Delay in nanoseconds from the last clock edge to the chip select
30 deassert. If not set, the minimum supported delay is used.
32 transfer-delay:
35 Delay in nanoseconds from the chip select deassert to the next chip
[all …]
Dnxp,lpc-spi.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "nxp,lpc-spi"
8 include: [spi-controller.yaml, "nxp,lpc-flexcomm.yaml"]
11 pre-delay:
14 Delay in nanoseconds inserted between chip select assert to the first
15 clock edge. If not set, no additional delay is inserted.
17 post-delay:
20 Delay in nanoseconds inserted between the last clock edge to the chip
21 select deassert. If not set, no additional delay is inserted.
23 frame-delay:
[all …]
Dnxp,lpspi.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: ["spi-controller.yaml", "pinctrl-device.yaml"]
17 pcs-sck-delay:
20 Delay in nanoseconds from the chip select assert to the first clock
21 edge. If not set, the minimum supported delay is used.
23 sck-pcs-delay:
26 Delay in nanoseconds from the last clock edge to the chip select
27 deassert. If not set, the minimum supported delay is used.
29 transfer-delay:
32 Delay in nanoseconds from the chip select deassert to the next chip
[all …]
/Zephyr-latest/boards/madmachine/mm_feather/
Dmm_feather.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include "mm_feather-pinctrl.dtsi"
13 model = "MM MM-FEATHER board";
28 zephyr,shell-uart = &lpuart1;
33 /* Micron MT48LC16M16A2B4-6AIT:G */
39 compatible = "gpio-leds";
61 compatible = "nxp,imx-flexspi-nor";
64 spi-max-frequency = <104000000>;
66 jedec-id = [9d 70 17];
[all …]
/Zephyr-latest/boards/madmachine/mm_swiftio/
Dmm_swiftio.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include "mm_swiftio-pinctrl.dtsi"
13 model = "MM MM-SWIFTIO board";
28 zephyr,shell-uart = &lpuart1;
33 /* Micron MT48LC16M16A2B4-6AIT:G */
39 compatible = "gpio-leds";
61 compatible = "nxp,imx-flexspi-nor";
64 spi-max-frequency = <104000000>;
66 jedec-id = [9d 70 17];
[all …]
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Dblob_cli.rst3 BLOB Transfer Client
6 The Binary Large Object (BLOB) Transfer Client is the sender of the BLOB transfer. It supports
7 sending BLOBs of any size to any number of Target nodes, in both Push BLOB Transfer Mode and Pull
8 BLOB Transfer Mode.
16 The BLOB Transfer Client is instantiated on an element with a set of event handler callbacks:
18 .. code-block:: C
32 Transfer context
35 Both the transfer capabilities retrieval procedure and the BLOB transfer uses an instance of a
36 :c:struct:`bt_mesh_blob_cli_inputs` to determine how to perform the transfer. The BLOB Transfer Cli…
40 .. code-block:: c
[all …]
/Zephyr-latest/drivers/mipi_dbi/
Dmipi_dbi_nxp_lcdic.c4 * SPDX-License-Identifier: Apache-2.0
101 /* Tracks number of bytes remaining in transfer */
103 /* Tracks start of transfer buffer */
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()
158 base->CTRL |= LCDIC_CTRL_LCDIC_EN_MASK; in mipi_dbi_lcdic_reset_state()
168 const struct mipi_dbi_lcdic_config *config = dev->config; in mipi_dbi_lcdic_start_dma()
169 struct mipi_dbi_lcdic_data *data = dev->data; in mipi_dbi_lcdic_start_dma()
170 struct stream *stream = &data->dma_stream; in mipi_dbi_lcdic_start_dma()
[all …]
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dblob_cli.h4 * SPDX-License-Identifier: Apache-2.0
20 * @defgroup bt_mesh_blob_cli Bluetooth Mesh BLOB Transfer Client model API
29 * @brief BLOB Transfer Client model Composition Data entry.
37 /** Target node's Pull mode (Pull BLOB Transfer Mode) context used
48 /** BLOB Transfer Client Target node. */
61 /** BLOB transfer status, see @ref bt_mesh_blob_status. */
70 /** BLOB transfer information.
78 /** BLOB transfer status. */
81 /** BLOB transfer mode. */
84 /** BLOB transfer phase. */
[all …]
/Zephyr-latest/drivers/memc/
Dmemc_mcux_flexspi_aps6404l.c4 * SPDX-License-Identifier: Apache-2.0
28 read-while-write hazards. This configuration is not recommended."
92 const struct memc_flexspi_aps6404l_config *config = dev->config; in memc_flexspi_aps6404l_get_vendor_id()
93 struct memc_flexspi_aps6404l_data *data = dev->data; in memc_flexspi_aps6404l_get_vendor_id()
97 flexspi_transfer_t transfer = { in memc_flexspi_aps6404l_get_vendor_id() local
99 .port = config->port, in memc_flexspi_aps6404l_get_vendor_id()
107 ret = memc_flexspi_transfer(data->controller, &transfer); in memc_flexspi_aps6404l_get_vendor_id()
115 const struct memc_flexspi_aps6404l_config *config = dev->config; in memc_flexspi_aps6404l_reset_enable()
116 struct memc_flexspi_aps6404l_data *data = dev->data; in memc_flexspi_aps6404l_reset_enable()
119 flexspi_transfer_t transfer = { in memc_flexspi_aps6404l_reset_enable() local
[all …]
Dmemc_mcux_flexspi_aps6408l.c4 * SPDX-License-Identifier: Apache-2.0
28 read-while-write hazards. This configuration is not recommended."
123 const struct memc_flexspi_aps6408l_config *config = dev->config; in memc_flexspi_aps6408l_get_vendor_id()
124 struct memc_flexspi_aps6408l_data *data = dev->data; in memc_flexspi_aps6408l_get_vendor_id()
128 flexspi_transfer_t transfer = { in memc_flexspi_aps6408l_get_vendor_id() local
130 .port = config->port, in memc_flexspi_aps6408l_get_vendor_id()
138 ret = memc_flexspi_transfer(data->controller, &transfer); in memc_flexspi_aps6408l_get_vendor_id()
147 const struct memc_flexspi_aps6408l_config *config = dev->config; in memc_flexspi_aps6408l_update_reg()
148 struct memc_flexspi_aps6408l_data *data = dev->data; in memc_flexspi_aps6408l_update_reg()
152 flexspi_transfer_t transfer = { in memc_flexspi_aps6408l_update_reg() local
[all …]
/Zephyr-latest/subsys/dap/
Dcmsis_dap.c2 * Copyright (c) 2018-2019 PHYTEC Messtechnik GmbH
5 * SPDX-License-Identifier: Apache-2.0
9 * This file is based on DAP.c from CMSIS-DAP Source (Revision: V2.0.0)
10 * https://github.com/ARM-software/CMSIS_5/tree/develop/CMSIS/DAP/Firmware
11 * Copyright (c) 2013-2017 ARM Limited. All rights reserved.
12 * SPDX-License-Identifier: Apache-2.0
37 /* Idle cycles after transfer */
45 } transfer; member
51 MIN(CONFIG_CMSIS_DAP_PACKET_SIZE - 2, UINT8_MAX - 2),
54 MIN(CONFIG_CMSIS_DAP_PACKET_SIZE - 2, UINT8_MAX - 2),
[all …]
/Zephyr-latest/drivers/spi/
Dspi_mcux_ecspi.c4 * SPDX-License-Identifier: Apache-2.0
56 const struct spi_mcux_config *config = dev->config; in spi_mcux_transfer_next_packet()
57 struct spi_mcux_data *data = dev->data; in spi_mcux_transfer_next_packet()
58 ECSPI_Type *base = config->base; in spi_mcux_transfer_next_packet()
59 struct spi_context *ctx = &data->ctx; in spi_mcux_transfer_next_packet()
60 ecspi_transfer_t transfer; in spi_mcux_transfer_next_packet() local
63 if ((ctx->tx_len == 0) && (ctx->rx_len == 0)) { in spi_mcux_transfer_next_packet()
65 spi_context_cs_control(&data->ctx, false); in spi_mcux_transfer_next_packet()
66 spi_context_complete(&data->ctx, dev, 0); in spi_mcux_transfer_next_packet()
70 transfer.channel = ctx->config->slave; in spi_mcux_transfer_next_packet()
[all …]
Dspi_mcux_flexcomm.c5 * SPDX-License-Identifier: Apache-2.0
79 const struct spi_mcux_config *config = dev->config; in spi_mcux_transfer_next_packet()
80 struct spi_mcux_data *data = dev->data; in spi_mcux_transfer_next_packet()
81 SPI_Type *base = config->base; in spi_mcux_transfer_next_packet()
82 struct spi_context *ctx = &data->ctx; in spi_mcux_transfer_next_packet()
83 spi_transfer_t transfer; in spi_mcux_transfer_next_packet() local
86 if ((ctx->tx_len == 0) && (ctx->rx_len == 0)) { in spi_mcux_transfer_next_packet()
88 spi_context_cs_control(&data->ctx, false); in spi_mcux_transfer_next_packet()
89 spi_context_complete(&data->ctx, dev, 0); in spi_mcux_transfer_next_packet()
93 transfer.configFlags = 0; in spi_mcux_transfer_next_packet()
[all …]
Dspi_context.h4 * SPDX-License-Identifier: Apache-2.0
81 return !!(ctx->config == config); in spi_context_configured()
86 return (ctx->config->operation & SPI_OP_MODE_SLAVE); in spi_context_is_slave()
95 if ((spi_cfg->operation & SPI_LOCK_ON) && in spi_context_lock()
96 (k_sem_count_get(&ctx->lock) == 0) && in spi_context_lock()
97 (ctx->owner == spi_cfg)) { in spi_context_lock()
101 k_sem_take(&ctx->lock, K_FOREVER); in spi_context_lock()
102 ctx->owner = spi_cfg; in spi_context_lock()
105 ctx->asynchronous = asynchronous; in spi_context_lock()
106 ctx->callback = callback; in spi_context_lock()
[all …]
/Zephyr-latest/include/zephyr/drivers/
Dmipi_dbi.h4 * SPDX-License-Identifier: Apache-2.0
9 * @brief Public APIs for MIPI-DBI drivers
11 * MIPI-DBI defines the following 3 interfaces:
25 * @brief MIPI-DBI driver APIs
26 * @defgroup mipi_dbi_interface MIPI-DBI driver APIs
37 #include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h>
51 * @param delay_ the desired delay field in the struct spi_config's
68 .delay = (delay_), \
79 * @param delay_ the desired delay field in the struct spi_config's
94 * @param delay_ the desired delay field in the struct spi_config's
[all …]
Dmspi.h4 * SPDX-License-Identifier: Apache-2.0
143 * @brief MSPI transfer modes
151 * @brief MSPI transfer directions
241 /** @brief GPIO chip-select line numbers (optional) */
247 /** @brief Whether to re-initialize controller */
275 /** @brief Configure transfer endian */
299 /** @brief Configure the time to break up a transfer into 2 */
336 * @brief MSPI Transfer API
337 * @defgroup mspi_transfer_api MSPI Transfer API
357 * @brief Delay to wait.
[all …]
Dspi.h4 * SPDX-License-Identifier: Apache-2.0
27 #include <zephyr/dt-bindings/spi/spi.h>
73 * Whatever data is transmitted is looped-back to the receiving buffer of
88 * @name SPI Transfer modes (host controller dependent)
115 /** Requests - if possible - to keep CS asserted after the transaction */
169 * Delay in microseconds to wait before starting the
172 uint32_t delay; member
187 * cs-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>,
190 * a: spi-dev-a@0 {
194 * b: spi-dev-b@1 {
[all …]
/Zephyr-latest/drivers/sdhc/
Dimx_usdhc.c4 * SPDX-License-Identifier: Apache-2.0
44 /* Default transfer timeout in ms for tuning */
48 usdhc_transfer_t *transfer; member
101 struct usdhc_data *data = dev->data; in transfer_complete_cb()
104 data->transfer_status |= TRANSFER_DATA_FAILED; in transfer_complete_cb()
106 data->transfer_status |= TRANSFER_DATA_COMPLETE; in transfer_complete_cb()
108 data->transfer_status |= TRANSFER_CMD_FAILED; in transfer_complete_cb()
110 data->transfer_status |= TRANSFER_CMD_COMPLETE; in transfer_complete_cb()
112 k_sem_give(&data->transfer_sem); in transfer_complete_cb()
119 struct usdhc_data *data = dev->data; in sdio_interrupt_cb()
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
113 bool "Mesh-specific workqueue"
116 mesh-specific workqueue. This will ensure that messages are always sent.
117 The application needs to ensure the mesh-specific workqueue size is large
130 CONFIG_BT_BUF_CMD_TX_COUNT, the host returns -ENOBUFS immediately
187 greater than zero, this can noticeably delay transmission of
189 in a friendship, this option can delay transmission of local
237 bool "PB-ADV support"
299 bool "PB-GATT Server support"
314 the PB-GATT is enabled.
[all …]
/Zephyr-latest/drivers/dp/
Dswdp_bitbang.c2 * Copyright (c) 2018-2019 PHYTEC Messtechnik GmbH
5 * SPDX-License-Identifier: Apache-2.0
9 * This file is based on SW_DP.c from CMSIS-DAP Source (Revision: V2.0.0)
10 * https://github.com/ARM-software/CMSIS_5/tree/develop/CMSIS/DAP/Firmware
11 * Copyright (c) 2013-2017, ARM Limited, All Rights Reserved
12 * SPDX-License-Identifier: Apache-2.0
16 /* Serial Wire Debug Port interface bit-bang driver */
69 * - CMSIS-DAP Command Specification, DAP_Transfer
70 * - ARM Debug Interface v5 Architecture Specification
91 const struct sw_config *config = dev->config; in pin_swclk_set()
[all …]
/Zephyr-latest/tests/net/lib/lwm2m/interop/src/
Dfirmware_update.c4 * SPDX-License-Identifier: Apache-2.0
52 /* Add extra delay so short block-wise may timeout */ in firmware_block_received_cb()
65 /* setup data buffer for block-wise transfer */ in init_firmware_update()
/Zephyr-latest/drivers/pwm/
Dpwm_mchp_xec_bbled.c4 * SPDX-License-Identifier: Apache-2.0
49 * LD = Delay register, LOW_DELAY field: bits[11:0]
51 * Puse_OFF_width = (1/Fpwm) * (256 - duty_cycle) seconds
52 * where duty_cycle is an 8-bit value 0 to 255.
53 * Prescale is derived from DELAY register LOW_DELAY 12-bit field
54 * Duty cycle is derived from LIMITS register MINIMUM 8-bit field
61 * BBLED PWM mode duty cycle specified by 8-bit MIN field of the LIMITS register
90 /* Delay register */
97 /* Output delay in clocks for initial enable and enable on resume from sleep
113 volatile uint32_t delay; member
[all …]
/Zephyr-latest/drivers/wifi/winc1500/
Dwifi_winc1500_config.h4 * SPDX-License-Identifier: Apache-2.0
11 ---------------------------------
12 ---------- PIN settings ---------
13 ---------------------------------
20 ---------------------------------
21 ---------- SPI settings ---------
22 ---------------------------------
39 /** SPI delay before SPCK and between consecutive transfer. */
58 ---------------------------------
59 --------- Debug Options ---------
[all …]
/Zephyr-latest/tests/drivers/i2s/i2s_api/src/
Dtest_i2s_loopback.c4 * SPDX-License-Identifier: Apache-2.0
13 /** @brief Short I2S transfer.
15 * - TX stream START trigger starts transmission.
16 * - RX stream START trigger starts reception.
17 * - sending / receiving a short sequence of data returns success.
18 * - TX stream DRAIN trigger empties the transmit queue.
19 * - RX stream STOP trigger stops reception.
24 TC_PRINT("RX/TX transfer requires use of I2S_DIR_BOTH.\n"); in ZTEST_USER()
34 TC_PRINT("%d->OK\n", 1); in ZTEST_USER()
38 TC_PRINT("%d->OK\n", 2); in ZTEST_USER()
[all …]

12345