Functions
Usbd_audio_Private_Functions
Collaboration diagram for Usbd_audio_Private_Functions:

Functions

static void AUDIO_Req_GetCurrent (void *pdev, USB_SETUP_REQ *req)
 AUDIO_Req_GetCurrent Handles the GET_CUR Audio control request. More...
 
static void AUDIO_Req_SetCurrent (void *pdev, USB_SETUP_REQ *req)
 AUDIO_Req_SetCurrent Handles the SET_CUR Audio control request. More...
 
static uint8_t usbd_audio_DataIn (void *pdev, uint8_t epnum)
 usbd_audio_DataIn Handles the audio IN data stage. More...
 
static uint8_t usbd_audio_DataOut (void *pdev, uint8_t epnum)
 usbd_audio_DataOut Handles the Audio Out data stage. More...
 
static uint8_t usbd_audio_DeInit (void *pdev, uint8_t cfgidx)
 usbd_audio_Init DeInitializes the AUDIO layer. More...
 
static uint8_t usbd_audio_EP0_RxReady (void *pdev)
 usbd_audio_EP0_RxReady Handles audio control requests data. More...
 
static uint8_t * USBD_audio_GetCfgDesc (uint8_t speed, uint16_t *length)
 USBD_audio_GetCfgDesc Returns configuration descriptor. More...
 
static uint8_t usbd_audio_Init (void *pdev, uint8_t cfgidx)
 usbd_audio_Init Initilaizes the AUDIO interface. More...
 
static uint8_t usbd_audio_OUT_Incplt (void *pdev)
 usbd_audio_OUT_Incplt Handles the iso out incomplete event. More...
 
static uint8_t usbd_audio_Setup (void *pdev, USB_SETUP_REQ *req)
 usbd_audio_Setup Handles the Audio control request parsing. More...
 
static uint8_t usbd_audio_SOF (void *pdev)
 usbd_audio_SOF Handles the SOF event (data buffer update and synchronization). More...
 

Detailed Description

Function Documentation

static void AUDIO_Req_GetCurrent ( void *  pdev,
USB_SETUP_REQ req 
)
static

AUDIO_Req_GetCurrent Handles the GET_CUR Audio control request.

Parameters
pdevinstance
reqsetup class request
Return values
status

Definition at line 615 of file usbd_audio_core.c.

static void AUDIO_Req_SetCurrent ( void *  pdev,
USB_SETUP_REQ req 
)
static

AUDIO_Req_SetCurrent Handles the SET_CUR Audio control request.

Parameters
pdevinstance
reqsetup class request
Return values
status

Definition at line 630 of file usbd_audio_core.c.

static uint8_t usbd_audio_DataIn ( void *  pdev,
uint8_t  epnum 
)
static

usbd_audio_DataIn Handles the audio IN data stage.

Parameters
pdevinstance
epnumendpoint number
Return values
status

Definition at line 498 of file usbd_audio_core.c.

static uint8_t usbd_audio_DataOut ( void *  pdev,
uint8_t  epnum 
)
static

usbd_audio_DataOut Handles the Audio Out data stage.

Parameters
pdevinstance
epnumendpoint number
Return values
status

Definition at line 510 of file usbd_audio_core.c.

static uint8_t usbd_audio_DeInit ( void *  pdev,
uint8_t  cfgidx 
)
static

usbd_audio_Init DeInitializes the AUDIO layer.

Parameters
pdevdevice instance
cfgidxConfiguration index
Return values
status

Definition at line 376 of file usbd_audio_core.c.

static uint8_t usbd_audio_EP0_RxReady ( void *  pdev)
static

usbd_audio_EP0_RxReady Handles audio control requests data.

Parameters
pdevdevice device instance
Return values
status

Definition at line 471 of file usbd_audio_core.c.

static uint8_t * USBD_audio_GetCfgDesc ( uint8_t  speed,
uint16_t *  length 
)
static

USBD_audio_GetCfgDesc Returns configuration descriptor.

Parameters
speed: current device speed
length: pointer data length
Return values
pointerto descriptor buffer

Definition at line 654 of file usbd_audio_core.c.

static uint8_t usbd_audio_Init ( void *  pdev,
uint8_t  cfgidx 
)
static

usbd_audio_Init Initilaizes the AUDIO interface.

Parameters
pdevdevice instance
cfgidxConfiguration index
Return values
status

Definition at line 345 of file usbd_audio_core.c.

static uint8_t usbd_audio_OUT_Incplt ( void *  pdev)
static

usbd_audio_OUT_Incplt Handles the iso out incomplete event.

Parameters
pdevinstance
Return values
status

Definition at line 600 of file usbd_audio_core.c.

static uint8_t usbd_audio_Setup ( void *  pdev,
USB_SETUP_REQ req 
)
static

usbd_audio_Setup Handles the Audio control request parsing.

Parameters
pdevinstance
requsb requests
Return values
status

Definition at line 397 of file usbd_audio_core.c.

static uint8_t usbd_audio_SOF ( void *  pdev)
static

usbd_audio_SOF Handles the SOF event (data buffer update and synchronization).

Parameters
pdevinstance
epnumendpoint number
Return values
status

Definition at line 552 of file usbd_audio_core.c.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:28