usbpsu: xusb_freertos_class_audio.c File Reference

| usbpsu Xilinx SDK Drivers API Documentation

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

Functions
xusb_freertos_class_audio.c File Reference

## Overview

This file contains the implementation of the audio specific class code for the example.

      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 called by Chapter9 handler when class request is received from Host. 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 called by Chapter9 handler when class request is received from Host.

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.