/Zephyr-latest/tests/bsim/bluetooth/ll/edtt/tests_scripts/ |
D | hci.llcp.test_list | 2 # SPDX-License-Identifier: Apache-2.0 4 HCI/CCO/BV-07-C 5 HCI/CCO/BV-09-C # [Handling LE Set Data Length Command] 6 HCI/CCO/BV-10-C 7 HCI/CCO/BV-11-C 8 HCI/CCO/BV-12-C 9 HCI/CCO/BV-13-C 10 HCI/CCO/BV-14-C 11 HCI/CCO/BV-15-C 12 HCI/CCO/BV-18-C [all …]
|
/Zephyr-latest/dts/bindings/flash_controller/ |
D | nuvoton,npcx-fiu-nor.yaml | 2 # SPDX-License-Identifier: Apache-2.0 10 compatible ="nuvoton,npcx-fiu-nor"; 14 qspi-flags = <NPCX_QSPI_SW_CS1>; 15 mapped-addr = <0x64000000>; 16 pinctrl-0 = <&int_flash_sl>; 17 pinctrl-names = "default"; 20 compatible: "nuvoton,npcx-fiu-nor" 22 include: [flash-controller.yaml, pinctrl-device.yaml, "jedec,spi-nor-common.yaml"] 24 on-bus: qspi 27 mapped-addr: [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
D | media_controller_test.c | 4 * SPDX-License-Identifier: Apache-2.0 99 FAIL("Player Name read failed (%d)\n", err); in player_name_cb() 114 FAIL("Icon Object ID read failed (%d)", err); in icon_id_cb() 130 FAIL("Icon URL read failed (%d)", err); in icon_url_cb() 144 FAIL("Track title read failed (%d)", err); in track_title_cb() 159 FAIL("Track duration read failed (%d)", err); in track_duration_cb() 174 FAIL("Track position read failed (%d)", err); in track_position_recv_cb() 206 FAIL("Playback speed read failed (%d)", err); in playback_speed_recv_cb() 238 FAIL("Seeking speed read failed (%d)", err); in seeking_speed_cb() 253 FAIL("Track Segments ID read failed (%d)\n", err); in track_segments_id_cb() [all …]
|
D | mcc_test.c | 2 * Copyright (c) 2019 - 2021 Nordic Semiconductor ASA 4 * SPDX-License-Identifier: Apache-2.0 97 FAIL("Player Name read failed (%d)\n", err); in mcc_read_player_name_cb() 107 FAIL("Icon Object ID read failed (%d)", err); in mcc_read_icon_obj_id_cb() 118 FAIL("Icon URL read failed (%d)", err); in mcc_read_icon_url_cb() 138 FAIL("Track title read failed (%d)", err); in mcc_read_track_title_cb() 148 FAIL("Track duration read failed (%d)", err); in mcc_read_track_duration_cb() 158 FAIL("Track position read failed (%d)", err); in mcc_read_track_position_cb() 181 FAIL("Playback speed read failed (%d)", err); in mcc_read_playback_speed_cb() 204 FAIL("Seeking speed read failed (%d)", err); in mcc_read_seeking_speed_cb() [all …]
|
/Zephyr-latest/samples/drivers/smbus/ |
D | README.rst | 1 .. zephyr:code-sample:: smbus-shell 3 :relevant-api: smbus_interface 20 .. zephyr-app-commands:: 21 :zephyr-app: samples/drivers/smbus 22 :host-os: unix 32 .. code-block:: console 34 *** Booting Zephyr OS build zephyr-v3.2.0-804-gfedd72615e82 *** 40 .. code-block:: console 43 smbus - smbus commands 45 quick :SMBus Quick command [all …]
|
/Zephyr-latest/include/zephyr/sd/ |
D | mmc.h | 4 * SPDX-License-Identifier: Apache-2.0 33 * @retval -EBUSY: card is busy with another request 34 * @retval -ETIMEDOUT: card write timed out 35 * @retval -EIO: I/O error 41 * @brief Read block from MMC card to buffer 45 * @param card MMC card to read from 46 * @param rbuf read buffer 47 * @param start_block first block to read from 48 * @param num_blocks number of blocks to read 49 * @retval 0 read succeeded [all …]
|
D | sdmmc.h | 4 * SPDX-License-Identifier: Apache-2.0 33 * @retval -EBUSY: card is busy with another request 34 * @retval -ETIMEDOUT: card write timed out 35 * @retval -EIO: I/O error 41 * @brief Read block from SD card to buffer 45 * @param card SD card to read from 46 * @param rbuf read buffer 47 * @param start_block first block to read from 48 * @param num_blocks number of blocks to read 49 * @retval 0 read succeeded [all …]
|
/Zephyr-latest/samples/subsys/shell/devmem_load/ |
D | README.md | 1 # Zephyr devmem load command 2 This module add a `devmem load` command that allows data to be loaded into device memory. 3 The `devmem load` command is supported by every transport the shell can run on. 5 After using a command in the Zephyr shell, the device reads all transferred data and writes to an a… 6 The transfer ends when the user presses `ctrl-x + ctrl-q`. 9 Note: when using the devmem load command over UART it is recommended to use interrupts whenever pos… 15 …atforms, the following commands build and run the application with a shell for the FRDM-K64F board. 17 west build -b frdm_k64f samples/subsys/shell/devmem_load 23 west build -b native_sim -- -DCONF_FILE=prj_poll.conf samples/subsys/shell/devmem_load 30 The `devmem load` command can now be used (`devmem load [option] [address]`): [all …]
|
/Zephyr-latest/tests/drivers/mspi/flash/boards/ |
D | native_sim.overlay | 4 * 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 …]
|
/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. */ 68 .command = 0x5AU, 69 /* The width of the command 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. */ 92 * https://iot-webserver.aus.cypress.com/projects/iot_release/ 93 * ASSETS/repo/mtb-pdl-cat1/develop/Latest/deploy/docs/ 111 /* Specifies the Read command. */ 113 /* Specifies the Write Enable command. */ [all …]
|
D | Kconfig.at45 | 2 # SPDX-License-Identifier: Apache-2.0 26 bool "Use Read-Modify-Write command in flash_write()" 29 Use the Read-Modify-Write command (opcode 0x58) instead of the default 30 Main Memory Program without Built-In Erase (opcode 0x02). This allows
|
/Zephyr-latest/subsys/sd/ |
D | Kconfig | 2 # SPDX-License-Identifier: Apache-2.0 34 module-str = SD stack 50 int "Number of times to retry SD OCR read" 53 Number of times to retry SD OCR read command. OCR reads typically 73 # If MMC is being used, need 512 bytes to read EXT_CSD 75 # If SDIO is being used, need 512 bytes to read FUNC0 CIS 77 # Otherwise, we only need 64 bytes to read SD switch function 84 int "Number of times to retry sending command to card" 87 Number of times to retry sending command to SD card in case of failure
|
/Zephyr-latest/samples/subsys/modbus/tcp_server/ |
D | README.rst | 1 .. zephyr:code-sample:: modbus-tcp-server 3 :relevant-api: modbus bsd_sockets 16 This sample has been tested with FRDM-K64F board, 34 .. zephyr-app-commands:: 35 :zephyr-app: samples/subsys/modbus/tcp_server 40 On the client side, PC or laptop, the following command connects PyModbus 43 .. code-block:: console 45 # pymodbus.console tcp --host 192.0.2.1 --port 502 48 For example, to set LED0 on use FC01 command (write_coil). 50 .. code-block:: console [all …]
|
/Zephyr-latest/drivers/smbus/ |
D | smbus_shell.c | 5 * SPDX-License-Identifier: Apache-2.0 24 * smbus <shell command> <device> <peripheral address> <command byte> 35 * WARNING: As there is no standard SMBUS detection command, this code 42 * https://manpages.debian.org/buster/i2c-tools/i2cdetect.8.en.html 54 return -ENODEV; in cmd_smbus_scan() 71 shell_fprintf(sh, SHELL_NORMAL, "-- "); in cmd_smbus_scan() 93 return -ENODEV; in cmd_smbus_quick() 117 return -ENODEV; in cmd_smbus_byte_read() 124 shell_error(sh, "SMBus: Failed to read from periph: 0x%02x", in cmd_smbus_byte_read() 126 return -EIO; in cmd_smbus_byte_read() [all …]
|
D | intel_pch_smbus.c | 7 * PCH provides SMBus 2.0 - compliant Host Controller. 9 * SPDX-License-Identifier: Apache-2.0 29 * * periph_addr - Peripheral address (Slave address mentioned in the Specs) 30 * * command - First byte to send in the SMBus protocol operations except for 31 * Quick and Byte Read. Also known as register. 92 struct pch_data *data = dev->data; in pch_reg_read() 94 return sys_in8(data->sba + reg); in pch_reg_read() 99 struct pch_data *data = dev->data; in pch_reg_write() 101 sys_out8(val, data->sba + reg); in pch_reg_write() 112 const struct device *dev = data->dev; in host_notify_work() [all …]
|
/Zephyr-latest/include/zephyr/drivers/i3c/ |
D | hdr_ddr.h | 4 * SPDX-License-Identifier: Apache-2.0 33 * @param cmd 7-bit command code 38 * @retval -EBUSY Bus is busy. 39 * @retval -EIO General input / output error. 56 * @brief Read a set amount of data from an I3C target device with HDR DDR. 61 * @param cmd 7-bit command code 63 * @param num_bytes Number of bytes to read. 66 * @retval -EBUSY Bus is busy. 67 * @retval -EIO General input / output error. 84 * @brief Write then read data from an I3C target device with HDR DDR. [all …]
|
/Zephyr-latest/samples/subsys/modbus/tcp_gateway/ |
D | README.rst | 1 .. zephyr:code-sample:: modbus-gateway 2 :name: Modbus TCP-to-serial gateway 3 :relevant-api: modbus bsd_sockets 5 Implement a gateway between an Ethernet TCP-IP network and a Modbus serial line. 11 an Ethernet TCP-IP network and a Modbus serial line. 16 This sample has been tested with FRDM-K64F board, 21 :zephyr:code-sample:`modbus-rtu-server` sample. Client is running on a PC or laptop. 26 In addition to the evaluation boards RS-485 shields may be used. 27 The A+, B- lines of the RS-485 shields should be connected together. 38 .. zephyr-app-commands:: [all …]
|
/Zephyr-latest/samples/boards/nxp/mimxrt595_evk/system_off/ |
D | README.rst | 1 .. zephyr:code-sample:: mimxrt595_evk_system_off 3 :relevant-api: sys_poweroff 5 Use soft-off on MIMXRT595-EVK. 13 * Busy-wait for 2 seconds 20 This application uses MIMXRT595-EVK for the demo. 25 .. zephyr-app-commands:: 26 :zephyr-app: samples/boards/nxp/mimxrt595_evk/system_off 41 MIMXRT595-EVK core output 42 -------------------------- 44 .. code-block:: console [all …]
|
/Zephyr-latest/dts/bindings/memory-controllers/ |
D | renesas,smartbond-nor-psram.yaml | 2 # 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: 50 Time in microseconds (us) the memory device can accept the next command following a SW reset. 52 read-cs-idle-min-ns: [all …]
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_sifive.c | 4 * SPDX-License-Identifier: Apache-2.0 18 #include "i2c-priv.h" 22 #define I2C_REG(config, reg) ((mem_addr_t) ((config)->base + reg)) 32 /* Transmit on write, receive on read */ 36 /* Command on write, status on read */ 73 const struct i2c_sifive_cfg *config = dev->config; in i2c_sifive_busy() 82 const struct i2c_sifive_cfg *config = dev->config; in i2c_sifive_send_addr() 83 uint8_t command = 0U; in i2c_sifive_send_addr() local 89 /* Set transmit register to address with read/write flag */ in i2c_sifive_send_addr() 93 command = SF_CMD_WRITE | SF_CMD_START; in i2c_sifive_send_addr() [all …]
|
/Zephyr-latest/samples/subsys/modbus/rtu_server/ |
D | README.rst | 1 .. zephyr:code-sample:: modbus-rtu-server 3 :relevant-api: modbus 16 This sample has been tested with the nRF52840-DK and FRDM-K64F boards, 26 Using RS-485 transceiver 30 In addition to the evaluation board, an USB to RS-485 bus adapter and 31 a RS-485 shield are required. The shield converts UART TX, RX signals to RS-485. 32 An Arduino header compatible shield like `joy-it RS-485 shield for Arduino`_ 34 on the JOY-IT shield. For other shields, ``de-gpios`` property must be adapted 38 The USB to RS-485 adapter connects to the USB port of a computer. 39 The two A+, B- lines should be connected to the RS-485 shield. [all …]
|
/Zephyr-latest/dts/bindings/auxdisplay/ |
D | hit,hd44780.yaml | 4 # SPDX-License-Identifier: Apache-2.0 11 include: [auxdisplay-device.yaml] 17 description: Operating mode of display, 8-bit or 4 for 4-bit mode 19 - 4 20 - 8 22 register-select-gpios: 23 type: phandle-array 27 read-write-gpios: 28 type: phandle-array 29 description: Optional GPIO used for selecting read or write mode [all …]
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_w5500_priv.h | 1 /* W5500 Stand-alone Ethernet Controller with SPI 6 * SPDX-License-Identifier: Apache-2.0 23 #define MR_AI 0x02 /* Address Auto-Increment */ 31 #define W5500_Sn_CR 0x0001 /* Sn Command Register */ 35 #define W5500_Sn_TX_RD 0x0022 /* Sn Transmit memory read pointer */ 38 #define W5500_Sn_RX_RD 0x0028 /* Sn Receive memory read pointer */ 46 #define S0_CR_OPEN 0x01 /* OPEN command */ 47 #define S0_CR_CLOSE 0x10 /* CLOSE command */ 48 #define S0_CR_SEND 0x20 /* SEND command */ 49 #define S0_CR_RECV 0x40 /* RECV command */ [all …]
|
/Zephyr-latest/soc/nuvoton/npcm/common/esiost/ |
D | esiost.py | 5 # SPDX-License-Identifier: Apache-2.0 10 # -i in_file.bin -o out_file.bin 11 # [-chip <name>] [-v] 61 INVALID_INPUT = -1 75 :param esiost_args: the object representing the command line arguments. 101 :param esiost_args: the object representing the command line arguments. 103 :returns: output file path object, or -1 if fails 110 exit_with_failure("Define input file, using -i flag") 148 :param esiost_args: the object representing the command line arguments. 160 :param esiost_args: the object representing the command line arguments. [all …]
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/settings_mgmt/src/ |
D | smp_test_util.h | 4 * SPDX-License-Identifier: Apache-2.0 15 /* Function for creating an settings_mgmt read command */ 19 /* Function for creating an settings_mgmt write command */ 24 /* Function for creating an settings_mgmt delete command */ 28 /* Function for creating an settings_mgmt commit command */ 32 /* Function for creating an settings_mgmt load command */ 36 /* Function for creating an settings_mgmt save command */
|