rt-thread-official/bsp/Infineon/libraries/IFX_PSOC6_HAL/mtb_shared/usbdev
Rbb666 eed673ca6c Add Infineon BSP production document 2022-12-07 16:01:00 +08:00
..
.gitignore Add Infineon BSP production document 2022-12-07 16:01:00 +08:00
.mbedignore Add Infineon BSP production document 2022-12-07 16:01:00 +08:00
LICENSE.txt Add Infineon BSP production document 2022-12-07 16:01:00 +08:00
README.md Add Infineon BSP production document 2022-12-07 16:01:00 +08:00
RELEASE.md Add Infineon BSP production document 2022-12-07 16:01:00 +08:00
cy_usb_dev.c Add Infineon BSP production document 2022-12-07 16:01:00 +08:00
cy_usb_dev.h Add Infineon BSP production document 2022-12-07 16:01:00 +08:00
cy_usb_dev_audio.c Add Infineon BSP production document 2022-12-07 16:01:00 +08:00
cy_usb_dev_audio.h Add Infineon BSP production document 2022-12-07 16:01:00 +08:00
cy_usb_dev_audio_descr.h Add Infineon BSP production document 2022-12-07 16:01:00 +08:00
cy_usb_dev_cdc.c Add Infineon BSP production document 2022-12-07 16:01:00 +08:00
cy_usb_dev_cdc.h Add Infineon BSP production document 2022-12-07 16:01:00 +08:00
cy_usb_dev_cdc_descr.h Add Infineon BSP production document 2022-12-07 16:01:00 +08:00
cy_usb_dev_descr.h Add Infineon BSP production document 2022-12-07 16:01:00 +08:00
cy_usb_dev_hid.c Add Infineon BSP production document 2022-12-07 16:01:00 +08:00
cy_usb_dev_hid.h Add Infineon BSP production document 2022-12-07 16:01:00 +08:00
cy_usb_dev_hid_descr.h Add Infineon BSP production document 2022-12-07 16:01:00 +08:00

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:


© 2019-2021, CYPRESS™ Semiconductor Corporation (an Infineon company) or an affiliate of CYPRESS™ Semiconductor Corporation.