| usbpsu Vitis Drivers API Documentation

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

Functions
xusb_ch9.c File Reference

## Overview

This file contains the implementation of chapter 9 specific code for the example.

    MODIFICATION HISTORY:

    Ver   Who  Date     Changes

    1.0   sg  06/06/16  First release
    1.1     vak  30/11/16  Added DFU support
    1.4   BK  12/01/18  Renamed the file and added changes to have a common
                   example for all USB IPs.
    1.5     vak  13/02/19  Added support for versal
    1.5  vak  03/25/19  Fixed incorrect data_alignment pragma directive for IAR

## Functions
void | Ch9Handler (struct Usb_DevData *InstancePtr, SetupPacket *SetupData)
| This function handles a Setup Data packet from the host. More...

## Function Documentation

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

This function handles a Setup Data packet from the host.

Parameters

  InstancePtr | is a pointer to Usb_DevData instance of the controller.
  SetupData | is the structure containing the setup request.

Returns
  None.

Note
  None.

References Usb_DevData::PrivateData, USB_CMD_CLASSREQ, USB_CMD_STDREQ, USB_CMD_VENDREQ, and USB_REQ_TYPE_MASK.

Referenced by main().