/Zephyr-latest/subsys/sd/ |
D | Kconfig | 2 # SPDX-License-Identifier: Apache-2.0 34 module-str = SD stack 38 int "Timeout while initializing SD card" 57 int "Timeout for SD commands (in ms)" 60 Default timeout in milliseconds for SD commands 63 int "Timeout for SD data transfer (in ms)" 66 Default timeout in milliseconds for SD data transfer commands 101 reduce code size, at the cost of data transfer speeds.
|
D | sd_ops.c | 4 * SPDX-License-Identifier: Apache-2.0 27 if (!card->host_props.is_spi) { in sdmmc_read_status() 28 cmd.arg = (card->relative_addr << 16U); in sdmmc_read_status() 34 ret = sdhc_request(card->sdhc, &cmd, NULL); in sdmmc_read_status() 38 if (card->host_props.is_spi) { in sdmmc_read_status() 42 return -EACCES; in sdmmc_read_status() 46 return -EINVAL; in sdmmc_read_status() 50 return -EIO; in sdmmc_read_status() 61 return -EBUSY; in sdmmc_read_status() 67 int ret, timeout = CONFIG_SD_DATA_TIMEOUT * 1000; in sdmmc_wait_ready() local [all …]
|
/Zephyr-latest/drivers/i2c/ |
D | Kconfig.mcux | 4 # SPDX-License-Identifier: Apache-2.0 16 int "Transfer timeout [ms]" 20 Timeout in milliseconds used for each I2C transfer.
|
D | Kconfig.sam0 | 2 # SPDX-License-Identifier: Apache-2.0 23 int "Transfer timeout [ms]" 26 Timeout in milliseconds used for each I2C transfer.
|
D | Kconfig.nrfx | 4 # SPDX-License-Identifier: Apache-2.0 45 int "Transfer timeout [ms]" 48 Timeout in milliseconds used for each I2C transfer.
|
/Zephyr-latest/include/zephyr/bluetooth/mesh/ |
D | blob_cli.h | 4 * 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 41 /** Timestamp when the Block Report Timeout Timer expires for this Target node. */ 48 /** BLOB Transfer Client Target node. */ 61 /** BLOB transfer status, see @ref bt_mesh_blob_status. */ 66 timedout:1, /* Target node didn't respond after specified timeout. */ 70 /** BLOB transfer information. 78 /** BLOB transfer status. */ [all …]
|
D | dfu_cli.h | 4 * SPDX-License-Identifier: Apache-2.0 49 BT_MESH_MODEL_BLOB_CLI(&(_cli)->blob), \ 73 /** Effect of transfer. */ 81 /** Phase of the current DFU transfer. */ 85 /** BLOB ID used in the transfer. */ 87 /** Image index to transfer. */ 89 /** TTL used in the transfer. */ 92 /** Additional response time for the Target nodes, in 10-second increments. 95 * to messages from the Client. The actual timeout will be calculated 99 * timeout = 20 seconds + (10 seconds * timeout_base) + (100 ms * TTL) [all …]
|
/Zephyr-latest/include/zephyr/drivers/usb/ |
D | uhc.h | 4 * SPDX-License-Identifier: Apache-2.0 31 * @brief USB control transfer stage 52 /** Control transfer setup packet */ 54 /** Transfer data buffer */ 64 /** Timeout in number of frames */ 65 uint16_t timeout; member 72 /** Pointer to transfer completion callback (opaque for the UHC) */ 74 /** Transfer result, 0 on success, other values on error */ 101 * Non-correctable error event, requires attention from higher 167 * To be implemented as device's private data (device->data). [all …]
|
/Zephyr-latest/subsys/net/lib/coap/ |
D | Kconfig | 4 # SPDX-License-Identifier: Apache-2.0 21 bool "CoAP ./well-known/core services block wise support" 24 to ./well-known/core request. Without this option all resource's 30 int "CoAP ./well-known/core services block wise support" 56 int "base length of the random generated initial ACK timeout in ms" 63 bool "Randomize initial ACK timeout, as specified in RFC 7252" 66 If enabled, the initial ACK timeout will be randomized, as specified 69 COAP_INIT_ACK_TIMEOUT_MS option). Otherwise, the initial ACK timeout 73 int "Random factor for ACK timeout described as percentage" 77 Factor described as percentage to extend CoAP ACK timeout. A value [all …]
|
/Zephyr-latest/dts/bindings/i2c/ |
D | ite,common-i2c.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 include: [i2c-controller.yaml, pinctrl-device.yaml] 15 port-num: 19 - 0 20 - 1 21 - 2 22 - 3 23 - 4 24 - 5 33 channel-switch-sel: [all …]
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | Kconfig | 4 # 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 237 bool "PB-ADV support" 288 int "Timeout value of retransmit provisioning PDUs" 292 Timeout value of retransmit provisioning PDUs. 299 bool "PB-GATT Server support" 314 the PB-GATT is enabled. [all …]
|
/Zephyr-latest/samples/bluetooth/central_past/src/ |
D | main.c | 2 * Copyright (c) 2021-2024 Nordic Semiconductor ASA 4 * SPDX-License-Identifier: Apache-2.0 35 switch (data->type) { in data_cb() 38 len = MIN(data->data_len, NAME_LEN - 1); in data_cb() 39 memcpy(name, data->data, len); in data_cb() 66 if (info->rssi < -70) { in scan_recv() 74 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in scan_recv() 78 "Interval: 0x%04x (%u ms), SID: %u\n", in scan_recv() 79 le_addr, info->adv_type, info->tx_power, info->rssi, name, in scan_recv() 80 (info->adv_props & BT_GAP_ADV_PROP_CONNECTABLE) != 0, in scan_recv() [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | bluetooth.h | 7 * Copyright (c) 2015-2016 Intel Corporation 9 * SPDX-License-Identifier: Apache-2.0 120 * The advertising set can either have been stopped by a timeout or 162 * If rpa sharing is enabled and rpa expired cb of any adv-sets belonging 163 * to same adv id returns false, then adv-sets will continue with old rpa 242 * That is, the application shall not re-register them when 243 * the Bluetooth subsystem is re-enabled later. 292 * @see https://specificationrefs.bluetooth.com/assigned-values/Appearance%20Values.pdf 325 * subsequent call to this function with non-NULL @a addrs parameter. 345 * pre-defined address is provided, since in such a situation the app clearly [all …]
|
/Zephyr-latest/tests/drivers/audio/dmic_api/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 26 /* Size of a block for 100 ms of audio data. */ 82 cfg->streams[0].pcm_rate, cfg->channel.req_num_chan); in do_pdm_transfer() 91 zassert_equal(cfg->channel.act_num_chan, in do_pdm_transfer() 92 cfg->channel.req_num_chan, in do_pdm_transfer() 94 zassert_equal(cfg->channel.act_chan_map_lo, in do_pdm_transfer() 95 cfg->channel.req_chan_map_lo, in do_pdm_transfer() 97 zassert_equal(cfg->channel.act_chan_map_hi, in do_pdm_transfer() 98 cfg->channel.req_chan_map_hi, in do_pdm_transfer() 117 TC_PRINT("%d - got buffer %p of %u bytes\n", i, buffer, size); in do_pdm_transfer() [all …]
|
/Zephyr-latest/drivers/ethernet/ |
D | Kconfig.stm32_hal | 5 # SPDX-License-Identifier: Apache-2.0 64 When this option is activated, the buffers for DMA transfer are 79 int "Carrier check timeout period (ms)" 83 Set the RX idle timeout period in milliseconds after which the 84 PHY's carrier status is re-evaluated.
|
/Zephyr-latest/include/zephyr/canbus/ |
D | isotp.h | 4 * SPDX-License-Identifier: Apache-2.0 9 * @brief Public API for ISO-TP (ISO 15765-2:2016) 11 * ISO-TP is a transport protocol for CAN (Controller Area Network) 18 * @brief CAN ISO-TP Protocol 19 * @defgroup can_isotp CAN ISO-TP Protocol 50 * N_Result according to ISO 15765-2:2016 58 #define ISOTP_N_TIMEOUT_A -1 61 #define ISOTP_N_TIMEOUT_BS -2 64 #define ISOTP_N_TIMEOUT_CR -3 67 #define ISOTP_N_WRONG_SN -4 [all …]
|
/Zephyr-latest/drivers/flash/ |
D | flash_ifx_cat1_qspi.c | 5 * SPDX-License-Identifier: Apache-2.0 67 /* The 8-bit command. 1 x I/O read command. */ 69 /* The width of the command transfer. */ 71 /* The width of the address transfer. */ 73 /* The 8-bit mode byte. This value is 0xFFFFFFFF when there is no mode present. */ 75 /* The width of the mode command transfer. */ 79 /* The width of the data transfer. */ 92 * https://iot-webserver.aus.cypress.com/projects/iot_release/ 93 * ASSETS/repo/mtb-pdl-cat1/develop/Latest/deploy/docs/ 127 /* Specifies the command to read the QE-containing status register. */ [all …]
|
/Zephyr-latest/doc/services/ipc/ipc_service/backends/ |
D | ipc_service_icmsg.rst | 27 * If at least one of the cores uses data cache on shared memory, set the ``dcache-alignment`` value. 28 …This must be the largest value of the invalidation or the write-back size for both sides of the co… 30 * Define two memory regions and assign them to ``tx-region`` and ``rx-region`` 40 Make sure that you set correct value of the ``dcache-alignment``. 46 .. code-block:: devicetree 48 reserved-memory { 60 compatible = "zephyr,ipc-icmsg"; 61 dcache-alignment = <32>; 62 tx-region = <&tx>; 63 rx-region = <&rx>; [all …]
|
/Zephyr-latest/drivers/sdhc/ |
D | imx_usdhc.c | 4 * 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/drivers/usb/uhc/ |
D | uhc_max3421e.c | 4 * SPDX-License-Identifier: Apache-2.0 63 const struct max3421e_config *config = dev->config; in max3421e_read_hirq() 92 ret = spi_transceive_dt(&config->dt_spi, &tx, &rx); in max3421e_read_hirq() 94 priv->hirq = hirq; in max3421e_read_hirq() 113 const struct max3421e_config *config = dev->config; in max3421e_write_byte() 125 return spi_write_dt(&config->dt_spi, &tx); in max3421e_write_byte() 133 const struct max3421e_config *config = dev->config; in max3421e_write() 151 return spi_write_dt(&config->dt_spi, &tx); in max3421e_write() 156 struct uhc_data *data = dev->data; in max3421e_lock() 158 return k_mutex_lock(&data->mutex, K_FOREVER); in max3421e_lock() [all …]
|
/Zephyr-latest/samples/bluetooth/peripheral_past/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 24 if (!info->conn) { in sync_cb() 29 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in sync_cb() 31 bt_addr_le_to_str(bt_conn_get_dst(info->conn), past_peer_addr, in sync_cb() 34 printk("PER_ADV_SYNC[%u]: [DEVICE]: %s synced, Interval 0x%04x (%u ms). PAST peer %s\n", in sync_cb() 35 bt_le_per_adv_sync_get_index(sync), le_addr, info->interval, in sync_cb() 36 info->interval * 5 / 4, past_peer_addr); in sync_cb() 46 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in term_cb() 61 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in recv_cb() 62 bin2hex(buf->data, buf->len, data_str, sizeof(data_str)); in recv_cb() [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | ull_central_iso.c | 4 * SPDX-License-Identifier: Apache-2.0 152 * - Calculate ISO_Interval to allow SDU_Interval < ISO_Interval 187 /* CIG does not exist - create it */ in ll_cig_parameters_commit() 195 cig->lll.num_cis = 0U; in ll_cig_parameters_commit() 198 } else if (cig->state != CIG_STATE_CONFIGURABLE) { in ll_cig_parameters_commit() 203 /* Store currently configured number of CISes before cache transfer */ in ll_cig_parameters_commit() 204 num_cis = cig->lll.num_cis; in ll_cig_parameters_commit() 206 /* Transfer parameters from configuration cache and clear LLL fields */ in ll_cig_parameters_commit() 209 cig->state = CIG_STATE_CONFIGURABLE; in ll_cig_parameters_commit() 212 cig->lll.handle = ll_conn_iso_group_handle_get(cig); in ll_cig_parameters_commit() [all …]
|
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/ |
D | shell.rst | 30 sub-commands. Every time the device boots up, make sure to call ``mesh init`` before any of the 43 The simplest way to provision the device is through self-provisioning. To do this the user must 49 devices, as long as they're assigned non-overlapping unicast addresses. Alternatively, to provision 51 ``mesh prov pb-adv on`` or ``mesh prov pb-gatt on``. The beacons can be picked up by an external 68 ``mesh prov local`` command above), we can perform self-configuration through any of the 73 uart:~$ mesh models cfg get-comp 89 uart:~$ mesh test net-send 82020100 120 .. list-table:: Parameter formats 122 :header-rows: 1 124 * - Type [all …]
|
/Zephyr-latest/drivers/serial/ |
D | uart_nrfx_uarte.c | 2 * Copyright (c) 2018-2021 Nordic Semiconductor ASA 4 * SPDX-License-Identifier: Apache-2.0 136 * RX timeout is divided into time slabs, this define tells how many divisions 137 * should be made. More divisions - higher timeout accuracy and processor usage. 172 k_timeout_t timeout; member 176 int32_t timeout_us; /* Timeout set by user */ 183 /* Flag to ensure that RX timeout won't be executed during ENDRX ISR */ 283 (_config->flags & UARTE_CFG_FLAG_LOW_POWER)) 296 ((dev->pm_base->flags & BIT(PM_DEVICE_FLAG_ISR_SAFE))), \ 311 /* None-zero in case of high speed instances. Baudrate is adjusted by that ratio. */ [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ |
D | Kconfig | 3 # Copyright (c) 2016-2017 Nordic Semiconductor ASA 4 # SPDX-License-Identifier: Apache-2.0 142 bool "Software-based BLE Link Layer" 171 compliant with FIPS PUB 140-2. 177 A Controller implementation could also provide custom bare-metal 194 FIPS-197 compliant cryptographic implementations. In this case the 203 User-defined string that will be returned by the Zephyr VS Read Build 235 Set the number of Rx PDUs to be buffered in the controller. In a 7.5ms 246 controller. Number of required RX buffers would worst-case be 299 int "Number of SDU fragments that the ISO-AL can buffer" [all …]
|