![]() |
STM32F769IDiscovery
1.00
uDANTE Audio Networking with STM32F7 DISCO board
|
This file is the CDC Layer Handlers for USB Host CDC class. More...
#include "usbh_cdc.h"
Go to the source code of this file.
Macros | |
#define | USBH_CDC_BUFFER_SIZE 1024 |
Functions | |
USBH_StatusTypeDef | USBH_CDC_Stop (USBH_HandleTypeDef *phost) |
USBH_CDC_Stop Stop current CDC Transmission. More... | |
USBH_StatusTypeDef | USBH_CDC_SetLineCoding (USBH_HandleTypeDef *phost, CDC_LineCodingTypeDef *linecodin) |
This function prepares the state before issuing the class specific commands. More... | |
USBH_StatusTypeDef | USBH_CDC_GetLineCoding (USBH_HandleTypeDef *phost, CDC_LineCodingTypeDef *linecodin) |
This function prepares the state before issuing the class specific commands. More... | |
uint16_t | USBH_CDC_GetLastReceivedDataSize (USBH_HandleTypeDef *phost) |
This function return last received data size. More... | |
USBH_StatusTypeDef | USBH_CDC_Transmit (USBH_HandleTypeDef *phost, uint8_t *pbuff, uint32_t length) |
This function prepares the state before issuing the class specific commands. More... | |
USBH_StatusTypeDef | USBH_CDC_Receive (USBH_HandleTypeDef *phost, uint8_t *pbuff, uint32_t length) |
This function prepares the state before issuing the class specific commands. More... | |
__weak void | USBH_CDC_TransmitCallback (USBH_HandleTypeDef *phost) |
The function informs user that data have been received. More... | |
__weak void | USBH_CDC_ReceiveCallback (USBH_HandleTypeDef *phost) |
The function informs user that data have been sent. More... | |
__weak void | USBH_CDC_LineCodingChanged (USBH_HandleTypeDef *phost) |
The function informs user that Settings have been changed. More... | |
Variables | |
USBH_ClassTypeDef | CDC_Class |
This file is the CDC Layer Handlers for USB Host 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 * *
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 usbh_cdc.c.