diff options
author | Joey Castillo <joeycastillo@utexas.edu> | 2021-12-10 12:17:47 -0500 |
---|---|---|
committer | Joey Castillo <joeycastillo@utexas.edu> | 2021-12-10 12:17:47 -0500 |
commit | 1ea5581e55cc7bfd90a02a55146fca942ccfb2fc (patch) | |
tree | cb286e2e8a1e83f95d8ea392ffb8da35bafe7bed /tinyusb/docs/reference/index.rst | |
parent | e202c48b0a1a9838e91d020ca2b71214119b3c3d (diff) | |
parent | 762af872d2f2c977e51d6e51b8c3ad622485cc05 (diff) | |
download | Sensor-Watch-1ea5581e55cc7bfd90a02a55146fca942ccfb2fc.tar.gz Sensor-Watch-1ea5581e55cc7bfd90a02a55146fca942ccfb2fc.tar.bz2 Sensor-Watch-1ea5581e55cc7bfd90a02a55146fca942ccfb2fc.zip |
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into pr/24
Diffstat (limited to 'tinyusb/docs/reference/index.rst')
m--------- | tinyusb | 0 | ||||
-rwxr-xr-x | tinyusb/docs/reference/index.rst | 59 |
2 files changed, 0 insertions, 59 deletions
diff --git a/tinyusb b/tinyusb new file mode 160000 +Subproject f8288be03f28ad7b944e6925f49422dfa39202c diff --git a/tinyusb/docs/reference/index.rst b/tinyusb/docs/reference/index.rst deleted file mode 100755 index fcff0359..00000000 --- a/tinyusb/docs/reference/index.rst +++ /dev/null @@ -1,59 +0,0 @@ -********* -Reference -********* - -.. figure:: ../assets/stack.svg - :width: 1600px - :alt: stackup - - representation of the TinyUSB stack. - -Device Stack -============ - -Supports multiple device configurations by dynamically changing usb descriptors. Low power functions such like suspend, resume, and remote wakeup. Following device classes are supported: - -- Audio Class 2.0 (UAC2) -- Bluetooth Host Controller Interface (BTH HCI) -- Communication Class (CDC) -- Device Firmware Update (DFU): DFU mode (WIP) and Runtinme -- Human Interface Device (HID): Generic (In & Out), Keyboard, Mouse, Gamepad etc ... -- Mass Storage Class (MSC): with multiple LUNs -- Musical Instrument Digital Interface (MIDI) -- Network with RNDIS, CDC-ECM (work in progress) -- USB Test and Measurement Class (USBTMC) -- Vendor-specific class support with generic In & Out endpoints. Can be used with MS OS 2.0 compatible descriptor to load winUSB driver without INF file. -- `WebUSB <https://github.com/WICG/webusb>`__ with vendor-specific class - -If you have special need, `usbd_app_driver_get_cb()` can be used to write your own class driver without modifying the stack. Here is how RPi team add their reset interface [raspberrypi/pico-sdk#197](https://github.com/raspberrypi/pico-sdk/pull/197) - -Host Stack -========== - -- Human Interface Device (HID): Keyboard, Mouse, Generic -- Mass Storage Class (MSC) -- Hub currently only supports 1 level of hub (due to my laziness) - -OS Abstraction layer -==================== - -TinyUSB is completely thread-safe by pushing all ISR events into a central queue, then process it later in the non-ISR context task function. It also uses semaphore/mutex to access shared resources such as CDC FIFO. Therefore the stack needs to use some of OS's basic APIs. Following OSes are already supported out of the box. - -- **No OS** -- **FreeRTOS** -- **Mynewt** Due to the newt package build system, Mynewt examples are better to be on its [own repo](https://github.com/hathach/mynewt-tinyusb-example) - -License -======= - -All TinyUSB sources in the `src` folder are licensed under MIT license. However, each file can be individually licensed especially those in `lib` and `hw/mcu` folder. Please make sure you understand all the license term for files you use in your project. - -Index -===== - -.. toctree:: - :maxdepth: 2 - - supported - getting_started - concurrency |