/Zephyr-latest/include/zephyr/net/ |
D | gptp.h | 4 * SPDX-License-Identifier: Apache-2.0 52 /** High half. */ 55 /** Low half. */ 63 /** High half. */ 66 /** Low half. */ 98 /* Pre-calculated constants */ 184 /** Control value. Sync: 0, Follow-up: 2, Others: 5. */ 195 (uscaled_ns_ptr)->low = \ 197 (uscaled_ns_ptr)->high = 0; \ 204 * @brief Define callback that is called after a phase discontinuity has been [all …]
|
/Zephyr-latest/dts/bindings/wifi/ |
D | nordic,nrf70-qspi.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: This is a representation of the nRF70 Wi-Fi chip. 8 on-bus: qspi 11 qspi-frequency: 20 qspi-quad-mode: 24 SPI mode (2 IO lines - MOSI & MISO). 26 qspi-rx-delay: 33 qspi-cpha: 36 Set to indicate phase starts with asserted half-phase (CPHA=1). 39 qspi-cpol:
|
/Zephyr-latest/dts/bindings/mipi-dbi/ |
D | mipi-dbi-spi-device.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 include: [mipi-dbi-device.yaml] 13 SPI Duplex mode, full or half. By default it's always full duplex thus 0 15 Selecting half duplex allows to use SPI MOSI as a bidirectional line, 18 list (see dt-bindings/spi/spi.h) 21 mipi-cpol: 26 mipi-cpha: 29 SPI clock phase that indicates on which edge data is sampled. 31 mipi-hold-cs:
|
/Zephyr-latest/dts/bindings/qspi/ |
D | nxp,s32-qspi.yaml | 2 # SPDX-License-Identifier: Apache-2.0 10 compatible: "nxp,s32-qspi" 12 include: [base.yaml, pinctrl-device.yaml] 20 "#address-cells": 23 "#size-cells": 26 data-rate: 29 - SDR 30 - DDR 33 - Single Data Rate (SDR): sampling of incoming data occurs on single edges. 34 - Double Data Rate (DDR): sampling of incoming data occurs on both edges. [all …]
|
/Zephyr-latest/dts/bindings/mtd/ |
D | nordic,qspi-nor.yaml | 2 # SPDX-License-Identifier: Apache-2.0 7 compatible: "nordic,qspi-nor" 9 include: [base.yaml, "jedec,spi-nor-common.yaml"] 11 on-bus: qspi 17 jedec-id: 23 The size in bits. Set this or size-in-bytes, but not both. 25 size-in-bytes: 31 quad-enable-requirements: 37 - "fastread" # Single data line SPI, FAST_READ (0x0B) 38 - "read2o" # Dual data line SPI, READ2O (0x3B) [all …]
|
/Zephyr-latest/dts/bindings/spi/ |
D | spi-device.yaml | 1 # Copyright (c) 2018, I-SENSE group of ICCS 2 # SPDX-License-Identifier: Apache-2.0 8 on-bus: spi 13 spi-max-frequency: 21 Duplex mode, full or half. By default it's always full duplex thus 0 24 list (see dt-bindings/spi/spi.h) 28 - 0 29 - 2048 30 frame-format: 37 list (see dt-bindings/spi/spi.h) [all …]
|
/Zephyr-latest/doc/project/ |
D | release_process.rst | 6 The Zephyr project releases on a time-based cycle, rather than a feature-driven 10 A time-based release process enables the Zephyr project to provide users with a 12 roughly 4-month release cycle allows the project to coordinate development of 19 - Release tagging procedure: 21 - linear mode on main branch, 22 - release branches for maintenance after release tagging. 23 - Each release period will consist of a development phase followed by a 24 stabilization phase. Release candidates will be tagged during the 25 stabilization phase. During the stabilization phase, only stabilization 29 - Development phase: all changes are considered and merged, subject to [all …]
|
/Zephyr-latest/drivers/spi/ |
D | spi_mcux_flexio.c | 5 * SPDX-License-Identifier: Apache-2.0 42 const struct spi_mcux_flexio_config *config = dev->config; in spi_mcux_transfer_next_packet() 43 struct spi_mcux_flexio_data *data = dev->data; in spi_mcux_transfer_next_packet() 44 struct spi_context *ctx = &data->ctx; in spi_mcux_transfer_next_packet() 48 if ((ctx->tx_len == 0) && (ctx->rx_len == 0)) { in spi_mcux_transfer_next_packet() 50 spi_context_cs_control(&data->ctx, false); in spi_mcux_transfer_next_packet() 51 spi_context_complete(&data->ctx, dev, 0); in spi_mcux_transfer_next_packet() 55 transfer.flags = kFLEXIO_SPI_csContinuous | data->transfer_flags; in spi_mcux_transfer_next_packet() 57 if (ctx->tx_len == 0) { in spi_mcux_transfer_next_packet() 60 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet() [all …]
|
D | spi_mcux_ecspi.c | 4 * 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() 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() 73 transfer.rxData = &data->rx_data; in spi_mcux_transfer_next_packet() [all …]
|
D | spi_pw.c | 3 * SPDX-License-Identifier: Apache-2.0 47 return spi_context_tx_on(&spi->ctx) || spi_context_rx_on(&spi->ctx); in is_spi_transfer_ongoing() 132 uint8_t dfs = SPI_WORD_SIZE_GET(config->operation); in spi_pw_get_frame_size() 137 LOG_WRN("Unsupported dfs, 1-byte size will be used"); in spi_pw_get_frame_size() 146 struct spi_pw_data *spi = dev->data; in spi_pw_cs_ctrl_enable() 149 if (spi->cs_mode == CS_SW_MODE) { in spi_pw_cs_ctrl_enable() 151 } else if (spi->cs_mode == CS_GPIO_MODE) { in spi_pw_cs_ctrl_enable() 152 spi_context_cs_control(&spi->ctx, true); in spi_pw_cs_ctrl_enable() 155 if (spi->cs_mode == CS_SW_MODE) { in spi_pw_cs_ctrl_enable() 157 } else if (spi->cs_mode == CS_GPIO_MODE) { in spi_pw_cs_ctrl_enable() [all …]
|
D | spi_mcux_flexcomm.c | 5 * 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() 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() 94 if (ctx->tx_len == 0) { in spi_mcux_transfer_next_packet() 97 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet() [all …]
|
D | spi_pl022.c | 4 * SPDX-License-Identifier: Apache-2.0 70 /* Phase */ 333 for (postdiv = SCR_MAX + 1; postdiv > SCR_MIN + 1; --postdiv) { in spi_pl022_calc_postdiv() 334 if (pclk / (prescale * (postdiv - 1)) > baud) { in spi_pl022_calc_postdiv() 338 return postdiv - 1; in spi_pl022_calc_postdiv() 344 const struct spi_pl022_cfg *cfg = dev->config; in spi_pl022_configure() 345 struct spi_pl022_data *data = dev->data; in spi_pl022_configure() 346 const uint16_t op = spicfg->operation; in spi_pl022_configure() 354 if (spi_context_configured(&data->ctx, spicfg)) { in spi_pl022_configure() 359 ret = clock_control_get_rate(cfg->clk_dev, cfg->clk_id, &pclk); in spi_pl022_configure() [all …]
|
D | spi_renesas_ra.c | 3 * SPDX-License-Identifier: Apache-2.0 59 struct device *dev = (struct device *)p_args->p_context; in spi_cb() 60 struct ra_spi_data *data = dev->data; in spi_cb() 62 switch (p_args->event) { in spi_cb() 64 spi_context_cs_control(&data->ctx, false); in spi_cb() 65 spi_context_complete(&data->ctx, dev, 0); in spi_cb() 73 spi_context_cs_control(&data->ctx, false); in spi_cb() 74 spi_context_complete(&data->ctx, dev, -EIO); in spi_cb() 83 struct ra_spi_data *data = dev->data; in ra_spi_configure() 86 if (spi_context_configured(&data->ctx, config)) { in ra_spi_configure() [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | cs.h | 8 * SPDX-License-Identifier: Apache-2.0 112 /** Applicable for mode-2 and mode-3 only: 115 * - @ref BT_LE_CS_TEST_OVERRIDE_3_NO_TONE_EXT 116 * - @ref BT_LE_CS_TEST_OVERRIDE_3_INITIATOR_TONE_EXT_ONLY 117 * - @ref BT_LE_CS_TEST_OVERRIDE_3_REFLECTOR_TONE_EXT_ONLY 118 * - @ref BT_LE_CS_TEST_OVERRIDE_3_INITIATOR_AND_REFLECTOR_TONE_EXT 132 * +--------------------------------+------------------------------------------+ 134 * +--------------------------------+------------------------------------------+ 137 * +--------------------------------+------------------------------------------+ 141 * +--------------------------------+------------------------------------------+ [all …]
|
/Zephyr-latest/subsys/net/l2/ethernet/gptp/ |
D | gptp_state.h | 4 * SPDX-License-Identifier: Apache-2.0 154 * @brief gPTP time-synchronization spanning tree priority vector 169 /** Port identity of the transmitting time-aware system. */ 303 /** Half Sync Interval Timer. */ 309 /** GM Phase Change of the last received PortSyncSync. */ 467 * @brief Structure maintaining per Time-Aware States.
|
/Zephyr-latest/modules/openthread/platform/ |
D | radio.c | 4 * SPDX-License-Identifier: Apache-2.0 33 #include <openthread-system.h> 40 #include "platform-zephyr.h" 46 #define PKT_IS_IPv6(_p) ((NET_IPV6_HDR(_p)->vtc & 0xf0) == 0x60) 66 #define CHANNEL_COUNT OT_RADIO_2P4GHZ_OQPSK_CHANNEL_MAX - OT_RADIO_2P4GHZ_OQPSK_CHANNEL_MIN + 1 133 max_tx_power_table[aChannel - OT_RADIO_2P4GHZ_OQPSK_CHANNEL_MIN]; in get_transmit_power_for_channel() 247 /* do nothing - ignore event */ in handle_radio_event() 254 * @brief Convert 32-bit (potentially wrapped) OpenThread microsecond timestamps 255 * to 64-bit Zephyr network subsystem nanosecond timestamps. 257 * This is a workaround until OpenThread is able to schedule 64-bit RX/TX time. [all …]
|
/Zephyr-latest/include/zephyr/drivers/ |
D | spi.h | 4 * SPDX-License-Identifier: Apache-2.0 27 #include <zephyr/dt-bindings/spi/spi.h> 52 * @name SPI Polarity & Phase Modes 64 * Clock Phase: this dictates when is the data captured, and depends 73 * Whatever data is transmitted is looped-back to the receiving buffer of 81 /** Get SPI polarity and phase mode bits. */ 115 /** Requests - if possible - to keep CS asserted after the transaction */ 187 * cs-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>, 190 * a: spi-dev-a@0 { 194 * b: spi-dev-b@1 { [all …]
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | beacon.c | 4 * SPDX-License-Identifier: Apache-2.0 48 * Identifier for the current Private beacon random-value. 49 * Each time we regenerate the random-value, we'll update this idx. 86 return priv ? &sub->priv_beacon : &sub->secure_beacon; in subnet_beacon_get_by_type() 88 return &sub->secure_beacon; in subnet_beacon_get_by_type() 98 beacon = subnet_beacon_get_by_type(sub, params->private); in beacon_cache_match() 100 return !memcmp(beacon->cache, params->auth, sizeof(beacon->cache)); in beacon_cache_match() 105 memcpy(beacon->cache, auth, sizeof(beacon->cache)); in cache_add() 110 (void)memset(sub->secure_beacon.cache, 0, sizeof(sub->secure_beacon.cache)); in bt_mesh_beacon_cache_clear() 112 (void)memset(sub->priv_beacon.cache, 0, sizeof(sub->priv_beacon.cache)); in bt_mesh_beacon_cache_clear() [all …]
|
/Zephyr-latest/drivers/ieee802154/ |
D | ieee802154_dw1000_regs.h | 4 * SPDX-License-Identifier: Apache-2.0 7 * https://github.com/Decawave/mynewt-dw1000-core.git 14 * Copyright (C) 2017-2018, Decawave Limited, All Rights Reserved 24 * http://www.apache.org/licenses/LICENSE-2.0 75 /* Frame Filtering Behave as a Co-ordinator */ 117 * Receiver Auto-Re-enable. 118 * This bit is used to cause the receiver to re-enable automatically 126 /* System Time Counter (40-bit) */ 180 * of non-standard values 203 /* Bit mask to access Transmit buffer index offset 10-bit field */ [all …]
|
/Zephyr-latest/doc/releases/ |
D | release-notes-3.7.rst | 10 This release is the last non-maintenance 3.x release and, as such, will be the next 18 * A long-awaited :ref:`HTTP Server <http_server_interface>` library, and associated service API, 21 * :ref:`POSIX support <posix_support>` has been extended, with most Options of the IEEE 1003-2017 25 * Bluetooth Host has been extended with support for the Nordic UART Service (NUS), Hands-free Audio 29 :ref:`read-then-decode approach <sensor-read-and-decode>` that enables more types of sensors and 35 * Trusted Firmware-M (TF-M) 2.1.0 and Mbed TLS 3.6.0 have been integrated into Zephyr. 39 1588) allows to synchronize time across devices with sub-microsecond accuracy. 52 * 1-Wire 71 :ref:`pinctrl-guide` for more details. 88 * CVE-2024-3077 `Zephyr project bug tracker GHSA-gmfv-4vfh-2mh8 [all …]
|
D | release-notes-3.0.rst | 22 * CVE-2021-3835: `Zephyr project bug tracker GHSA-fm6v-8625-99jf 23 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-fm6v-8625-99jf>`_ 25 * CVE-2021-3861: `Zephyr project bug tracker GHSA-hvfp-w4h8-gxvj 26 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-hvfp-w4h8-gxvj>`_ 28 * CVE-2021-3966: `Zephyr project bug tracker GHSA-hfxq-3w6x-fv2m 29 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-hfxq-3w6x-fv2m>`_ 36 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_. 53 * Added ``ranges`` and ``dma-ranges`` as invalid property to be used with DT_PROP_LEN() 58 CRC-16-ANSI checksum. A new function, :c:func:`crc16_reflect`, has been 69 * The following Kconfig options related to radio front-end modules (FEMs) were [all …]
|
D | release-notes-3.1.rst | 61 * Split CAN classic and CAN-FD APIs: 90 was moved from Kconfig to :ref:`devicetree <dt-guide>`. 91 See the :dtcompatible:`st,stm32f1-pinctrl` devicetree binding for more information. 182 * MIPI-DSI 184 * Added a :ref:`MIPI-DSI api <mipi_dsi_api>`. This is an experimental API, 196 * Added support for enabling/disabling CAN-FD mode at runtime using :c:macro:`CAN_MODE_FD`. 220 * Added support for Provisioners over PB-GATT 231 * Implemented ISO-AL TX unframed fragmentation 232 * Added support for back-to-back receiving of PDUs on nRF5x platforms 249 newly created informational-only callback struct :c:struct:`bt_conn_auth_info_cb`. [all …]
|