| usbpsu Vitis Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List
- Examples

Functions
xusb_freertos_class_audio.h File Reference

## Overview

This file contains definitions used in the class code.

    MODIFICATION HISTORY:

    Ver   Who  Date     Changes

    1.0   rb   26/03/18 First release

## Functions
void | Usb_ClassReq (struct Usb_DevData *InstancePtr, SetupPacket *SetupData)
| This function is class request handler for composite device Setup packet received is for Class request(not a Standard Device request) More...
void | prvRecordTask (void *pvParameters)
| This task implements audio record functionality. More...
void | prvPlayBackTask (void *pvParameters)
| This task implements audio playback functionality. More...

## Function Documentation

void prvPlayBackTask | ( | void * | pvParameters | ) |

This task implements audio playback functionality.

Parameters

  pvParameters | private parameters.

Note
  None.

void prvRecordTask | ( | void * | pvParameters | ) |

This task implements audio record functionality.

Parameters

  pvParameters | private parameters.

Note
  None.

void Usb_ClassReq | ( | struct Usb_DevData * | InstancePtr,
|  | SetupPacket * | SetupData
| ) |  |

This function is class request handler for composite device Setup packet received is for Class request(not a Standard Device request)

Parameters

  InstancePtr | is pointer to Usb_DevData instance.
  SetupData | is pointer to SetupPacket received.

Returns
  None

Note
  None.

This function is class request handler for composite device Setup packet received is for Class request(not a Standard Device request)

Parameters

  InstancePtr | is pointer to Usb_DevData instance.
  SetupData | is the setup packet received from Host.

Note
  None.