Kleber Silva / IOTON-API

Dependents:   ton_demo ton_template

Embed: (wiki syntax)

« Back to documentation index

usbd_cdc_if_template.c File Reference

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.
static int8_t TEMPLATE_DeInit (void)
 TEMPLATE_DeInit DeInitializes the CDC media low layer.
static int8_t TEMPLATE_Control (uint8_t cmd, uint8_t *pbuf, uint16_t length)
 TEMPLATE_Control Manage the CDC class requests.
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.
int VCP_read (void *pBuffer, int size)
 Fun��o de leitura da Virtual COM Port.
int VCP_write (const void *pBuffer, int size)
 Fun��o de escrita na Virtual COM Port.

Detailed Description

Generic media access Layer.

Author:
MCD Application Team
Version:
V2.3.0
Date:
04-November-2014
Attention:

© COPYRIGHT 2014 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.

Remarks:
Fun��es TEMPLATE_Init e TEMPLATE_Receive modificadas; Fun��es VCP_read e VCP_write criadas por Kleber Lima da Silva (kleber.ufu@hotmail.com) em 26-Abril-2015

Definition in file usbd_cdc_if_template.c.