OpenEFI  v2
USBD_CDC_IF_Exported_FunctionsPrototype

Public functions declaration. More...

Functions

uint8_t CDC_Transmit_FS (uint8_t *Buf, uint16_t Len)
 CDC_Transmit_FS Data to send over USB IN endpoint are sent over CDC interface through this function. More...
 
uint8_t CDC_ReadRxBuffer_FS (uint8_t *Buf, uint16_t Len)
 
uint8_t CDC_PeekRxBuffer_FS (uint8_t *Buf, uint16_t Len)
 
uint16_t CDC_GetRxBufferBytesAvailable_FS ()
 
void CDC_FlushRxBuffer_FS ()
 

Detailed Description

Public functions declaration.

Function Documentation

◆ CDC_Transmit_FS()

uint8_t CDC_Transmit_FS ( uint8_t *  Buf,
uint16_t  Len 
)

CDC_Transmit_FS Data to send over USB IN endpoint are sent over CDC interface through this function.

Note
Parameters
BufBuffer of data to be sent
LenNumber of data to be sent (in bytes)
Return values
USBD_OKif all operations are OK else USBD_FAIL or USBD_BUSY