eed673ca6c | ||
---|---|---|
.. | ||
.gitignore | ||
.mbedignore | ||
LICENSE.txt | ||
README.md | ||
RELEASE.md | ||
cy_usb_dev.c | ||
cy_usb_dev.h | ||
cy_usb_dev_audio.c | ||
cy_usb_dev_audio.h | ||
cy_usb_dev_audio_descr.h | ||
cy_usb_dev_cdc.c | ||
cy_usb_dev_cdc.h | ||
cy_usb_dev_cdc_descr.h | ||
cy_usb_dev_descr.h | ||
cy_usb_dev_hid.c | ||
cy_usb_dev_hid.h | ||
cy_usb_dev_hid_descr.h |
README.md
USB Device Middleware Library
Overview
The USB Device middleware provides a full-speed USB 2.0 Chapter 9 specification compliant device framework. It uses the USBFS driver from CAT1A/CAT2 Peripheral Driver Library to interface with the hardware. The middleware provides support for Audio, CDC, HID and Vendor classes. It also enables implementing support for other classes. The USB Configurator tool makes it easy to construct a USB Device descriptor.
Features
- USB Full-Speed Device Framework
- USB Device Configurator
- The following USB Classes are supported:
- Audio Class
- CDC: Communication Device Class
- HID: Human Interface Device
- Adding Custom Class Support
- Vendor-Specific Requests Support
- Power Status Reporting for Self-Powered Devices
- Blocking API Timeout Function Redefinition
- Compliance with MISRA-C:2012 coding standard
USB Device Specific Instructions
The user must ensure that the parameters selected in the USB Device personality are aligned with the descriptor configuration in the USB Configurator, because there is no connection between the USB Device personality in the Device Configurator and USB Configurator.
Specifically, parameter "Endpoints Mask" in the USB personality must be aligned with the endpoints selected in the USB Configurator. If DMA Automatic mode is selected, parameter "Endpoint Buffer Size" must be aligned with the total size of the endpoint buffers allocated in the USB Configurator.
Quick Start
Configure the USB Device using the ModusToolbox™ USB Device personality and USB Device Configurator. Refer to the API Reference Quick Start Guide
More information
The following links provide more information:
- USB Device Middleware Library Release Notes
- USB Device Middleware Library API Reference
- CAT1 Peripheral Driver Library API Reference
- CAT2 Peripheral Driver Library API Reference
- ModusToolbox™ Software Environment, Quick Start Guide, Documentation, and Videos
- PSoC™ 6 SDK Examples
- ModusToolbox™ USB Configurator Tool Guide
- ModusToolbox™ Device Configurator Tool Guide
- PSoC™ 6 WiFi-BT Pioneer Kit
- PSoC™ 6 Wi-Fi BT Prototyping Kit
- PSoC™ 6 MCU Datasheets
- PSoC™ 6 MCU Application Notes
- PSoC™ 6 MCU Technical Reference Manuals
- PMG1-S2 Prototyping Kit
- PMG1-S3 Prototyping Kit
- PMG1 Datasheets
- CYPRESS™ Semiconductor
© 2019-2021, CYPRESS™ Semiconductor Corporation (an Infineon company) or an affiliate of CYPRESS™ Semiconductor Corporation.