rt-thread/bsp/cypress/libraries/IFX_PSOC6_HAL/mtb_shared/usbdev
Rbb666 9a8249bbba
【BSP】CY8CKIT-062S2-43012 (#6237)
英飞凌 CY8CKIT-062S2-43012 BSP
2022-08-09 12:36:36 -04:00
..
.gitignore 【BSP】CY8CKIT-062S2-43012 (#6237) 2022-08-09 12:36:36 -04:00
.mbedignore 【BSP】CY8CKIT-062S2-43012 (#6237) 2022-08-09 12:36:36 -04:00
LICENSE.txt 【BSP】CY8CKIT-062S2-43012 (#6237) 2022-08-09 12:36:36 -04:00
README.md 【BSP】CY8CKIT-062S2-43012 (#6237) 2022-08-09 12:36:36 -04:00
RELEASE.md 【BSP】CY8CKIT-062S2-43012 (#6237) 2022-08-09 12:36:36 -04:00
cy_usb_dev.c 【BSP】CY8CKIT-062S2-43012 (#6237) 2022-08-09 12:36:36 -04:00
cy_usb_dev.h 【BSP】CY8CKIT-062S2-43012 (#6237) 2022-08-09 12:36:36 -04:00
cy_usb_dev_audio.c 【BSP】CY8CKIT-062S2-43012 (#6237) 2022-08-09 12:36:36 -04:00
cy_usb_dev_audio.h 【BSP】CY8CKIT-062S2-43012 (#6237) 2022-08-09 12:36:36 -04:00
cy_usb_dev_audio_descr.h 【BSP】CY8CKIT-062S2-43012 (#6237) 2022-08-09 12:36:36 -04:00
cy_usb_dev_cdc.c 【BSP】CY8CKIT-062S2-43012 (#6237) 2022-08-09 12:36:36 -04:00
cy_usb_dev_cdc.h 【BSP】CY8CKIT-062S2-43012 (#6237) 2022-08-09 12:36:36 -04:00
cy_usb_dev_cdc_descr.h 【BSP】CY8CKIT-062S2-43012 (#6237) 2022-08-09 12:36:36 -04:00
cy_usb_dev_descr.h 【BSP】CY8CKIT-062S2-43012 (#6237) 2022-08-09 12:36:36 -04:00
cy_usb_dev_hid.c 【BSP】CY8CKIT-062S2-43012 (#6237) 2022-08-09 12:36:36 -04:00
cy_usb_dev_hid.h 【BSP】CY8CKIT-062S2-43012 (#6237) 2022-08-09 12:36:36 -04:00
cy_usb_dev_hid_descr.h 【BSP】CY8CKIT-062S2-43012 (#6237) 2022-08-09 12:36:36 -04: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.