usbpsu
Xilinx SDK Drivers API Documentation
xusbpsu_dfu.h File Reference

Overview

This file contains definitions used in the chapter 9 code.

MODIFICATION HISTORY:
Ver   Who  Date     Changes

1.0 vak 30/11/16 Addded DFU support
 

Data Structures

struct  __attribute__
 USB Standard Control Request. More...
 
struct  __attribute__
 USB Standard Control Request. More...
 
struct  __attribute__
 USB Standard Control Request. More...
 
struct  __attribute__
 USB Standard Control Request. More...
 
struct  __attribute__
 USB Standard Control Request. More...
 
struct  __attribute__
 USB Standard Control Request. More...
 
struct  __attribute__
 USB Standard Control Request. More...
 
struct  __attribute__
 USB Standard Control Request. More...
 
struct  __attribute__
 USB Standard Control Request. More...
 
struct  __attribute__
 USB Standard Control Request. More...
 
struct  __attribute__
 USB Standard Control Request. More...
 
struct  __attribute__
 USB Standard Control Request. More...
 
struct  __attribute__
 USB Standard Control Request. More...
 
struct  __attribute__
 USB Standard Control Request. More...
 
struct  __attribute__
 USB Standard Control Request. More...
 

Functions

int dfu_set_state (struct dfu_if *DFU, int dfu_state)
 This function handles setting of DFU state. More...
 
int dfu_if_init (struct XUsbPsu *UsbInstance)
 This function handles a DFU interface initialization part . More...
 

Function Documentation

◆ dfu_if_init()

int dfu_if_init ( struct XUsbPsu UsbInstance)

This function handles a DFU interface initialization part .

Parameters
DFUis a pointer to DFU instance of the controller
UsbInstancePtris a pointer to XUsbPsu instance of the controller.
Returns
  • XST_SUCCESS if the function is successful.
Note
None.

◆ dfu_set_state()

int dfu_set_state ( struct dfu_if *  DFU,
int  dfu_state 
)

This function handles setting of DFU state.

Parameters
DFUis a pointer to DFU instance of the controller
dfu_stateis a value of the DFU state to be set
Returns
  • XST_SUCCESS if the function is successful.
  • XST_FAILURE if an Error occurred.
Note
None.