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.
Dependents: ton_demo ton_template
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_audio_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_audio_DataIn Data sent on non-control IN endpoint
- Parameters:
-
pdev,: device instance epnum,: endpoint number
- Return values:
-
status
Definition at line 650 of file usbd_cdc.c.
| 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 674 of file usbd_cdc.c.
| 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 563 of file usbd_cdc.c.
| 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 704 of file usbd_cdc.c.
| 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 764 of file usbd_cdc.c.
| 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 726 of file usbd_cdc.c.
| 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 739 of file usbd_cdc.c.
| 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 752 of file usbd_cdc.c.
| 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 475 of file usbd_cdc.c.
| 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 869 of file usbd_cdc.c.
| 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 776 of file usbd_cdc.c.
| 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 815 of file usbd_cdc.c.
| 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 796 of file usbd_cdc.c.
| 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 599 of file usbd_cdc.c.
| 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 832 of file usbd_cdc.c.
Generated on Tue Jul 12 2022 20:52:33 by
1.7.2