/Zephyr-latest/include/zephyr/dt-bindings/gpio/ |
D | digilent-pmod.h | 3 * SPDX-License-Identifier: Apache-2.0 17 * cs-gpios = <&pmod0 PMOD_SPI_CS GPIO_ACTIVE_LOW>; 19 * example_device: example-dev@0 { 20 * compatible = "vnd,spi-device"; 31 * For reference see the Pmod interface specification: 32 * https://digilent.com/reference/_media/reference/pmod/pmod-interface-specification-1_2_0.pdf 39 * Pmod Interface Type 1 or 1A (GPIO or expanded GPIO) 43 #define PMOD_IO(n) ((n) - 1) 49 * Used with Pmod Interface Type 2 (SPI) peripherals. 55 * Used with Pmod Interface Type 2 (SPI) peripherals. [all …]
|
/Zephyr-latest/dts/bindings/ethernet/ |
D | infineon,xmc4xxx-ethernet.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "infineon,xmc4xxx-ethernet" 9 - name: ethernet-controller.yaml 10 - name: pinctrl-device.yaml 16 pinctrl-0: 19 pinctrl-names: 22 phy-connection-type: 25 rxd0-port-ctrl: 27 type: string 30 - "P2_2" [all …]
|
D | silabs,gecko-ethernet.yaml | 3 # SPDX-License-Identifier: Apache-2.0 7 compatible: "silabs,gecko-ethernet" 9 include: ethernet-controller.yaml 21 phy-address: 22 type: int 26 # RMII interface location 27 location-rmii: 28 type: int 32 # PHY management interface location 33 location-mdio: [all …]
|
D | snps,dwcxgmac.yaml | 2 # SPDX - License - Identifier : Apache - 2.0 9 - name: reset-device.yaml 10 - name: ethernet-controller.yaml 17 max-frame-size: 18 type: int 23 means that normally xgmac will reject any frame above max-frame-size 27 max-speed: 28 type: int 30 - 10 31 - 100 [all …]
|
/Zephyr-latest/include/zephyr/net/ |
D | wifi_nm.h | 2 * @brief Wi-Fi Network manager API 4 * This file contains the Wi-Fi network manager API. These APIs are used by the 5 * any network management application to register as a Wi-Fi network manager. 11 * SPDX-License-Identifier: Apache-2.0 23 * @brief Wi-Fi Network manager API 24 * @defgroup wifi_nm Wi-Fi Network Manager API 35 /** Types of Wi-Fi interface */ 37 /** IEEE 802.11 Wi-Fi Station */ 39 /** IEEE 802.11 Wi-Fi Soft AP */ 47 /** Wi-Fi interface type */ [all …]
|
D | ethernet.h | 10 * SPDX-License-Identifier: Apache-2.0 172 /** IEEE 802.1Qav (credit-based shaping) supported */ 205 /** TX-Injection supported */ 252 /** Type of T1S parameter */ 253 enum ethernet_t1s_param_type type; member 258 * 10Base-T1S standard. 271 * compliant vendor (like for e.g. LAN865x - e.g. [2]). 274 * [1] - "OPEN Alliance 10BASE-T1x MAC-PHY Serial 275 * Interface" (ver. 1.1) 276 * [2] - "DS60001734C" - LAN865x data sheet [all …]
|
D | icmp.h | 4 * SPDX-License-Identifier: Apache-2.0 33 #define NET_ICMPV4_ECHO_REQUEST 8 /**< ICMPv4 Echo-Request */ 34 #define NET_ICMPV4_ECHO_REPLY 0 /**< ICMPv4 Echo-Reply */ 35 #define NET_ICMPV6_ECHO_REQUEST 128 /**< ICMPv6 Echo-Request */ 36 #define NET_ICMPV6_ECHO_REPLY 129 /**< ICMPv6 Echo-Reply */ 60 * @brief Handler function that is called when an Echo-Request is sent 66 * @param iface Network interface, can be set to NULL in which case the 67 * interface is selected according to destination address. 69 * @param params Echo-Request specific parameters. May be NULL in which case 90 /** Network interface where the ICMP request was sent */ [all …]
|
/Zephyr-latest/dts/bindings/usb/ |
D | zephyr,hid-device.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "zephyr,hid-device" 11 interface-name: 12 type: string 15 as the string descriptor of the interface. 17 protocol-code: 18 type: string 22 the protocols, keyboard or mouse. For non-boot devices, this property is 24 - none: Device does not support the boot interface 25 - keyboard: Device supports boot interface and keyboard protocol [all …]
|
/Zephyr-latest/dts/bindings/usb/uac2/ |
D | zephyr,uac2-audio-streaming.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: USB Audio Class 2 Audio Streaming interface 6 compatible: "zephyr,uac2-audio-streaming" 9 linked-terminal: 10 type: phandle 13 Input or Output Terminal to which this interface is connected. 15 active-alternate-setting-control: 16 type: string 19 - "read-only" 21 valid-alternate-settings-control: [all …]
|
/Zephyr-latest/subsys/net/lib/capture/ |
D | cooked.c | 4 * SPDX-License-Identifier: Apache-2.0 44 /* -1 is used as a not configured link type */ 54 struct cooked_context *ctx = net_if_get_device(iface)->data; in iface_init() 61 NET_DBG("No such interface \"any\", cannot init interface %d", in iface_init() 67 NET_DBG("The \"any\" interface %d is wrong type", ifindex); in iface_init() 71 if (ctx->init_done) { in iface_init() 75 ctx->iface = iface; in iface_init() 87 /* Hook into "any" interface so that we can receive the in iface_init() 90 ret = net_virtual_interface_attach(ctx->iface, any_iface); in iface_init() 92 NET_DBG("Cannot hook into interface %d (%d)", in iface_init() [all …]
|
/Zephyr-latest/dts/bindings/spi/ |
D | snps,designware-spi.yaml | 3 # SPDX-License-Identifier: Apache-2.0 7 compatible: "snps,designware-spi" 9 include: [spi-controller.yaml, pinctrl-device.yaml] 18 aux-reg: 19 type: boolean 24 fifo-depth: 25 type: int 29 Serial Interface. Depth ranges from 2-256. 31 serial-target: 32 type: boolean [all …]
|
/Zephyr-latest/doc/connectivity/networking/ |
D | networking_with_multiple_instances.rst | 18 On the Linux Host, find the Zephyr `net-tools`_ project, which can either be 19 found in a Zephyr standard installation under the ``tools/net-tools`` directory 22 .. code-block:: console 24 git clone https://github.com/zephyrproject-rtos/net-tools 31 * Terminal #1 and #2 are terminal windows with net-tools being the current 32 directory (``cd net-tools``) 44 Step 1 - Create configuration files 49 creating network interface cannot be used here as that is for connecting one 52 For Zephyr instance #1, create file called ``zephyr1.conf`` to ``net-tools`` 55 .. code-block:: console [all …]
|
D | network_monitoring.rst | 16 See also the :zephyr:code-sample:`net-capture` sample application from the Zephyr 26 On the Linux Host, find the Zephyr `net-tools`_ project, which can either be 27 found in a Zephyr standard installation under the ``tools/net-tools`` directory 30 .. code-block:: console 32 git clone https://github.com/zephyrproject-rtos/net-tools 34 The ``net-tools`` project provides a configure file to setup IP-to-IP tunnel 35 interface so that we can transfer monitoring data from Zephyr to host. 37 In terminal #1, type: 39 .. code-block:: console 41 ./net-setup.sh -c zeth-tunnel.conf [all …]
|
/Zephyr-latest/dts/bindings/display/ |
D | sitronix,st7789v.yaml | 3 # SPDX-License-Identifier: Apache-2.0 9 include: [mipi-dbi-spi-device.yaml, display-controller.yaml] 12 x-offset: 13 type: int 17 y-offset: 18 type: int 23 type: int 28 type: int 33 type: int 37 type: int [all …]
|
/Zephyr-latest/samples/net/capture/src/ |
D | main.c | 5 * SPDX-License-Identifier: Apache-2.0 35 enum net_capture_packet_type type; member 43 .type = _type, \ 112 net_capture_data(ptr->ctx, ptr->data, ptr->len, in cmd_sample_send() 113 ptr->type, ptr->eth_p_type); in cmd_sample_send() 132 * - Create a tunnel that runs on top of the Ethernet interface in init_app() 133 * - Start to capture data from cooked mode capture interface in init_app() 134 * - Take the cooked mode interface up in init_app() 136 * All of the above could be done manually from net-shell with in init_app() 150 * net-setup.sh -c zeth-tunnel.conf in init_app() [all …]
|
/Zephyr-latest/dts/bindings/mipi-dsi/ |
D | nxp,imx-mipi-dsi.yaml | 4 # SPDX-License-Identifier: Apache-2.0 8 compatible: "nxp,imx-mipi-dsi" 10 include: mipi-dsi-host.yaml 17 type: phandle 22 dpi-color-coding: 23 type: string 25 - "16-bit-config-1" 26 - "16-bit-config-2" 27 - "16-bit-config-3" 28 - "18-bit-config-1" [all …]
|
D | nxp,mipi-dsi-2l.yaml | 4 # SPDX-License-Identifier: Apache-2.0 8 compatible: "nxp,mipi-dsi-2l" 10 include: mipi-dsi-host.yaml 17 type: phandle 21 dpi-color-coding: 22 type: string 24 - "16-bit-config-1" 25 - "16-bit-config-2" 26 - "16-bit-config-3" 27 - "18-bit-config-1" [all …]
|
/Zephyr-latest/include/zephyr/drivers/ |
D | edac.h | 4 * SPDX-License-Identifier: Apache-2.0 28 * @brief EDAC error type 31 /** Correctable error type */ 33 /** Uncorrectable error type */ 94 * @retval -ENOSYS if the optional interface is not implemented 101 (const struct edac_driver_api *)dev->api; in edac_inject_set_param1() 103 if (api->inject_set_param1 == NULL) { in edac_inject_set_param1() 104 return -ENOSYS; in edac_inject_set_param1() 107 return api->inject_set_param1(dev, value); in edac_inject_set_param1() 118 * @retval -ENOSYS if the optional interface is not implemented [all …]
|
/Zephyr-latest/samples/net/lldp/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 30 ((sizeof(tlv) - sizeof(uint16_t)) & 0x01ff)); in set_optional_tlv() 35 /* User data for the interface callback */ 49 if (!ud->first) { in iface_cb() 50 ud->first = iface; in iface_cb() 54 if (!ud->second) { in iface_cb() 55 ud->second = iface; in iface_cb() 78 return -EINVAL; in setup_iface() 83 LOG_ERR("Cannot add %s to interface %p", ipv6_addr, iface); in setup_iface() 84 return -EINVAL; in setup_iface() [all …]
|
/Zephyr-latest/arch/riscv/core/ |
D | reboot.c | 4 * SPDX-License-Identifier: Apache-2.0 9 * @brief RISC-V reboot interface 20 * RISC-V specification does not have a common interface for system reset. 21 * Each RISC-V SoC that has reset feature should implement own reset function. 24 void __weak sys_arch_reboot(int type) in sys_arch_reboot() argument 26 ARG_UNUSED(type); in sys_arch_reboot()
|
/Zephyr-latest/dts/bindings/net/wireless/ |
D | nordic,nrf21540-fem.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 This is a representation of the nRF21540 Radio Front-End module. 8 See the "nordic,nrf21540-fem-spi" binding to configure the SPI 9 interface. The SPI interface should be configured as a child node 11 the FEM and SPI configurations using the spi-if property. 13 Here is an example nRF21540 configuration with a SPI interface 17 compatible = "nordic,nrf-spim"; 19 cs-gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; 22 my_spi_if: nrf21540-spi@0 { 23 compatible = "nordic,nrf21540-fem-spi"; [all …]
|
D | gpio-radio-coex.yaml | 1 # Copyright (c) 2022-2023 Dronetag s.r.o. 2 # SPDX-License-Identifier: Apache-2.0 5 Generic representation of Coexistence pin interface for radios. This 6 interface is usually available on Wifi/Bluetooth/LTE modules to 14 grant-delay-us property. 16 compatible: "gpio-radio-coex" 21 grant-gpios: 22 type: phandle-array 27 grant-delay-us: 28 type: int
|
/Zephyr-latest/samples/net/sockets/txtime/ |
D | Kconfig | 4 # SPDX-License-Identifier: Apache-2.0 14 when selecting UDP socket type. 23 prompt "Socket type to use" 67 string "My IPv6 address for second interface" 72 string "My IPv4 address for second interface" 77 int "VLAN tag for second interface" 86 string "My IPv6 address for third interface" 91 string "My IPv4 address for third interface" 96 int "VLAN tag for third interface"
|
/Zephyr-latest/dts/bindings/dsa/ |
D | microchip,ksz8794.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 KSZ8794 ethernet switch with SPI interface 12 type: int 17 0x02: 1) CAT-5E/6 Short Cable with a Link Issue for the KSZ8795 Family 18 0x04: 2) CAT-5E/6 Short Cable with a Link Issue for the KSZ8795 Family 19 mii-lowspeed-drivestrength: 20 type: int 22 Define the Low-Speed Interface Drive Strength for MII and RMMI 26 - 2 27 - 4 [all …]
|
/Zephyr-latest/tests/drivers/can/host/ |
D | README.rst | 9 This test suite uses `python-can`_ for testing Controller Area Network (CAN) communication between a 17 * The python-can library installed on the host PC. 25 the ``bitrate`` and ``bitrate-data`` CAN controller devicetree properties if needed. Default 29 The host end of the CAN fixture can be configured through python-can. Available configuration 30 options depend on the type of host CAN adapter used. The python-can library provides a lot of 31 flexibility for configuration as decribed in the `python-can configuration`_ page, all centered 35 * By default, the python-can configuration context is not specified, causing python-can to use the 38 ``:`` (i.e. specify fixture ``can:zcan0`` to use the ``zcan0`` python-can configuration context). 39 * The configuration context can be overridden using the ``--can-context`` test suite argument 40 (i.e. run ``twister`` with the ``--pytest-args=--can-context=zcan0`` argument to use the ``zcan0`` [all …]
|