Home
last modified time | relevance | path

Searched refs:transfer (Results 1 – 25 of 198) sorted by relevance

12345678

/Zephyr-Core-3.5.0/drivers/i2c/
Di2c_imx.c46 struct i2c_master_transfer transfer; member
55 struct i2c_master_transfer *transfer = &data->transfer; in i2c_imx_write() local
57 transfer->isBusy = true; in i2c_imx_write()
64 transfer->currentDir = i2cDirectionTransmit; in i2c_imx_write()
66 transfer->txBuff = txBuffer; in i2c_imx_write()
67 transfer->txSize = txSize; in i2c_imx_write()
69 I2C_WriteByte(base, *transfer->txBuff); in i2c_imx_write()
70 transfer->txBuff++; in i2c_imx_write()
71 transfer->txSize--; in i2c_imx_write()
81 return transfer->ack; in i2c_imx_write()
[all …]
Di2c_lpc11u6x.c88 data->transfer.msgs = msgs; in lpc11u6x_i2c_transfer()
89 data->transfer.curr_buf = msgs->buf; in lpc11u6x_i2c_transfer()
90 data->transfer.curr_len = msgs->len; in lpc11u6x_i2c_transfer()
91 data->transfer.nr_msgs = num_msgs; in lpc11u6x_i2c_transfer()
92 data->transfer.addr = addr; in lpc11u6x_i2c_transfer()
99 data->transfer.status = LPC11U6X_I2C_STATUS_BUSY; in lpc11u6x_i2c_transfer()
104 if (data->transfer.status != LPC11U6X_I2C_STATUS_OK) { in lpc11u6x_i2c_transfer()
107 data->transfer.status = LPC11U6X_I2C_STATUS_INACTIVE; in lpc11u6x_i2c_transfer()
177 struct lpc11u6x_i2c_current_transfer *transfer = &data->transfer; in lpc11u6x_i2c_isr() local
186 i2c->dat = (transfer->addr << 1) | in lpc11u6x_i2c_isr()
[all …]
Di2c_mcux.c149 i2c_master_transfer_t transfer; in i2c_mcux_transfer() local
163 transfer.flags = i2c_mcux_convert_flags(msgs->flags); in i2c_mcux_transfer()
164 transfer.slaveAddress = addr; in i2c_mcux_transfer()
165 transfer.direction = (msgs->flags & I2C_MSG_READ) in i2c_mcux_transfer()
167 transfer.subaddress = 0; in i2c_mcux_transfer()
168 transfer.subaddressSize = 0; in i2c_mcux_transfer()
169 transfer.data = msgs->buf; in i2c_mcux_transfer()
170 transfer.dataSize = msgs->len; in i2c_mcux_transfer()
176 transfer.flags |= kI2C_TransferNoStartFlag; in i2c_mcux_transfer()
181 &data->handle, &transfer); in i2c_mcux_transfer()
[all …]
Di2c_mcux_flexcomm.c126 i2c_master_transfer_t transfer; in mcux_flexcomm_transfer() local
140 transfer.flags = mcux_flexcomm_convert_flags(msgs->flags); in mcux_flexcomm_transfer()
146 transfer.flags |= kI2C_TransferNoStartFlag; in mcux_flexcomm_transfer()
149 transfer.slaveAddress = addr; in mcux_flexcomm_transfer()
150 transfer.direction = (msgs->flags & I2C_MSG_READ) in mcux_flexcomm_transfer()
152 transfer.subaddress = 0; in mcux_flexcomm_transfer()
153 transfer.subaddressSize = 0; in mcux_flexcomm_transfer()
154 transfer.data = msgs->buf; in mcux_flexcomm_transfer()
155 transfer.dataSize = msgs->len; in mcux_flexcomm_transfer()
159 &data->handle, &transfer); in mcux_flexcomm_transfer()
[all …]
Di2c_rv32m1_lpi2c.c131 lpi2c_master_transfer_t transfer; in rv32m1_lpi2c_transfer() local
145 transfer.flags = rv32m1_lpi2c_convert_flags(msgs->flags); in rv32m1_lpi2c_transfer()
151 transfer.flags |= kLPI2C_TransferNoStartFlag; in rv32m1_lpi2c_transfer()
154 transfer.slaveAddress = addr; in rv32m1_lpi2c_transfer()
155 transfer.direction = (msgs->flags & I2C_MSG_READ) in rv32m1_lpi2c_transfer()
157 transfer.subaddress = 0; in rv32m1_lpi2c_transfer()
158 transfer.subaddressSize = 0; in rv32m1_lpi2c_transfer()
159 transfer.data = msgs->buf; in rv32m1_lpi2c_transfer()
160 transfer.dataSize = msgs->len; in rv32m1_lpi2c_transfer()
165 &transfer); in rv32m1_lpi2c_transfer()
[all …]
Di2c_mcux_lpi2c.c146 lpi2c_master_transfer_t transfer; in mcux_lpi2c_transfer() local
163 transfer.flags = mcux_lpi2c_convert_flags(msgs->flags); in mcux_lpi2c_transfer()
169 transfer.flags |= kLPI2C_TransferNoStartFlag; in mcux_lpi2c_transfer()
172 transfer.slaveAddress = addr; in mcux_lpi2c_transfer()
173 transfer.direction = (msgs->flags & I2C_MSG_READ) in mcux_lpi2c_transfer()
175 transfer.subaddress = 0; in mcux_lpi2c_transfer()
176 transfer.subaddressSize = 0; in mcux_lpi2c_transfer()
177 transfer.data = msgs->buf; in mcux_lpi2c_transfer()
178 transfer.dataSize = msgs->len; in mcux_lpi2c_transfer()
182 &data->handle, &transfer); in mcux_lpi2c_transfer()
[all …]
Di2c_emul.c91 __ASSERT_NO_MSG(emul->api->transfer); in i2c_emul_transfer()
93 ret = api->transfer(emul->target, msgs, num_msgs, addr); in i2c_emul_transfer()
138 .transfer = i2c_emul_transfer,
/Zephyr-Core-3.5.0/drivers/flash/
Dflash_mcux_flexspi_hyperflash.c262 flexspi_transfer_t transfer; in flash_flexspi_hyperflash_wait_bus_busy() local
267 transfer.deviceAddress = 0; in flash_flexspi_hyperflash_wait_bus_busy()
268 transfer.port = data->port; in flash_flexspi_hyperflash_wait_bus_busy()
269 transfer.cmdType = kFLEXSPI_Read; in flash_flexspi_hyperflash_wait_bus_busy()
270 transfer.SeqNumber = 2; in flash_flexspi_hyperflash_wait_bus_busy()
271 transfer.seqIndex = READ_STATUS; in flash_flexspi_hyperflash_wait_bus_busy()
272 transfer.data = &read_value; in flash_flexspi_hyperflash_wait_bus_busy()
273 transfer.dataSize = 2; in flash_flexspi_hyperflash_wait_bus_busy()
276 ret = memc_flexspi_transfer(&data->controller, &transfer); in flash_flexspi_hyperflash_wait_bus_busy()
295 flexspi_transfer_t transfer; in flash_flexspi_hyperflash_write_enable() local
[all …]
Dflash_mcux_flexspi_mx25um51345g.c188 flexspi_transfer_t transfer = { in flash_flexspi_nor_get_vendor_id() local
200 ret = memc_flexspi_transfer(data->controller, &transfer); in flash_flexspi_nor_get_vendor_id()
211 flexspi_transfer_t transfer = { in flash_flexspi_nor_read_status() local
223 return memc_flexspi_transfer(data->controller, &transfer); in flash_flexspi_nor_read_status()
231 flexspi_transfer_t transfer = { in flash_flexspi_nor_write_status() local
243 return memc_flexspi_transfer(data->controller, &transfer); in flash_flexspi_nor_write_status()
250 flexspi_transfer_t transfer; in flash_flexspi_nor_write_enable() local
252 transfer.deviceAddress = 0; in flash_flexspi_nor_write_enable()
253 transfer.port = data->port; in flash_flexspi_nor_write_enable()
254 transfer.cmdType = kFLEXSPI_Command; in flash_flexspi_nor_write_enable()
[all …]
Dflash_mcux_flexspi_nor.c164 flexspi_transfer_t transfer = { in flash_flexspi_nor_get_vendor_id() local
176 ret = memc_flexspi_transfer(data->controller, &transfer); in flash_flexspi_nor_get_vendor_id()
187 flexspi_transfer_t transfer = { in flash_flexspi_nor_read_status() local
199 return memc_flexspi_transfer(data->controller, &transfer); in flash_flexspi_nor_read_status()
207 flexspi_transfer_t transfer = { in flash_flexspi_nor_write_status() local
219 return memc_flexspi_transfer(data->controller, &transfer); in flash_flexspi_nor_write_status()
226 flexspi_transfer_t transfer = { in flash_flexspi_nor_write_enable() local
238 return memc_flexspi_transfer(data->controller, &transfer); in flash_flexspi_nor_write_enable()
246 flexspi_transfer_t transfer = { in flash_flexspi_nor_erase_sector() local
258 return memc_flexspi_transfer(data->controller, &transfer); in flash_flexspi_nor_erase_sector()
[all …]
/Zephyr-Core-3.5.0/drivers/spi/
Dspi_rv32m1_lpspi.c50 lpspi_transfer_t transfer; in spi_mcux_transfer_next_packet() local
60 transfer.configFlags = kLPSPI_MasterPcsContinuous | in spi_mcux_transfer_next_packet()
65 transfer.txData = NULL; in spi_mcux_transfer_next_packet()
66 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet()
67 transfer.dataSize = ctx->rx_len; in spi_mcux_transfer_next_packet()
70 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet()
71 transfer.rxData = NULL; in spi_mcux_transfer_next_packet()
72 transfer.dataSize = ctx->tx_len; in spi_mcux_transfer_next_packet()
75 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet()
76 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet()
[all …]
Dspi_mcux_lpspi.c76 lpspi_transfer_t transfer; in spi_mcux_transfer_next_packet() local
86 transfer.configFlags = kLPSPI_MasterPcsContinuous | in spi_mcux_transfer_next_packet()
91 transfer.txData = NULL; in spi_mcux_transfer_next_packet()
92 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet()
93 transfer.dataSize = ctx->rx_len; in spi_mcux_transfer_next_packet()
96 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet()
97 transfer.rxData = NULL; in spi_mcux_transfer_next_packet()
98 transfer.dataSize = ctx->tx_len; in spi_mcux_transfer_next_packet()
101 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet()
102 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet()
[all …]
Dspi_mcux_dspi.c92 dspi_transfer_t transfer; in spi_mcux_transfer_next_packet() local
152 transfer.configFlags = kDSPI_MasterCtar0 | kDSPI_MasterPcsContinuous | in spi_mcux_transfer_next_packet()
157 transfer.txData = NULL; in spi_mcux_transfer_next_packet()
158 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet()
159 transfer.dataSize = ctx->rx_len; in spi_mcux_transfer_next_packet()
162 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet()
163 transfer.rxData = NULL; in spi_mcux_transfer_next_packet()
164 transfer.dataSize = ctx->tx_len; in spi_mcux_transfer_next_packet()
167 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet()
168 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet()
[all …]
Dspi_mcux_flexcomm.c79 spi_transfer_t transfer; in spi_mcux_transfer_next_packet() local
89 transfer.configFlags = 0; in spi_mcux_transfer_next_packet()
92 transfer.txData = NULL; in spi_mcux_transfer_next_packet()
93 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet()
94 transfer.dataSize = ctx->rx_len; in spi_mcux_transfer_next_packet()
97 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet()
98 transfer.rxData = NULL; in spi_mcux_transfer_next_packet()
99 transfer.dataSize = ctx->tx_len; in spi_mcux_transfer_next_packet()
102 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet()
103 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet()
[all …]
/Zephyr-Core-3.5.0/doc/connectivity/bluetooth/api/mesh/
Dblob_srv.rst14 models are divided into blocks, which are divided into chunks. As the transfer is controlled by the
42 A BLOB Transfer Server is capable of receiving a single BLOB transfer at a time. Before the BLOB
43 Transfer Server can receive a transfer, it must be prepared by the user. The transfer ID must be
45 transfer is started by the BLOB Transfer Client. The ID must be shared between the BLOB Transfer
47 transfer management model.
49 Once the transfer has been set up on the BLOB Transfer Server, it's ready for receiving the BLOB.
50 The application is notified of the transfer progress through the event handler callbacks, and the
64 The BLOB Transfer Server keeps a running timer during the transfer, that is reset on every received
65 message. If the BLOB Transfer Client does not send a message before the transfer timer expires, the
66 transfer is suspended by the BLOB Transfer Server.
[all …]
Dblob_cli.rst6 The Binary Large Object (BLOB) Transfer Client is the sender of the BLOB transfer. It supports
35 Both the transfer capabilities retrieval procedure and the BLOB transfer uses an instance of a
36 :c:type:`bt_mesh_blob_cli_inputs` to determine how to perform the transfer. The BLOB Transfer Client
57 Note that all BLOB Transfer Servers in the transfer must be bound to the chosen application key.
64 not :c:macro:`BT_MESH_ADDR_UNASSIGNED`, the messages in the transfer will be sent to the group
68 Using group addresses for transferring the BLOBs can generally increase the transfer speed, as the
81 limit, the Target node is dropped from the transfer. The application can reduce the chances of this
84 time scales automatically with the transfer TTL.
86 Note that the BLOB Transfer Client only moves forward with the transfer in following cases:
94 BLOB transfer capabilities retrieval
[all …]
Dblob.rst9 transport method for the :ref:`bluetooth_mesh_dfu`, but may be used for other object transfer
13 bytes). The BLOB transfer protocol has built-in recovery procedures for packet losses, and sets up
14 checkpoints to ensure that all targets have received all the data before moving on. Data transfer
17 BLOB transfers are constrained by the transfer speed and reliability of the underlying mesh network.
19 BLOB to be transferred in 10-15 minutes. However, network conditions, transfer capabilities and
21 parameters of the transfer according to the application and network configuration, as well as
23 and reliability of the protocol. However, achieving transfer rates close to the ideal rate is
40 The BLOB transfer protocol introduces several new concepts to implement the BLOB transfer.
47 transfer through the mesh network. The BLOBs are continuous data objects, divided into blocks and
52 The BLOB transfer protocol does not provide any built-in integrity checks, encryption or
[all …]
Ddfu_srv.rst30 The Firmware Update Server model uses a BLOB Transfer Server model on the same element to transfer
36 :alt: Bluetooth mesh Firmware Update Server transfer
38 Bluetooth mesh Firmware Update Server transfer
43 The transfer check is an optional pre-transfer check the application can perform on incoming
44 firmware image metadata. The Firmware Update Server performs the transfer check by calling the
47 The result of the transfer check is a pass/fail status return and the expected
50 device. If the transfer will cause the device to change its Composition Data or become
56 The Start procedure prepares the application for the incoming transfer. It'll contain information
62 BLOB transfer
66 transfer. The entire firmware image is transferred to the BLOB Transfer Server, which passes the
[all …]
Dblob_flash.rst15 BLOB Transfer Client. Each BLOB Flash Reader only supports one transfer at the time.
23 BLOB Transfer Server. Each BLOB Flash Writer only supports one transfer at the time, and requires a
24 block size that is a multiple of the flash page size. If a transfer is started with a block size
25 lower than the flash page size, the transfer will be rejected.
/Zephyr-Core-3.5.0/tests/boards/frdm_k64f/i2c/
DREADME.rst4 Tests the i2c transfer and transfer async APIs against the fxos8700 sensor
5 on the board using its FIFO with a async and sync transfer to compare
/Zephyr-Core-3.5.0/drivers/memc/
Dmemc_mcux_flexspi_aps6408l.c128 flexspi_transfer_t transfer = { in memc_flexspi_aps6408l_get_vendor_id() local
138 ret = memc_flexspi_transfer(data->controller, &transfer); in memc_flexspi_aps6408l_get_vendor_id()
152 flexspi_transfer_t transfer = { in memc_flexspi_aps6408l_update_reg() local
162 ret = memc_flexspi_transfer(data->controller, &transfer); in memc_flexspi_aps6408l_update_reg()
172 transfer.cmdType = kFLEXSPI_Write, in memc_flexspi_aps6408l_update_reg()
173 transfer.seqIndex = WRITE_REG; in memc_flexspi_aps6408l_update_reg()
175 ret = memc_flexspi_transfer(data->controller, &transfer); in memc_flexspi_aps6408l_update_reg()
185 flexspi_transfer_t transfer = { in memc_flexspi_aps6408l_reset() local
196 ret = memc_flexspi_transfer(data->controller, &transfer); in memc_flexspi_aps6408l_reset()
/Zephyr-Core-3.5.0/drivers/sdhc/
Dimx_usdhc.c48 usdhc_transfer_t *transfer; member
415 &dma_config, request->transfer); in imx_usdhc_transfer()
418 NULL, request->transfer); in imx_usdhc_transfer()
435 if (request->transfer->data) { in imx_usdhc_transfer()
453 usdhc_transfer_t transfer; in imx_usdhc_stop_transmission() local
460 transfer.command = &stop_cmd; in imx_usdhc_stop_transmission()
461 transfer.data = NULL; in imx_usdhc_stop_transmission()
463 request.transfer = &transfer; in imx_usdhc_stop_transmission()
495 usdhc_transfer_t transfer; in imx_usdhc_execute_tuning() local
518 transfer.command = &cmd; in imx_usdhc_execute_tuning()
[all …]
/Zephyr-Core-3.5.0/doc/connectivity/usb/device/api/
Dusb_device.rst10 the 'high' level transfer API.
22 The usb_transfer method can be used to transfer data to/from the host. The
23 transfer API will automatically split the data transmission into one or more
/Zephyr-Core-3.5.0/drivers/serial/
DKconfig.nxp_s3217 int "The maximum duration to transfer a byte data in blocking mode"
20 Maximum duration in micro-seconds to transfer a byte data in blocking mode.
/Zephyr-Core-3.5.0/samples/boards/nrf/nrfx_prs/
DREADME.rst21 - by pressing Button 1 user can request a transfer to be performed using the
25 When no button is pressed, every 5 seconds a background transfer using SPIM1
56 Press Button 1 to trigger a sample transfer on SPIM2 or UARTE2.
57 Press Button 2 to switch the type of peripheral to be used for the transfer.
59 When no button is pressed, a background transfer on SPIM1 is performed.

12345678