Skip to content
Permalink
Browse files

doc: usb: Remove old API documentation

Fix documentation build removing old API tags.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
  • Loading branch information...
finikorg authored and nashif committed May 7, 2019
1 parent 3f13079 commit 4d2b7f613f47dfe3fed7919180b619ce74880697
Showing with 1 addition and 16 deletions.
  1. +1 −16 doc/reference/usb/index.rst
@@ -95,22 +95,7 @@ USB Device configuration structure:
:end-before: usb.rst device config data end
:linenos:

For the Composite USB Device configuration is done by composite layer,
otherwise:

.. literalinclude:: ../../../subsys/usb/class/loopback.c
:language: c
:start-after: usb.rst configure USB controller start
:end-before: usb.rst configure USB controller end
:linenos:

To enable the USB device for host/device connection:

.. literalinclude:: ../../../subsys/usb/class/loopback.c
:language: c
:start-after: usb.rst enable USB controller start
:end-before: usb.rst enable USB controller end
:linenos:
Configuration of USB Device is done in the stack layer.

The vendor device requests are forwarded by the USB stack core driver to the
class driver through the registered class handler.

0 comments on commit 4d2b7f6

Please sign in to comment.
You can’t perform that action at this time.