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.
Dependencies: BSP_DISCO_F746NG_patch mbed-rtos mbed
USBD_AUDIO_Private_Functions
[USBD_AUDIO]
Functions | |
| void | USBD_AUDIO_Sync (USBD_HandleTypeDef *pdev, AUDIO_OffsetTypeDef offset) |
| USBD_AUDIO_SOF handle SOF event. | |
| uint8_t | USBD_AUDIO_RegisterInterface (USBD_HandleTypeDef *pdev, USBD_AUDIO_ItfTypeDef *fops) |
| USBD_AUDIO_RegisterInterface. | |
| static uint8_t | USBD_AUDIO_Init (USBD_HandleTypeDef *pdev, uint8_t cfgidx) |
| USBD_AUDIO_Init Initialize the AUDIO interface. | |
| static uint8_t | USBD_AUDIO_DeInit (USBD_HandleTypeDef *pdev, uint8_t cfgidx) |
| USBD_AUDIO_Init DeInitialize the AUDIO layer. | |
| static uint8_t | USBD_AUDIO_Setup (USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req) |
| USBD_AUDIO_Setup Handle the AUDIO specific requests. | |
| static uint8_t * | USBD_AUDIO_GetCfgDesc (uint16_t *length) |
| USBD_AUDIO_GetCfgDesc return configuration descriptor. | |
| static uint8_t | USBD_AUDIO_DataIn (USBD_HandleTypeDef *pdev, uint8_t epnum) |
| USBD_AUDIO_DataIn handle data IN Stage. | |
| static uint8_t | USBD_AUDIO_EP0_RxReady (USBD_HandleTypeDef *pdev) |
| USBD_AUDIO_EP0_RxReady handle EP0 Rx Ready event. | |
| static uint8_t | USBD_AUDIO_EP0_TxReady (USBD_HandleTypeDef *pdev) |
| USBD_AUDIO_EP0_TxReady handle EP0 TRx Ready event. | |
| static uint8_t | USBD_AUDIO_SOF (USBD_HandleTypeDef *pdev) |
| USBD_AUDIO_SOF handle SOF event. | |
| static uint8_t | USBD_AUDIO_IsoINIncomplete (USBD_HandleTypeDef *pdev, uint8_t epnum) |
| USBD_AUDIO_IsoINIncomplete handle data ISO IN Incomplete event. | |
| static uint8_t | USBD_AUDIO_IsoOutIncomplete (USBD_HandleTypeDef *pdev, uint8_t epnum) |
| USBD_AUDIO_IsoOutIncomplete handle data ISO OUT Incomplete event. | |
| static uint8_t | USBD_AUDIO_DataOut (USBD_HandleTypeDef *pdev, uint8_t epnum) |
| USBD_AUDIO_DataOut handle data OUT Stage. | |
| static void | AUDIO_REQ_GetCurrent (USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req) |
| AUDIO_Req_GetCurrent Handles the GET_CUR Audio control request. | |
| static void | AUDIO_REQ_SetCurrent (USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req) |
| AUDIO_Req_SetCurrent Handles the SET_CUR Audio control request. | |
| static uint8_t * | USBD_AUDIO_GetDeviceQualifierDesc (uint16_t *length) |
| DeviceQualifierDescriptor return Device Qualifier descriptor. | |
Function Documentation
| static void AUDIO_REQ_GetCurrent | ( | USBD_HandleTypeDef * | pdev, |
| USBD_SetupReqTypedef * | req | ||
| ) | [static] |
AUDIO_Req_GetCurrent Handles the GET_CUR Audio control request.
- Parameters:
-
pdev,: instance req,: setup class request
- Return values:
-
status
Definition at line 713 of file usbd_audio.c.
| static void AUDIO_REQ_SetCurrent | ( | USBD_HandleTypeDef * | pdev, |
| USBD_SetupReqTypedef * | req | ||
| ) | [static] |
AUDIO_Req_SetCurrent Handles the SET_CUR Audio control request.
- Parameters:
-
pdev,: instance req,: setup class request
- Return values:
-
status
Definition at line 732 of file usbd_audio.c.
| static uint8_t USBD_AUDIO_DataIn | ( | USBD_HandleTypeDef * | pdev, |
| uint8_t | epnum | ||
| ) | [static] |
USBD_AUDIO_DataIn handle data IN Stage.
- Parameters:
-
pdev,: device instance epnum,: endpoint index
- Return values:
-
status
Definition at line 518 of file usbd_audio.c.
| static uint8_t USBD_AUDIO_DataOut | ( | USBD_HandleTypeDef * | pdev, |
| uint8_t | epnum | ||
| ) | [static] |
USBD_AUDIO_DataOut handle data OUT Stage.
- Parameters:
-
pdev,: device instance epnum,: endpoint index
- Return values:
-
status
Definition at line 662 of file usbd_audio.c.
| static uint8_t USBD_AUDIO_DeInit | ( | USBD_HandleTypeDef * | pdev, |
| uint8_t | cfgidx | ||
| ) | [static] |
USBD_AUDIO_Init DeInitialize the AUDIO layer.
- Parameters:
-
pdev,: device instance cfgidx,: Configuration index
- Return values:
-
status
Definition at line 401 of file usbd_audio.c.
| static uint8_t USBD_AUDIO_EP0_RxReady | ( | USBD_HandleTypeDef * | pdev ) | [static] |
USBD_AUDIO_EP0_RxReady handle EP0 Rx Ready event.
- Parameters:
-
pdev,: device instance
- Return values:
-
status
Definition at line 532 of file usbd_audio.c.
| static uint8_t USBD_AUDIO_EP0_TxReady | ( | USBD_HandleTypeDef * | pdev ) | [static] |
USBD_AUDIO_EP0_TxReady handle EP0 TRx Ready event.
- Parameters:
-
pdev,: device instance
- Return values:
-
status
Definition at line 556 of file usbd_audio.c.
| static uint8_t * USBD_AUDIO_GetCfgDesc | ( | uint16_t * | length ) | [static] |
USBD_AUDIO_GetCfgDesc return configuration descriptor.
- Parameters:
-
speed : current device speed length : pointer data length
- Return values:
-
pointer to descriptor buffer
Definition at line 505 of file usbd_audio.c.
| static uint8_t * USBD_AUDIO_GetDeviceQualifierDesc | ( | uint16_t * | length ) | [static] |
DeviceQualifierDescriptor return Device Qualifier descriptor.
- Parameters:
-
length : pointer data length
- Return values:
-
pointer to descriptor buffer
Definition at line 757 of file usbd_audio.c.
| static uint8_t USBD_AUDIO_Init | ( | USBD_HandleTypeDef * | pdev, |
| uint8_t | cfgidx | ||
| ) | [static] |
USBD_AUDIO_Init Initialize the AUDIO interface.
- Parameters:
-
pdev,: device instance cfgidx,: Configuration index
- Return values:
-
status
Definition at line 352 of file usbd_audio.c.
| static uint8_t USBD_AUDIO_IsoINIncomplete | ( | USBD_HandleTypeDef * | pdev, |
| uint8_t | epnum | ||
| ) | [static] |
USBD_AUDIO_IsoINIncomplete handle data ISO IN Incomplete event.
- Parameters:
-
pdev,: device instance epnum,: endpoint index
- Return values:
-
status
Definition at line 638 of file usbd_audio.c.
| static uint8_t USBD_AUDIO_IsoOutIncomplete | ( | USBD_HandleTypeDef * | pdev, |
| uint8_t | epnum | ||
| ) | [static] |
USBD_AUDIO_IsoOutIncomplete handle data ISO OUT Incomplete event.
- Parameters:
-
pdev,: device instance epnum,: endpoint index
- Return values:
-
status
Definition at line 650 of file usbd_audio.c.
| uint8_t USBD_AUDIO_RegisterInterface | ( | USBD_HandleTypeDef * | pdev, |
| USBD_AUDIO_ItfTypeDef * | fops | ||
| ) |
USBD_AUDIO_RegisterInterface.
- Parameters:
-
fops,: Audio interface callback
- Return values:
-
status
Definition at line 768 of file usbd_audio.c.
| static uint8_t USBD_AUDIO_Setup | ( | USBD_HandleTypeDef * | pdev, |
| USBD_SetupReqTypedef * | req | ||
| ) | [static] |
USBD_AUDIO_Setup Handle the AUDIO specific requests.
- Parameters:
-
pdev,: instance req,: usb requests
- Return values:
-
status
Definition at line 427 of file usbd_audio.c.
| static uint8_t USBD_AUDIO_SOF | ( | USBD_HandleTypeDef * | pdev ) | [static] |
USBD_AUDIO_SOF handle SOF event.
- Parameters:
-
pdev,: device instance
- Return values:
-
status
Definition at line 567 of file usbd_audio.c.
| void USBD_AUDIO_Sync | ( | USBD_HandleTypeDef * | pdev, |
| AUDIO_OffsetTypeDef | offset | ||
| ) |
USBD_AUDIO_SOF handle SOF event.
- Parameters:
-
pdev,: device instance
- Return values:
-
status
Definition at line 578 of file usbd_audio.c.
Generated on Tue Jul 12 2022 14:58:43 by
1.7.2