Usb VCP device module.
More...
|
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 () |
|
Usb VCP device module.
◆ 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
-
Buf | Buffer of data to be sent |
Len | Number of data to be sent (in bytes) |
- Return values
-
USBD_OK | if all operations are OK else USBD_FAIL or USBD_BUSY |
◆ USBD_Interface_fops_FS
USBD_CDC_ItfTypeDef USBD_Interface_fops_FS |
Initial value:=
{
CDC_Init_FS,
CDC_DeInit_FS,
CDC_Control_FS,
CDC_Receive_FS,
CDC_TransmitCplt_FS}
CDC Interface callback.