Home
last modified time | relevance | path

Searched +full:usb +full:- +full:c (Results 1 – 25 of 855) sorted by relevance

12345678910>>...35

/Zephyr-latest/subsys/usb/usb_c/
DKconfig1 # USB-C stack configuration options
3 # Copyright (c) 2022 The Chromium OS Authors
4 # SPDX-License-Identifier: Apache-2.0
7 bool "USB-C Stack Support"
13 Enable the USB-C Stack. Note that each USB-C port gets its own thread.
18 int "USB-C stack init priority"
21 Initialization priority of the USB-C connector driver in POST_KERNEL.
22 This driver must be initialized after devices referenced by USB-C connectors
26 int "USB-C thread priority"
29 Set thread priority of the USB-C
[all …]
/Zephyr-latest/samples/subsys/usb_c/sink/
DREADME.rst1 .. zephyr:code-sample:: usb-c-sink
2 :name: Basic USB-C Sink
3 :relevant-api: _usbc_device_api
5 Implement a USB-C Power Delivery application in the form of a USB-C Sink.
10 This example demonstrates how to create a USB-C Power Delivery application and
11 how to generate USB VIF policies in XML format using the USB-C subsystem. The
12 application implements a USB-C Sink device.
14 After the USB-C Sink device is plugged into a Power Delivery charger, it
18 .. _usb-c-sink-sample-requirements:
23 node that's compatible with ``usb-c-connector``.
[all …]
/Zephyr-latest/samples/subsys/usb_c/source/
DREADME.rst1 .. zephyr:code-sample:: usb-c-source
2 :name: Basic USB-C Source
3 :relevant-api: _usbc_device_api
5 Implement a USB-C Power Delivery application in the form of a USB-C Source.
10 This example demonstrates how to create a USB-C Power Delivery application
11 using the USB-C subsystem. The application implements a USB-C Source device.
13 After a USB-C Sink device is plugged into the USB-C Source device, it
18 .. _usb-c-source-sample-requirements:
23 node that's compatible with ``usb-c-connector``.
32 .. zephyr-app-commands::
[all …]
/Zephyr-latest/dts/bindings/usb-c/
Dusb-c-connector.yaml2 # SPDX-License-Identifier: Apache-2.0
5 A USB Type-C connector node represents a physical USB Type-C connector.
6 It should be a child of a USB-C interface controller or a separate node
7 when it is attached to both MUX and USB-C interface controller.
10 …l/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/connector/usb-connector.yaml?h=v5.…
14 USB-C connector attached to a STM32 UCPD typec port controller, which has
18 compatible = "zephyr,usb-c-vbus-adc";
19 io-channels = <&adc2 8>;
20 output-ohms = <49900>;
21 full-ohms = <(330000 + 49900)>;
[all …]
/Zephyr-latest/doc/connectivity/usb/device_next/
Dusb_device.rst3 New USB device support
9 USB device support consists of the USB device controller (UDC) drivers
10 , :ref:`udc_api`, and USB device stack, :ref:`usbd_api`.
11 The :ref:`udc_api` provides a generic and vendor independent interface to USB
13 layers, the purpose of :ref:`udc_api` is to serve new Zephyr's USB device stack
18 high-speed device controllers are supported. It also provides support for
20 or changing the configuration later. It has built-in support for several USB
21 classes and provides an API to implement custom USB functions.
23 The new USB device support is considered experimental and will replace
29 * :zephyr:code-sample:`usb-hid-keyboard`
[all …]
/Zephyr-latest/doc/hardware/peripherals/
Dtcpc.rst3 USB Type-C Port Controller (TCPC)
9 `TCPC <tcpc-specification_>`_ (USB Type-C Port Controller)
10 The TCPC is a device used to simplify the implementation of a USB-C system
13 * VBUS and VCONN control `USB Type-C <usb-type-c-specification_>`_:
19 The TCPC implements logic for controlling the CC pin pull-up and pull-down
23 * Power Delivery message reception and transmission `USB Power Delivery <usb-pd-specification_>`_:
27 .. _tcpc-api:
50 .. _tcpc-specification:
51 https://www.usb.org/document-library/usb-type-cr-port-controller-interface-specification
53 .. _usb-type-c-specification:
[all …]
Dusbc_vbus.rst3 USB-C VBUS
9 USB-C VBUS is the line in a USB Type-C connection that delivers power from a
12 .. _usbc-vbus-api:
14 USB-C VBUS API
17 The USB-C VBUS device driver presents an API that's used to control and measure
/Zephyr-latest/samples/subsys/usb/common/
DKconfig.sample_usbd1 # Copyright (c) 2023 Nordic Semiconductor ASA
2 # SPDX-License-Identifier: Apache-2.0
4 # This file contains Kconfig options and defaults for configuring USB devices
5 # using the new experimental USB device support. The scope of these options is
6 # limited to USB samples in project tree, you cannot use them in your own
9 menu "USB sample options"
13 string "USB device sample manufacturer string"
16 USB device sample manufacturer string.
19 string "USB device sample product string"
22 USB device sample product stringa.
[all …]
Dsample_usbd.h2 * Copyright (c) 2023 Nordic Semiconductor ASA.
4 * SPDX-License-Identifier: Apache-2.0
11 #include <zephyr/usb/usbd.h>
14 * The scope of this header is limited to use in USB samples together with the
15 * new experimental USB device stack, you should not use it in your own
21 * USB device. It configures sample's device context, default string descriptors,
22 * USB device configuration, registers any available class instances, and
23 * finally initializes USB device. It is limited to a single device with a
24 * single configuration instantiated in sample_usbd_init.c, which should be
25 * enough for a simple USB device sample.
[all …]
/Zephyr-latest/subsys/usb/device/class/
DKconfig1 # USB class drivers configuration options
3 # Copyright (c) 2016 Wind River Systems, Inc.
4 # SPDX-License-Identifier: Apache-2.0
6 source "subsys/usb/device/class/Kconfig.cdc"
8 source "subsys/usb/device/class/Kconfig.msc"
10 source "subsys/usb/device/class/Kconfig.bt"
12 source "subsys/usb/device/class/Kconfig.test"
14 source "subsys/usb/device/class/netusb/Kconfig"
16 source "subsys/usb/device/class/hid/Kconfig"
18 source "subsys/usb/device/class/audio/Kconfig"
[all …]
/Zephyr-latest/drivers/usb/
DKconfig1 # USB configuration options
3 # Copyright (c) 2016 Wind River Systems, Inc.
4 # SPDX-License-Identifier: Apache-2.0
6 source "drivers/usb/bc12/Kconfig"
7 source "drivers/usb/udc/Kconfig"
8 source "drivers/usb/uhc/Kconfig"
9 source "drivers/usb/uvb/Kconfig"
10 source "drivers/usb/device/Kconfig"
11 source "drivers/usb/common/Kconfig"
/Zephyr-latest/drivers/usb/udc/
DKconfig1 # Copyright (c) 2021-2022 Nordic Semiconductor ASA
2 # SPDX-License-Identifier: Apache-2.0
6 bool "USB device controller drivers [EXPERIMENTAL]"
10 USB device controller driver.
54 module-str = usb drv
57 source "drivers/usb/udc/Kconfig.dwc2"
58 source "drivers/usb/udc/Kconfig.nrf"
59 source "drivers/usb/udc/Kconfig.kinetis"
60 source "drivers/usb/udc/Kconfig.skeleton"
61 source "drivers/usb/udc/Kconfig.virtual"
[all …]
/Zephyr-latest/subsys/usb/device_next/
DKconfig1 # Copyright (c) 2022 Nordic Semiconductor ASA
3 # SPDX-License-Identifier: Apache-2.0
6 bool "New USB device stack [EXPERIMENTAL]"
11 New experimental USB device stack.
16 module-str = usbd
20 bool "USB device shell"
23 Enable USB device shell.
29 USB device thread initialization priority level.
32 int "USB device stack thread stack size"
35 USB device stack thread stack size in bytes.
[all …]
/Zephyr-latest/drivers/usb_c/vbus/
DKconfig1 # USB-C VBUS Measurement configuration options
4 # SPDX-License-Identifier: Apache-2.0
7 bool "USB-C VBUS drivers"
9 Enable USB-C drivers
14 int "USB-C VBUS driver init priority"
17 Initialization priority of the USB-C VBUS measurement drivers in POST_KERNEL.
26 module-str = usbc
/Zephyr-latest/subsys/usb/host/
DKconfig1 # Copyright (c) 2022 Nordic Semiconductor ASA
3 # SPDX-License-Identifier: Apache-2.0
6 bool "USB host stack [EXPERIMENTAL]"
10 New experimental USB host stack.
15 module-str = usbh
19 bool "USB host shell"
22 Shell commands for USB host support.
28 USB host thread initialization priority level.
31 int "USB host stack thread stack size"
34 USB host stack thread stack size in bytes.
[all …]
/Zephyr-latest/samples/subsys/usb/testusb/
DREADME.rst1 .. zephyr:code-sample:: testusb-app
2 :name: USB testing application
3 :relevant-api: _usb_device_core_api
5 Test USB device drivers using a loopback function.
8 to test USB device drivers and the device stack connected to a Linux host
20 To run USB tests:
24 .. code-block:: console
30 .. code-block:: console
32 [21746.128743] usb 9-1: new full-speed USB device number 16 using uhci_hcd
33 [21746.303051] usb 9-1: New USB device found, idVendor=2fe3, idProduct=0009, bcdDevice= 2.03
[all …]
/Zephyr-latest/drivers/usb/device/
DKconfig1 # USB device configuration options
3 # Copyright (c) 2016 Wind River Systems, Inc.
4 # SPDX-License-Identifier: Apache-2.0
7 bool "USB device controller drivers"
9 Enable USB device controller drivers.
14 bool "USB device controller supports high speed"
16 USB device controller supports high speed.
21 USB device controller supports remote wakeup feature.
24 bool "Designware USB Device Controller Driver"
28 Designware USB Device Controller Driver.
[all …]
/Zephyr-latest/subsys/usb/device/class/hid/
DKconfig1 # USB HID configuration options
3 # Copyright (c) 2018 Intel Corp.
4 # SPDX-License-Identifier: Apache-2.0
7 bool "USB Human Interface Device support"
9 Enables USB Human Interface Device support. Default device name
15 string "USB HID device name template"
22 default-count = 1
23 source "subsys/usb/device/class/Kconfig.template.composite_device_number"
26 module-str = usb hid
30 bool "USB HID Device Interrupt OUT Endpoint"
[all …]
/Zephyr-latest/dts/bindings/usb/
Dst,stm32-usb.yaml1 # Copyright (c) 2017, I-SENSE group of ICCS
2 # SPDX-License-Identifier: Apache-2.0
4 description: STM32 USB controller
6 compatible: "st,stm32-usb"
8 include: [usb-ep.yaml, pinctrl-device.yaml]
17 ram-size:
21 Size of USB dedicated RAM. STM32 SOC's reference
22 manual defines USB packet SRAM size.
24 disconnect-gpios:
25 type: phandle-array
[all …]
/Zephyr-latest/include/zephyr/usb/
Dusbh.h2 * Copyright (c) 2022 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
9 * @brief New experimental USB device stack APIs and structures
11 * This file contains the USB device stack APIs and structures.
21 #include <zephyr/drivers/usb/uhc.h>
25 extern "C" {
29 * @brief USB HOST Core Layer API
30 * @defgroup usb_host_core_api USB Host Core API
31 * @ingroup usb
36 * USB host support runtime context
[all …]
/Zephyr-latest/include/zephyr/usb/class/
Dusb_hid.h2 * Copyright (c) 2018 Intel Corporation
3 * Copyright (c) 2018,2021 Nordic Semiconductor ASA
5 * SPDX-License-Identifier: Apache-2.0
10 * @brief USB HID Class device API header
16 #include <zephyr/usb/class/hid.h>
17 #include <zephyr/usb/usb_ch9.h>
20 extern "C" {
25 * @defgroup usb_hid_class USB HID class API
26 * @ingroup usb
33 * @defgroup usb_hid_device_api HID class USB specific definitions
[all …]
/Zephyr-latest/subsys/usb/device/
DKconfig1 # USB device stack configuration options
3 # Copyright (c) 2016 Wind River Systems, Inc.
4 # SPDX-License-Identifier: Apache-2.0
7 bool "USB Device Support"
11 Enable USB device stack.
16 module-str = usb device
20 hex "USB Vendor ID"
23 USB device vendor ID. MUST be configured by vendor.
26 hex "USB Product ID"
29 USB device product ID. MUST be configured by vendor.
[all …]
/Zephyr-latest/dts/arm/st/u5/
Dstm32u545.dtsi2 * Copyright (c) 2024 Opito
4 * SPDX-License-Identifier: Apache-2.0
12 /* USB-C PD is not available on this part. */
13 /delete-node/ ucpd@4000dc00;
15 compatible = "st,stm32u545", "st,stm32u5", "simple-bus";
17 usb: usb@40006000 { label
18 compatible = "st,stm32-usb";
21 interrupt-names = "usb";
22 num-bidir-endpoints = <8>;
23 ram-size = <1024>;
[all …]
/Zephyr-latest/subsys/usb/device/class/netusb/
DKconfig3 # Copyright (c) 2017 Intel Corp.
4 # SPDX-License-Identifier: Apache-2.0
6 menu "USB Device Networking support"
13 bool "USB Ethernet Control Model (ECM) Networking device"
18 Class (CDC) USB protocol specified by USB-IF.
21 bool "USB Ethernet Emulation Model (EEM) Networking device"
25 Class (CDC) USB protocol and can be used to encapsulate Ethernet
26 frames for transport over USB.
29 bool "USB Remote NDIS (RNDIS) Networking device"
52 string "USB ECM Host OS MAC Address"
[all …]
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
6 # USB headers
7 ${ZEPHYR_BASE}/include/zephyr/drivers/usb
8 ${ZEPHYR_BASE}/include/zephyr/usb/
9 ${ZEPHYR_BASE}/subsys/usb/device
17 netusb.c
22 function_ecm.c
27 function_rndis.c
32 function_eem.c

12345678910>>...35