Home
last modified time | relevance | path

Searched +full:tx +full:- +full:rx +full:- +full:swap (Results 1 – 25 of 30) sorted by relevance

12

/Zephyr-Core-3.5.0/dts/bindings/serial/
Dst,stm32-uart-base.yaml2 # SPDX-License-Identifier: Apache-2.0
5 description: STM32 UART-BASE
7 include: [uart-controller.yaml, pinctrl-device.yaml, reset-device.yaml]
22 single-wire:
25 Enable the single wire half-duplex communication.
26 Using this mode, TX and RX lines are internally connected and
27 only TX pin is used afterwards and should be configured.
28 RX/TX conflicts must be handled on user side.
30 tx-rx-swap:
33 Swap the TX and RX pins. Used in case of a cross wired connection.
[all …]
/Zephyr-Core-3.5.0/dts/bindings/ethernet/
Dxlnx,gem.yaml3 # SPDX-License-Identifier: Apache-2.0
10 include: ethernet-controller.yaml
19 clock-frequency:
23 Specifies the base clock frequency from which the GEM's TX clock
25 clock control register in the CRL_APB. The GEM's TX clock frequency
27 which it will be adjusted at run-time. Therefore, the value of this
29 respective GEM's TX clock - by default, this is the IO PLL.
31 mdc-divider:
42 init-mdio-phy:
45 Activates the management of a PHY associated with the controller in-
[all …]
/Zephyr-Core-3.5.0/doc/services/ipc/ipc_service/backends/
Dipc_service_icmsg.rst27 * Define two memory regions and assign them to ``tx-region`` and ``rx-region``
37 .. code-block:: devicetree
39 reserved-memory {
40 tx: memory@20070000 {
44 rx: memory@20078000 {
51 compatible = "zephyr,ipc-icmsg";
52 tx-region = <&tx>;
53 rx-region = <&rx>;
55 mbox-names = "tx", "rx";
63 communication (domain or CPU) but you must swap the MBOX channels and memory
[all …]
/Zephyr-Core-3.5.0/drivers/ethernet/
Deth_ivshmem_queue.c4 * SPDX-License-Identifier: Apache-2.0
44 q->desc_max_len = vring_desc_len; in eth_ivshmem_queue_init()
45 q->vring_data_max_len = shmem_section_size - vring_header_size; in eth_ivshmem_queue_init()
46 q->vring_header_size = vring_header_size; in eth_ivshmem_queue_init()
49 q->tx.shmem = (void *)shmem; in eth_ivshmem_queue_init()
50 q->rx.shmem = (void *)(shmem + shmem_section_size); in eth_ivshmem_queue_init()
52 q->rx.shmem = (void *)shmem; in eth_ivshmem_queue_init()
53 q->tx.shmem = (void *)(shmem + shmem_section_size); in eth_ivshmem_queue_init()
57 vring_init(&q->tx.vring, vring_desc_len, q->tx.shmem, ETH_IVSHMEM_VRING_ALIGNMENT); in eth_ivshmem_queue_init()
58 vring_init(&q->rx.vring, vring_desc_len, q->rx.shmem, ETH_IVSHMEM_VRING_ALIGNMENT); in eth_ivshmem_queue_init()
[all …]
Deth_xlnx_gem.c5 * SPDX-License-Identifier: Apache-2.0
8 * - Only supports 32-bit addresses in buffer descriptors, therefore
9 * the ZynqMP APU (Cortex-A53 cores) may not be fully supported.
10 * - Hardware timestamps not considered.
11 * - VLAN tags not considered.
12 * - Wake-on-LAN interrupt not supported.
13 * - Send function is not SMP-capable (due to single TX done semaphore).
14 * - Interrupt-driven PHY management not supported - polling only.
15 * - No explicit placement of the DMA memory area(s) in either a
18 * with the Cortex-R5 QEMU target or an actual R5 running without the
[all …]
/Zephyr-Core-3.5.0/drivers/serial/
Duart_stm32.h2 * Copyright (c) 2016 Open-RnD Sp. z o.o.
4 * SPDX-License-Identifier: Apache-2.0
38 /* enable tx/rx pin swap */
40 /* enable rx pin inversion */
42 /* enable tx pin inversion */
59 /* Device defined as wake-up source */
Duart_nrfx_uarte.c2 * Copyright (c) 2018-2021 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
69 * RX timeout is divided into time slabs, this define tells how many divisions
70 * should be made. More divisions - higher timeout accuracy and processor usage.
74 /* Size of hardware fifo in RX path. */
116 /* Flag to ensure that RX timeout won't be executed during ENDRX ISR */
180 const struct uarte_nrfx_config *config = dev->config; in get_uarte_instance()
182 return config->uarte_regs; in get_uarte_instance()
211 const struct uarte_nrfx_config *config = dev->config; in uarte_nrfx_isr_int()
215 * interrupt is still called to stop TX. Unless it is done using PPI. in uarte_nrfx_isr_int()
[all …]
/Zephyr-Core-3.5.0/drivers/i2s/
Di2s_mcux_sai.c5 * SPDX-License-Identifier: Apache-2.0
22 #include <zephyr/dt-bindings/clock/imx_ccm.h>
52 * This indicates the Tx/Rx stream.
105 struct stream tx; member
108 struct stream rx; member
126 while (k_msgq_get(&strm->in_queue, &buffer, K_NO_WAIT) == 0) { in i2s_purge_stream_buffers()
132 while (k_msgq_get(&strm->out_queue, &buffer, K_NO_WAIT) == 0) { in i2s_purge_stream_buffers()
140 struct i2s_dev_data *dev_data = dev->data; in i2s_tx_stream_disable()
141 struct stream *strm = &dev_data->tx; in i2s_tx_stream_disable()
142 const struct device *dev_dma = dev_data->dev_dma; in i2s_tx_stream_disable()
[all …]
/Zephyr-Core-3.5.0/boards/arm/mimxrt1170_evk/
Dmimxrt1170_evkb_cm4.dts4 * SPDX-License-Identifier: Apache-2.0
11 /delete-property/ zephyr,flash-controller;
12 /delete-property/ zephyr,code-partition;
16 /delete-property/ magn0;
17 /delete-property/ accel0;
23 /delete-node/ is25wp128@0;
28 compatible = "nxp,imx-flexspi-nor";
31 spi-max-frequency = <133000000>;
33 jedec-id = [ef 60 20];
34 erase-block-size = <4096>;
[all …]
/Zephyr-Core-3.5.0/boards/arm/beagle_bcf/
Dbeagleconnect_freedom.dts3 * Copyright (c) 2020-2022 Jason Kridner, BeagleBoard.org Foundation
5 * SPDX-License-Identifier: Apache-2.0
8 /dts-v1/;
11 #include "beagleconnect_freedom-pinctrl.dtsi"
12 #include <zephyr/dt-bindings/input/input-event-codes.h>
18 compatible = "beagle,beagleconnect-freedom";
23 mcuboot-button0 = &button0;
26 spi-flash0 = &spi_flash0;
32 zephyr,shell-uart = &uart0;
35 zephyr,code-partition = &slot0_partition;
[all …]
/Zephyr-Core-3.5.0/subsys/net/ip/
Dnet_core.c5 * from IP stack and passing that data to applications (Rx thread).
11 * SPDX-License-Identifier: Apache-2.0
85 if (!pkt->frags) { in process_data()
86 NET_DBG("Corrupted packet (frags %p)", pkt->frags); in process_data()
108 * to re-initialize the cursor rather than updating it. in process_data()
134 uint8_t vtc_vhl = NET_IPV6_HDR(pkt)->vtc & 0xf0; in process_data()
142 NET_DBG("Unknown IP family packet (0x%x)", NET_IPV6_HDR(pkt)->vtc & 0xf0); in process_data()
180 /* Things to setup after we are able to RX and TX */
193 /* Starting TX side. The ordering is important here and the TX in init_rx_queues()
194 * can only be started when RX side is ready to receive packets. in init_rx_queues()
[all …]
/Zephyr-Core-3.5.0/boards/arm/lpcxpresso55s69/
Dlpcxpresso55s69.dtsi4 * SPDX-License-Identifier: Apache-2.0
7 #include "lpcxpresso55s69-pinctrl.dtsi"
14 spi-8 = &hs_lspi;
15 usart-0 = &flexcomm0;
19 compatible = "gpio-leds";
37 mikrobus_header: mikrobus-connector {
38 compatible = "mikro-bus";
39 #gpio-cells = <2>;
40 gpio-map-mask = <0xffffffff 0xffffffc0>;
41 gpio-map-pass-thru = <0 0x3f>;
[all …]
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_conn.c2 * Copyright (c) 2018-2020 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
86 force_md_cnt--; \
95 (trx_cnt >= ((CONFIG_BT_BUF_ACL_TX_COUNT) - 1))) { \
175 lll = prepare_param->param; in lll_conn_abort_cb()
176 lll->latency_prepare += (prepare_param->lazy + 1); in lll_conn_abort_cb()
182 e->type = EVENT_DONE_EXTRA_TYPE_CONN; in lll_conn_abort_cb()
183 e->trx_cnt = 0U; in lll_conn_abort_cb()
184 e->crc_valid = 0U; in lll_conn_abort_cb()
186 e->mic_state = LLL_CONN_MIC_NONE; in lll_conn_abort_cb()
[all …]
/Zephyr-Core-3.5.0/kernel/
Dmailbox.c4 * SPDX-License-Identifier: Apache-2.0
55 * Do run-time initialization of mailbox object subsystem.
94 z_waitq_init(&mbox->tx_msg_queue); in k_mbox_init()
95 z_waitq_init(&mbox->rx_msg_queue); in k_mbox_init()
96 mbox->lock = (struct k_spinlock) {}; in k_mbox_init()
115 * @return 0 if successfully matched, otherwise -1.
122 if (((tx_msg->tx_target_thread == (k_tid_t)K_ANY) || in mbox_message_match()
123 (tx_msg->tx_target_thread == rx_msg->tx_target_thread)) && in mbox_message_match()
124 ((rx_msg->rx_source_thread == (k_tid_t)K_ANY) || in mbox_message_match()
125 (rx_msg->rx_source_thread == tx_msg->rx_source_thread))) { in mbox_message_match()
[all …]
/Zephyr-Core-3.5.0/boards/arm/nucleo_f429zi/doc/
Dindex.rst9 The Nucleo F429ZI board features an ARM Cortex-M4 based STM32F429ZI MCU
13 - STM32 microcontroller in LQFP144 package
14 - LSE crystal: 32.768 kHz crystal oscillator
15 - USB OTG
16 - Ethernet compliant with IEEE-802.3-2002
17 - Two types of extension resources:
19 - ST Zio connector including: support for Arduino* Uno V3 connectivity
22 - ST morpho extension pin headers for full access to all STM32 I/Os
24 - On-board ST-LINK/V2-1 debugger/programmer with SWD connector
25 - Flexible board power supply:
[all …]
/Zephyr-Core-3.5.0/drivers/sdhc/
Dsdhc_spi.c4 * SPDX-License-Identifier: Apache-2.0
107 const struct spi_buf_set tx = { in sdhc_spi_rx() local
119 const struct spi_buf_set rx = { in sdhc_spi_rx() local
124 return spi_transceive(spi_dev, spi_cfg, &tx, &rx); in sdhc_spi_rx()
133 const struct sdhc_spi_config *config = dev->config; in sdhc_spi_init_card()
134 struct sdhc_spi_data *data = dev->data; in sdhc_spi_init_card()
135 struct spi_config *spi_cfg = data->spi_cfg; in sdhc_spi_init_card()
138 if (spi_cfg->frequency == 0) { in sdhc_spi_init_card()
140 spi_cfg->frequency = SDMMC_CLOCK_400KHZ; in sdhc_spi_init_card()
143 spi_cfg->operation |= SPI_CS_ACTIVE_HIGH; in sdhc_spi_init_card()
[all …]
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/hci/
Dhci_driver.c5 * SPDX-License-Identifier: Apache-2.0
101 sdu_buffer->dbuf = buf; in sink_sdu_alloc_hci()
102 sdu_buffer->size = net_buf_tailroom(buf); in sink_sdu_alloc_hci()
126 buf = (struct net_buf *) sdu_frag->sdu.contents.dbuf; in sink_sdu_emit_hci()
131 if (sdu_frag->sdu.status != ISOAL_SDU_STATUS_VALID) { in sink_sdu_emit_hci()
139 pb = sdu_frag->sdu_state; in sink_sdu_emit_hci()
140 len = sdu_frag->sdu_frag_size; in sink_sdu_emit_hci()
141 total_len = sdu->total_sdu_size; in sink_sdu_emit_hci()
142 packet_status_flag = sdu->collated_status; in sink_sdu_emit_hci()
151 if (len > 0 && buf->len >= len) { in sink_sdu_emit_hci()
[all …]
/Zephyr-Core-3.5.0/doc/releases/
Drelease-notes-3.5.rst38 * CVE-2023-3725 `Zephyr project bug tracker GHSA-2g3m-p6c7-8rr3
39 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-2g3m-p6c7-8rr3>`_
41 * CVE-2023-4257 `Zephyr project bug tracker GHSA-853q-q69w-gf5j
42 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-853q-q69w-gf5j>`_
44 * CVE-2023-4258 `Zephyr project bug tracker GHSA-m34c-cp63-rwh7
45 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-m34c-cp63-rwh7>`_
47 * CVE-2023-4259 `Zephyr project bug tracker GHSA-gghm-c696-f4j4
48 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gghm-c696-f4j4>`_
50 * CVE-2023-4260 `Zephyr project bug tracker GHSA-gj27-862r-55wh
51 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gj27-862r-55wh>`_
[all …]
Drelease-notes-3.2.rst13 * Added support for :ref:`bin-blobs` (also see :ref:`west-blobs`).
15 * Converted all supported boards from ``pinmux`` to :ref:`pinctrl-guide`.
31 * CVE-2022-2993: Under embargo until 2022-11-03
33 * CVE-2022-2741: Under embargo until 2022-10-14
56 This definition can be used by third-party code to compile code conditional
58 Therefore, any third-party code integrated using the Zephyr build system will
91 changed from ``-ENETDOWN`` to ``-ENETUNREACH``. A return value of ``-ENETDOWN`` now indicates
129 * Removed support for configuring the CAN-FD maximum DLC value via Kconfig
156 valid for specific bindings to specify like :dtcompatible:`gpio-leds` and
157 :dtcompatible:`fixed-partitions`.
[all …]
Drelease-notes-3.3.rst14 * Introduced :ref:`USB-C <usbc_api>` device stack with PD (power delivery)
17 CMSIS-DSP as the default backend.
30 * CVE-2023-0359: Under embargo until 2023-04-20
32 * CVE-2023-0779: Under embargo until 2023-04-22
66 removed in favor of new :dtcompatible:`zephyr,flash-disk` devicetree binding.
71 * Starting from this release ``zephyr-`` prefixed tags won't be created
82 image states). Use of a truncated hash or non-sha256 hash will still work
88 registration function at boot-up. If applications register this then
93 application code, these will now automatically be registered at boot-up (this
129 This may cause out-of-tree scripts or commands to fail if they have relied
[all …]
Drelease-notes-3.1.rst61 * 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
225 * Added support for the full ISO TX data path, including ISOAL
231 * Implemented ISO-AL TX unframed fragmentation
232 * Added support for back-to-back receiving of PDUs on nRF5x platforms
[all …]
Drelease-notes-2.5.rst27 * CVE-2021-3323: Under embargo until 2021-04-14
28 * CVE-2021-3321: Under embargo until 2021-04-14
29 * CVE-2021-3320: Under embargo until 2021-04-14
39 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
56 * Changed vcnl4040 dts binding default for property 'proximity-trigger'.
63 * The :c:func:`mqtt_keepalive_time_left` function now returns -1 if keep alive
67 timeout usage must use the new-style k_timeout_t type and not the
87 GPIO-only regulators a devicetree property ``supply-gpios`` is defined as a
101 * ARM Musca-A board and SoC support deprecated and planned to be removed in 2.6.0.
146 sys_heap/k_heaps. Note that the new-style heap is a general
[all …]
Drelease-notes-2.6.rst13 * Added support for 64-bit ARCv3
14 * Split ARM32 and ARM64, ARM64 is now a top-level architecture
15 * Added initial support for Arm v8.1-m and Cortex-M55
22 https://github.com/zephyrproject-rtos/example-application
34 * CVE-2021-3581: Under embargo until 2021-09-04
41 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
46 * Driver APIs now return ``-ENOSYS`` if optional functions are not implemented.
47 If the feature is not supported by the hardware ``-ENOTSUP`` will be returned.
48 Formerly ``-ENOTSUP`` was returned for both failure modes, meaning this change
111 These options are also able to calculate the RX & TX times more accurately.
[all …]
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/
Dull_llcp_pdu.c4 * SPDX-License-Identifier: Apache-2.0
65 pdu->ll_id = PDU_DATA_LLID_CTRL; in llcp_pdu_encode_ping_req()
66 pdu->len = PDU_DATA_LLCTRL_LEN(ping_req); in llcp_pdu_encode_ping_req()
67 pdu->llctrl.opcode = PDU_DATA_LLCTRL_TYPE_PING_REQ; in llcp_pdu_encode_ping_req()
72 pdu->ll_id = PDU_DATA_LLID_CTRL; in llcp_pdu_encode_ping_rsp()
73 pdu->len = PDU_DATA_LLCTRL_LEN(ping_rsp); in llcp_pdu_encode_ping_rsp()
74 pdu->llctrl.opcode = PDU_DATA_LLCTRL_TYPE_PING_RSP; in llcp_pdu_encode_ping_rsp()
83 pdu->ll_id = PDU_DATA_LLID_CTRL; in llcp_pdu_encode_unknown_rsp()
84 pdu->len = PDU_DATA_LLCTRL_LEN(unknown_rsp); in llcp_pdu_encode_unknown_rsp()
85 pdu->llctrl.opcode = PDU_DATA_LLCTRL_TYPE_UNKNOWN_RSP; in llcp_pdu_encode_unknown_rsp()
[all …]
/Zephyr-Core-3.5.0/drivers/dai/intel/ssp/
Dssp.c4 * SPDX-License-Identifier: Apache-2.0
23 #define dai_set_drvdata(dai, data) (dai->priv_data = data)
24 #define dai_get_drvdata(dai) dai->priv_data
25 #define dai_get_mn(dai) dai->plat_data.mn_inst
26 #define dai_get_ftable(dai) dai->plat_data.ftable
27 #define dai_get_fsources(dai) dai->plat_data.fsources
28 #define dai_mn_base(dai) dai->plat_data.mn_inst->base
29 #define dai_base(dai) dai->plat_data.base
30 #define dai_ip_base(dai) dai->plat_data.ip_base
31 #define dai_shim_base(dai) dai->plat_data.shim_base
[all …]

12