STSW-STLKT01: Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc_if_template.c File Reference

STSW-STLKT01

usbd_cdc_if_template.c File Reference

Generic media access Layer. More...

Go to the source code of this file.

Functions

static int8_t TEMPLATE_Init (void)
 TEMPLATE_Init Initializes the CDC media low layer. More...
 
static int8_t TEMPLATE_DeInit (void)
 TEMPLATE_DeInit DeInitializes the CDC media low layer. More...
 
static int8_t TEMPLATE_Control (uint8_t cmd, uint8_t *pbuf, uint16_t length)
 TEMPLATE_Control Manage the CDC class requests. More...
 
static int8_t TEMPLATE_Receive (uint8_t *Buf, uint32_t *Len)
 TEMPLATE_Receive Data received over USB OUT endpoint are sent over CDC interface through this function. More...
 

Variables

USBD_CDC_ItfTypeDef USBD_CDC_Template_fops
 
USBD_CDC_LineCodingTypeDef linecoding
 

Detailed Description

Generic media access Layer.

Author
MCD Application Team
Version
V2.4.2
Date
11-December-2015
Attention

© COPYRIGHT 2015 STMicroelectronics

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_if_template.c.

Generated by   doxygen 1.8.13