Home
last modified time | relevance | path

Searched +full:tx +full:- +full:dummy (Results 1 – 25 of 103) sorted by relevance

12345

/Zephyr-latest/tests/drivers/uart/uart_emul/
Duart_emul.overlay4 * SPDX-License-Identifier: Apache-2.0
8 euart0: uart-emul {
9 compatible = "zephyr,uart-emul";
11 current-speed = <0>;
12 rx-fifo-size = <256>;
13 tx-fifo-size = <256>;
16 euart1: uart-dummy-bus {
17 compatible = "zephyr,uart-emul";
19 current-speed = <0>;
20 rx-fifo-size = <256>;
[all …]
/Zephyr-latest/boards/renesas/da1469x_dk_pro/dts/
Dda1469x_dk_pro_psram.overlay4 * SPDX-License-Identifier: Apache-2.0
9 sram-ext = &memc;
17 /* QSPIC settings for the APS6404L-3SQR QSPI PSRAM memory in QPI mode. */
20 is-ram;
21 dev-size = <DT_SIZE_M(64)>;
22 dev-type = <0x5D>;
23 dev-id = <0x0D>;
24 dev-density = <0xE040>;
25 reset-delay-us = <50>;
26 read-cs-idle-min-ns = <18>;
[all …]
/Zephyr-latest/tests/drivers/mspi/flash/boards/
Dnative_sim.overlay4 * SPDX-License-Identifier: Apache-2.0
15 ce-gpios = <&gpio0 5 GPIO_ACTIVE_LOW>,
17 dqs-support;
18 software-multiperipheral;
22 compatible = "zephyr,mspi-emul-flash";
25 mspi-max-frequency = <48000000>;
26 mspi-io-mode = "MSPI_IO_MODE_QUAD";
27 mspi-data-rate = "MSPI_DATA_RATE_SINGLE";
28 mspi-hardware-ce-num = <0>;
29 read-command = <0x0B>;
[all …]
Dapollo3p_evb.overlay3 * SPDX-License-Identifier: Apache-2.0
18 compatible = "ambiq,mspi-controller";
19 pinctrl-0 = <&mspi1_default>;
20 pinctrl-1 = <&mspi1_sleep>;
21 pinctrl-2 = <&mspi1_flash>;
22 pinctrl-names = "default","sleep","flash";
25 ce-gpios = <&gpio32_63 18 GPIO_ACTIVE_LOW>;
27 cmdq-buffer-location = ".mspi_buff";
28 cmdq-buffer-size = <256>;
31 compatible = "ambiq,mspi-device", "mspi-atxp032";
[all …]
/Zephyr-latest/dts/bindings/memory-controllers/
Drenesas,smartbond-nor-psram.yaml2 # SPDX-License-Identifier: Apache-2.0
8 compatible: "renesas,smartbond-nor-psram"
14 is-ram:
19 dev-size:
25 dev-type:
31 dev-density:
40 dev-id:
46 reset-delay-us:
52 read-cs-idle-min-ns:
59 erase-cs-idle-min-ns:
[all …]
/Zephyr-latest/drivers/sensor/st/stmemsc/
Dstmemsc_spi.c5 * SPDX-License-Identifier: Apache-2.0
7 * zephyrproject-rtos/modules/hal/st/sensor/stmemsc/
14 /* Enable address auto-increment on some stmemsc sensors */
25 /* write 1 byte with reg addr (msb at 1) + 1 dummy byte */ in stmemsc_spi_read()
27 const struct spi_buf_set tx = { .buffers = &tx_buf, .count = 1 }; in stmemsc_spi_read() local
30 * transaction #1: dummy read to skip first byte in stmemsc_spi_read()
39 return spi_transceive_dt(stmemsc, &tx, &rx); in stmemsc_spi_read()
58 const struct spi_buf_set tx = { .buffers = tx_buf, .count = 2 }; in stmemsc_spi_write() local
60 return spi_write_dt(stmemsc, &tx); in stmemsc_spi_write()
/Zephyr-latest/samples/bluetooth/hci_pwr_ctrl/
DREADME.rst1 .. zephyr:code-sample:: bluetooth_hci_pwr_ctrl
3 :relevant-api: bt_hrs bluetooth
5 Dynamically control the Tx power of a Bluetooth LE Controller using HCI vendor-specific commands.
10 This sample application demonstrates the dynamic Tx power control over the LL
12 peripheral advertising with varying Tx power. The initial advertiser TX power
13 for the first 5s of the application is the Kconfig set default TX power. Then,
14 the TX power variation of the advertiser is a repeatedly descending staircase
15 pattern ranging from -4 dBm to -30 dBm where the Tx power levels decrease every
19 the Tx power of the peripheral device is modulated per connection accordingly
22 HR service notifying connected centrals about a dummy HR each 2s.
[all …]
/Zephyr-latest/dts/bindings/mspi/
Dmspi-device.yaml2 # SPDX-License-Identifier: Apache-2.0
8 on-bus: mspi
14 mspi-max-frequency:
22 mspi-io-mode:
25 - "MSPI_IO_MODE_SINGLE"
26 - "MSPI_IO_MODE_DUAL"
27 - "MSPI_IO_MODE_DUAL_1_1_2"
28 - "MSPI_IO_MODE_DUAL_1_2_2"
29 - "MSPI_IO_MODE_QUAD"
30 - "MSPI_IO_MODE_QUAD_1_1_4"
[all …]
Dambiq,mspi-device.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "ambiq,mspi-device"
8 include: [mspi-device.yaml, "jedec,jesd216.yaml"]
11 mspi-io-mode:
14 mspi-data-rate:
17 mspi-hardware-ce-num:
25 rx-dummy:
28 tx-dummy:
31 read-command:
34 write-command:
[all …]
/Zephyr-latest/samples/drivers/mspi/mspi_flash/boards/
Dapollo3p_evb.overlay4 * SPDX-License-Identifier: Apache-2.0
23 pinctrl-0 = <&mspi1_default>;
24 pinctrl-1 = <&mspi1_sleep>;
25 pinctrl-2 = <&mspi1_psram>;
26 pinctrl-3 = <&mspi1_flash>;
27 pinctrl-names = "default","sleep","psram","flash";
30 ce-gpios = <&gpio64_95 5 GPIO_ACTIVE_LOW>,
33 cmdq-buffer-location = ".mspi_buff";
34 cmdq-buffer-size = <256>;
37 compatible = "ambiq,mspi-device", "mspi-aps6404l";
[all …]
/Zephyr-latest/dts/bindings/spi/
Dxlnx,xps-spi-2.00.a.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "xlnx,xps-spi-2.00.a"
8 include: spi-controller.yaml
11 # https://github.com/Xilinx/device-tree-xlnx
20 xlnx,num-ss-bits:
24 - 1
25 - 2
26 - 3
27 - 4
31 xlnx,num-transfer-bits:
[all …]
/Zephyr-latest/subsys/shell/backends/
DKconfig.backends4 # SPDX-License-Identifier: Apache-2.0
15 DT_CHOSEN_Z_SHELL_UART := zephyr,shell-uart
77 bool "Force blocking mode for TX"
79 Force blocking mode for TX.
82 int "Set TX ring buffer size"
138 bool "Check DTR signal before TX"
142 Check DTR signal before TX.
145 default-timeout = 100
148 default-size = 512
211 Select index of up-buffer used for shell output, by default it uses
[all …]
/Zephyr-latest/kernel/
Dmailbox.c4 * SPDX-License-Identifier: Apache-2.0
32 struct _thread_base thread; /* dummy thread object */
52 * Do run-time initialization of mailbox object subsystem.
62 * A dummy thread requires minimal initialization, since it never gets in init_mbox_module()
64 * dummy thread from a real one. The threads are *not* added to the in init_mbox_module()
89 z_waitq_init(&mbox->tx_msg_queue); in k_mbox_init()
90 z_waitq_init(&mbox->rx_msg_queue); in k_mbox_init()
91 mbox->lock = (struct k_spinlock) {}; in k_mbox_init()
110 * @return 0 if successfully matched, otherwise -1.
117 if (((tx_msg->tx_target_thread == (k_tid_t)K_ANY) || in mbox_message_match()
[all …]
/Zephyr-latest/samples/drivers/memc/boards/
Dapollo3p_evb.overlay4 * SPDX-License-Identifier: Apache-2.0
23 pinctrl-0 = <&mspi1_default>;
24 pinctrl-1 = <&mspi1_sleep>;
25 pinctrl-2 = <&mspi1_psram>;
26 pinctrl-names = "default","sleep","psram";
29 ce-gpios = <&gpio64_95 5 GPIO_ACTIVE_LOW>,
32 cmdq-buffer-location = ".mspi_buff";
33 cmdq-buffer-size = <256>;
36 compatible = "ambiq,mspi-device", "mspi-aps6404l";
40 mspi-max-frequency = <48000000>;
[all …]
/Zephyr-latest/samples/drivers/mspi/mspi_async/boards/
Dapollo3p_evb.overlay4 * SPDX-License-Identifier: Apache-2.0
23 pinctrl-0 = <&mspi1_default>;
24 pinctrl-1 = <&mspi1_sleep>;
25 pinctrl-2 = <&mspi1_psram>;
26 pinctrl-names = "default","sleep","psram";
29 ce-gpios = <&gpio64_95 5 GPIO_ACTIVE_LOW>,
32 cmdq-buffer-location = ".mspi_buff";
33 cmdq-buffer-size = <256>;
36 compatible = "ambiq,mspi-device", "mspi-aps6404l";
40 mspi-max-frequency = <48000000>;
[all …]
/Zephyr-latest/drivers/spi/
Dspi_sam0.c4 * SPDX-License-Identifier: Apache-2.0
60 while ((regs->SYNCBUSY.reg & SERCOM_SPI_SYNCBUSY_MASK) != 0) { in wait_synchronization()
64 while ((regs->STATUS.reg & SERCOM_SPI_STATUS_SYNCBUSY) != 0) { in wait_synchronization()
74 const struct spi_sam0_config *cfg = dev->config; in spi_sam0_configure()
75 struct spi_sam0_data *data = dev->data; in spi_sam0_configure()
76 SercomSpi *regs = cfg->regs; in spi_sam0_configure()
81 if (spi_context_configured(&data->ctx, config)) { in spi_sam0_configure()
85 if (config->operation & SPI_HALF_DUPLEX) { in spi_sam0_configure()
86 LOG_ERR("Half-duplex not supported"); in spi_sam0_configure()
87 return -ENOTSUP; in spi_sam0_configure()
[all …]
Dspi_max32.c4 * SPDX-License-Identifier: Apache-2.0
57 uint8_t dummy[2]; member
86 const struct max32_spi_config *cfg = dev->config; in spi_configure()
87 mxc_spi_regs_t *regs = cfg->regs; in spi_configure()
88 struct max32_spi_data *data = dev->data; in spi_configure()
90 if (spi_context_configured(&data->ctx, config)) { in spi_configure()
94 if (SPI_OP_MODE_GET(config->operation) & SPI_OP_MODE_SLAVE) { in spi_configure()
95 return -ENOTSUP; in spi_configure()
101 int ss_polarity = (config->operation & SPI_CS_ACTIVE_HIGH) ? 1 : 0; in spi_configure()
102 unsigned int spi_speed = (unsigned int)config->frequency; in spi_configure()
[all …]
Dspi_mcux_flexcomm.c5 * SPDX-License-Identifier: Apache-2.0
70 /* dummy value used for transferring NOP when tx buf is null */
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()
87 /* nothing left to rx or tx, we're done! */ 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()
[all …]
Dspi_mcux_dspi.c3 * Copyright (c) 2017, 2020-2021, NXP
5 * SPDX-License-Identifier: Apache-2.0
89 const struct spi_mcux_config *config = dev->config; in spi_mcux_transfer_next_packet()
90 struct spi_mcux_data *data = dev->data; in spi_mcux_transfer_next_packet()
91 SPI_Type *base = config->base; in spi_mcux_transfer_next_packet()
92 struct spi_context *ctx = &data->ctx; in spi_mcux_transfer_next_packet()
96 if ((ctx->tx_len == 0) && (ctx->rx_len == 0)) { in spi_mcux_transfer_next_packet()
97 /* nothing left to rx or tx, we're done! */ in spi_mcux_transfer_next_packet()
99 spi_context_cs_control(&data->ctx, false); in spi_mcux_transfer_next_packet()
100 spi_context_complete(&data->ctx, dev, 0); in spi_mcux_transfer_next_packet()
[all …]
/Zephyr-latest/tests/drivers/uart/uart_emul/src/
Ddevice.c4 * SPDX-License-Identifier: Apache-2.0
18 #define UART_DUMMY_NODE DT_NODELABEL(dummy)
24 * Leave one byte left in tx to avoid filling it completely which will block the UART
25 * tx ready IRQ event.
27 #define SAMPLE_DATA_SIZE MIN(EMUL_UART_RX_FIFO_SIZE, EMUL_UART_TX_FIFO_SIZE) - 1
69 uart_emul_flush_rx_data(fixture->dev); in uart_emul_device_before()
70 uart_emul_flush_tx_data(fixture->dev); in uart_emul_device_before()
72 uart_err_check(fixture->dev); in uart_emul_device_before()
74 memset(fixture->rx_content, 0, sizeof(fixture->rx_content)); in uart_emul_device_before()
77 uart_irq_tx_disable(fixture->dev); in uart_emul_device_before()
[all …]
/Zephyr-latest/modules/openthread/platform/
Duart.c4 * SPDX-License-Identifier: Apache-2.0
25 #include <openthread-system.h>
28 #include "platform-zephyr.h"
61 ot_uart.rx_ringbuf->size); in uart_rx_handle()
73 uint8_t dummy; in uart_rx_handle() local
75 /* No space in the ring buffer - consume byte. */ in uart_rx_handle()
78 rd_len = uart_fifo_read(dev, &dummy, 1); in uart_rx_handle()
94 write_length -= len; in uart_tx_handle()
139 ot_uart.rx_ringbuf->size)) > 0) { in platformUartProcess()
150 /* Process UART TX */ in platformUartProcess()
[all …]
/Zephyr-latest/subsys/bluetooth/common/
Ddummy.c2 * @file dummy.c
9 * SPDX-License-Identifier: Apache-2.0
22 * by the compiler, otherwise the on-wire packet will not map the packed
36 * in a priority higher than the Bluetooth Host's Tx and the Controller's
53 * with the software-based Link Layer since it introduces ISR latency
/Zephyr-latest/drivers/serial/
Duart_rzt2m.c4 * SPDX-License-Identifier: Apache-2.0
39 if (!dev || !dev->config || !dev->data) { in rzt2m_poll_in()
40 return -ENODEV; in rzt2m_poll_in()
43 const struct rzt2m_device_config *config = dev->config; in rzt2m_poll_in()
44 struct rzt2m_device_data *data = dev->data; in rzt2m_poll_in()
46 k_spinlock_key_t key = k_spin_lock(&data->lock); in rzt2m_poll_in()
48 if (FRSR_R(*FRSR(config->base)) == 0) { in rzt2m_poll_in()
49 k_spin_unlock(&data->lock, key); in rzt2m_poll_in()
50 return -1; in rzt2m_poll_in()
52 *c = *RDR(config->base) & RDR_MASK_RDAT; in rzt2m_poll_in()
[all …]
/Zephyr-latest/drivers/ethernet/
Deth_enc28j60.c1 /* ENC28J60 Stand-alone Ethernet Controller with SPI
5 * SPDX-License-Identifier: Apache-2.0
34 const struct eth_enc28j60_config *config = dev->config; in eth_enc28j60_soft_reset()
40 const struct spi_buf_set tx = { in eth_enc28j60_soft_reset() local
45 return spi_write_dt(&config->spi, &tx); in eth_enc28j60_soft_reset()
50 const struct eth_enc28j60_config *config = dev->config; in eth_enc28j60_set_bank()
60 const struct spi_buf_set tx = { in eth_enc28j60_set_bank() local
72 if (!spi_transceive_dt(&config->spi, &tx, &rx)) { in eth_enc28j60_set_bank()
76 spi_write_dt(&config->spi, &tx); in eth_enc28j60_set_bank()
78 LOG_DBG("%s: Failure while setting bank to 0x%04x", dev->name, reg_addr); in eth_enc28j60_set_bank()
[all …]
/Zephyr-latest/tests/net/ieee802154/custom_l2/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
65 NET_DEVICE_INIT(dummy, "dummy_ieee802154", NULL, NULL, NULL, NULL,
79 zassert_not_null(net_if_l2(iface)->send, "No send() found"); in ZTEST()
89 zassert_equal(0, ret, "Failed to process TX packet"); in ZTEST()
90 zassert_equal(tx_pkt, test_data.tx_pkt, "TX packet did not reach L2"); in ZTEST()
103 zassert_not_null(net_if_l2(iface)->recv, "No recv () found"); in ZTEST()
126 zassert_not_null(net_if_l2(iface)->enable, "No enable() found"); in ZTEST()
143 zassert_not_null(net_if_l2(iface)->get_flags, "No get_flags() found"); in ZTEST()
145 flags = net_if_l2(iface)->get_flags(iface); in ZTEST()

12345