@@ -8,13 +8,11 @@ class USBDevice -- USB Device driver
8
8
ports.
9
9
10
10
USBDevice provides a low-level Python API for implementing USB device functions using
11
- Python code. This low-level API assumes familiarity with the USB standard. It's
12
- not recommended to use this API directly, instead install the high-level usbd
13
- module from micropython-lib.
11
+ Python code.
14
12
15
- .. warning :: This functionality is very new and the high-level usbd module is
16
- not yet merged into micropython-lib. It can be found ` here on
17
- GitHub <https://github.com/micropython/micropython-lib/pull/558> `_ .
13
+ .. warning :: This low-level API assumes familiarity with the USB standard. There
14
+ are high-level ` usb driver modules in micropython-lib`_ which provide a
15
+ simpler interface and more built-in functionality .
18
16
19
17
Terminology
20
18
-----------
@@ -186,7 +184,7 @@ Methods
186
184
necessary if the runtime device configuration has changed, so that
187
185
the host sees the new device.
188
186
189
- .. attribute :: USDBD .builtin_driver
187
+ .. attribute :: USBDevice .builtin_driver
190
188
191
189
This attribute holds the current built-in driver configuration, and must be
192
190
set to one of the ``USBDevice.BUILTIN_ `` named constants defined on this object.
@@ -294,3 +292,5 @@ Constants
294
292
descriptor.
295
293
- ``desc_cfg `` - ``bytes `` object containing the complete built-in USB
296
294
configuration descriptor.
295
+
296
+ .. _usb driver modules in micropython-lib : https://github.com/micropython/micropython-lib/tree/master/micropython/usb#readme
0 commit comments