![]() |
STM32F769IDiscovery
1.00
uDANTE Audio Networking with STM32F7 DISCO board
|
This file provides the high layer firmware functions to manage the following functionalities of the USB CDC Class: More...
Go to the source code of this file.
Functions | |
uint8_t * | USBD_CDC_GetDeviceQualifierDescriptor (uint16_t *length) |
DeviceQualifierDescriptor return Device Qualifier descriptor. More... | |
uint8_t | USBD_CDC_RegisterInterface (USBD_HandleTypeDef *pdev, USBD_CDC_ItfTypeDef *fops) |
USBD_CDC_RegisterInterface. More... | |
uint8_t | USBD_CDC_SetTxBuffer (USBD_HandleTypeDef *pdev, uint8_t *pbuff, uint16_t length) |
USBD_CDC_SetTxBuffer. More... | |
uint8_t | USBD_CDC_SetRxBuffer (USBD_HandleTypeDef *pdev, uint8_t *pbuff) |
USBD_CDC_SetRxBuffer. More... | |
uint8_t | USBD_CDC_TransmitPacket (USBD_HandleTypeDef *pdev) |
USBD_CDC_DataOut Data received on non-control Out endpoint. More... | |
uint8_t | USBD_CDC_ReceivePacket (USBD_HandleTypeDef *pdev) |
USBD_CDC_ReceivePacket prepare OUT Endpoint for reception. More... | |
Variables | |
USBD_ClassTypeDef | USBD_CDC |
This file provides the high layer firmware functions to manage the following functionalities of the USB CDC Class:
* * =================================================================== * CDC Class Driver Description * =================================================================== * This driver manages the "Universal Serial Bus Class Definitions for Communications Devices * Revision 1.2 November 16, 2007" and the sub-protocol specification of "Universal Serial Bus * Communications Class Subclass Specification for PSTN Devices Revision 1.2 February 9, 2007" * This driver implements the following aspects of the specification: * - Device descriptor management * - Configuration descriptor management * - Enumeration as CDC device with 2 data endpoints (IN and OUT) and 1 command endpoint (IN) * - Requests management (as described in section 6.2 in specification) * - Abstract Control Model compliant * - Union Functional collection (using 1 IN endpoint for control) * - Data interface class * * These aspects may be enriched or modified for a specific user application. * * This driver doesn't implement the following aspects of the specification * (but it is possible to manage these features with some modifications on this driver): * - Any class-specific aspect relative to communication classes should be managed by user application. * - All communication classes other than PSTN are not managed * *
Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:
http://www.st.com/software_license_agreement_liberty_v2
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file usbd_cdc.c.