Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Functions | |
uint8_t | USBD_CDC_RegisterInterface (USBD_HandleTypeDef *pdev, USBD_CDC_ItfTypeDef *fops) |
USBD_CDC_RegisterInterface. | |
uint8_t | USBD_CDC_SetTxBuffer (USBD_HandleTypeDef *pdev, uint8_t *pbuff, uint16_t length) |
USBD_CDC_SetTxBuffer. | |
uint8_t | USBD_CDC_SetRxBuffer (USBD_HandleTypeDef *pdev, uint8_t *pbuff) |
USBD_CDC_SetRxBuffer. | |
uint8_t | USBD_CDC_TransmitPacket (USBD_HandleTypeDef *pdev) |
USBD_CDC_DataOut Data received on non-control Out endpoint. | |
uint8_t | USBD_CDC_ReceivePacket (USBD_HandleTypeDef *pdev) |
USBD_CDC_ReceivePacket prepare OUT Endpoint for reception. | |
static uint8_t | USBD_CDC_Init (USBD_HandleTypeDef *pdev, uint8_t cfgidx) |
USBD_CDC_Init Initialize the CDC interface. | |
static uint8_t | USBD_CDC_DeInit (USBD_HandleTypeDef *pdev, uint8_t cfgidx) |
USBD_CDC_Init DeInitialize the CDC layer. | |
static uint8_t | USBD_CDC_Setup (USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req) |
USBD_CDC_Setup Handle the CDC specific requests. | |
static uint8_t | USBD_CDC_DataIn (USBD_HandleTypeDef *pdev, uint8_t epnum) |
USBD_CDC_DataIn Data sent on non-control IN endpoint. | |
static uint8_t | USBD_CDC_DataOut (USBD_HandleTypeDef *pdev, uint8_t epnum) |
USBD_CDC_DataOut Data received on non-control Out endpoint. | |
static uint8_t | USBD_CDC_EP0_RxReady (USBD_HandleTypeDef *pdev) |
USBD_CDC_DataOut Data received on non-control Out endpoint. | |
static uint8_t * | USBD_CDC_GetFSCfgDesc (uint16_t *length) |
USBD_CDC_GetFSCfgDesc Return configuration descriptor. | |
static uint8_t * | USBD_CDC_GetHSCfgDesc (uint16_t *length) |
USBD_CDC_GetHSCfgDesc Return configuration descriptor. | |
static uint8_t * | USBD_CDC_GetOtherSpeedCfgDesc (uint16_t *length) |
USBD_CDC_GetCfgDesc Return configuration descriptor. | |
uint8_t * | USBD_CDC_GetDeviceQualifierDescriptor (uint16_t *length) |
DeviceQualifierDescriptor return Device Qualifier descriptor. |
Function Documentation
static uint8_t USBD_CDC_DataIn | ( | USBD_HandleTypeDef * | pdev, |
uint8_t | epnum | ||
) | [static] |
USBD_CDC_DataIn Data sent on non-control IN endpoint.
- Parameters:
-
pdev,: device instance epnum,: endpoint number
- Return values:
-
status
Definition at line 665 of file usbd_cdc.cpp.
static uint8_t USBD_CDC_DataOut | ( | USBD_HandleTypeDef * | pdev, |
uint8_t | epnum | ||
) | [static] |
USBD_CDC_DataOut Data received on non-control Out endpoint.
- Parameters:
-
pdev,: device instance epnum,: endpoint number
- Return values:
-
status
Definition at line 689 of file usbd_cdc.cpp.
static uint8_t USBD_CDC_DeInit | ( | USBD_HandleTypeDef * | pdev, |
uint8_t | cfgidx | ||
) | [static] |
USBD_CDC_Init DeInitialize the CDC layer.
- Parameters:
-
pdev,: device instance cfgidx,: Configuration index
- Return values:
-
status
Definition at line 564 of file usbd_cdc.cpp.
static uint8_t USBD_CDC_EP0_RxReady | ( | USBD_HandleTypeDef * | pdev ) | [static] |
USBD_CDC_DataOut Data received on non-control Out endpoint.
- Parameters:
-
pdev,: device instance epnum,: endpoint number
- Return values:
-
status
Definition at line 719 of file usbd_cdc.cpp.
uint8_t * USBD_CDC_GetDeviceQualifierDescriptor | ( | uint16_t * | length ) |
DeviceQualifierDescriptor return Device Qualifier descriptor.
- Parameters:
-
length : pointer data length
- Return values:
-
pointer to descriptor buffer
Definition at line 779 of file usbd_cdc.cpp.
static uint8_t * USBD_CDC_GetFSCfgDesc | ( | uint16_t * | length ) | [static] |
USBD_CDC_GetFSCfgDesc Return configuration descriptor.
- Parameters:
-
speed : current device speed length : pointer data length
- Return values:
-
pointer to descriptor buffer
Definition at line 741 of file usbd_cdc.cpp.
static uint8_t * USBD_CDC_GetHSCfgDesc | ( | uint16_t * | length ) | [static] |
USBD_CDC_GetHSCfgDesc Return configuration descriptor.
- Parameters:
-
speed : current device speed length : pointer data length
- Return values:
-
pointer to descriptor buffer
Definition at line 754 of file usbd_cdc.cpp.
static uint8_t * USBD_CDC_GetOtherSpeedCfgDesc | ( | uint16_t * | length ) | [static] |
USBD_CDC_GetCfgDesc Return configuration descriptor.
- Parameters:
-
speed : current device speed length : pointer data length
- Return values:
-
pointer to descriptor buffer
Definition at line 767 of file usbd_cdc.cpp.
static uint8_t USBD_CDC_Init | ( | USBD_HandleTypeDef * | pdev, |
uint8_t | cfgidx | ||
) | [static] |
USBD_CDC_Init Initialize the CDC interface.
- Parameters:
-
pdev,: device instance cfgidx,: Configuration index
- Return values:
-
status
Definition at line 476 of file usbd_cdc.cpp.
uint8_t USBD_CDC_ReceivePacket | ( | USBD_HandleTypeDef * | pdev ) |
USBD_CDC_ReceivePacket prepare OUT Endpoint for reception.
- Parameters:
-
pdev,: device instance
- Return values:
-
status
Definition at line 885 of file usbd_cdc.cpp.
uint8_t USBD_CDC_RegisterInterface | ( | USBD_HandleTypeDef * | pdev, |
USBD_CDC_ItfTypeDef * | fops | ||
) |
USBD_CDC_RegisterInterface.
- Parameters:
-
pdev,: device instance fops,: CD Interface callback
- Return values:
-
status
Definition at line 791 of file usbd_cdc.cpp.
uint8_t USBD_CDC_SetRxBuffer | ( | USBD_HandleTypeDef * | pdev, |
uint8_t * | pbuff | ||
) |
USBD_CDC_SetRxBuffer.
- Parameters:
-
pdev,: device instance pbuff,: Rx Buffer
- Return values:
-
status
Definition at line 830 of file usbd_cdc.cpp.
uint8_t USBD_CDC_SetTxBuffer | ( | USBD_HandleTypeDef * | pdev, |
uint8_t * | pbuff, | ||
uint16_t | length | ||
) |
USBD_CDC_SetTxBuffer.
- Parameters:
-
pdev,: device instance pbuff,: Tx Buffer
- Return values:
-
status
Definition at line 811 of file usbd_cdc.cpp.
static uint8_t USBD_CDC_Setup | ( | USBD_HandleTypeDef * | pdev, |
USBD_SetupReqTypedef * | req | ||
) | [static] |
USBD_CDC_Setup Handle the CDC specific requests.
- Parameters:
-
pdev,: instance req,: usb requests
- Return values:
-
status
Definition at line 600 of file usbd_cdc.cpp.
uint8_t USBD_CDC_TransmitPacket | ( | USBD_HandleTypeDef * | pdev ) |
USBD_CDC_DataOut Data received on non-control Out endpoint.
- Parameters:
-
pdev,: device instance epnum,: endpoint number
- Return values:
-
status
Definition at line 847 of file usbd_cdc.cpp.
Generated on Tue Jul 12 2022 22:19:21 by
