![]() |
usbpsu
Vitis Drivers API Documentation
|
This file contains the implementation of the AUDIO-DFU composite device specific class code for the example.
MODIFICATION HISTORY:
Ver Who Date Changes
1.0 rb 22/02/18 First release 1.5 vak 13/02/19 Added support for versal 1.5 vak 03/25/19 Fixed incorrect data_alignment pragma directive for IAR 1.18 ka 08/21/25 Fixed GCC warnings.
*
Functions | |
| s32 | Usb_DfuSetState (struct dfu_if *DFU, u8 dfu_state) |
| This function handles setting of DFU state. More... | |
| void | USB_DfuSetDwloadState (struct dfu_if *DFU, u8 *status) |
| This function updates the current state while downloading a file. More... | |
| void | USB_DfuGetStatus (struct dfu_if *DFU, u8 *status) |
| This function handles getting of DFU status. More... | |
| void | Usb_DisconnectHandler (struct Usb_DevData *InstancePtr) |
| This function handles USB disconnect, called from driver. More... | |
| void | Usb_ResetHandler (struct Usb_DevData *InstancePtr) |
| This function handles USB reset, called from driver. More... | |
| void | Usb_SetIntf (struct Usb_DevData *InstancePtr, SetupPacket *SetupData) |
| This function handles set interface request. More... | |
| void USB_DfuGetStatus | ( | struct dfu_if * | DFU, |
| u8 * | status | ||
| ) |
This function handles getting of DFU status.
| DFU | is a pointer to DFU instance of the controller |
| status | is the pointer of the DFU status |
Referenced by Usb_DfuClassReq().
| void USB_DfuSetDwloadState | ( | struct dfu_if * | DFU, |
| u8 * | status | ||
| ) |
This function updates the current state while downloading a file.
| DFU | is a pointer to DFU instance of the controller |
| status | is a pointer of the DFU status |
Referenced by USB_DfuGetStatus().
| s32 Usb_DfuSetState | ( | struct dfu_if * | DFU, |
| u8 | dfu_state | ||
| ) |
This function handles setting of DFU state.
| DFU | is a pointer to DFU instance of the controller |
| dfu_state | is a value of the DFU state to be set |
Referenced by Usb_DfuClassReq(), Usb_DfuSetIntf(), and Usb_SetIntf().
| void Usb_DisconnectHandler | ( | struct Usb_DevData * | InstancePtr | ) |
This function handles USB disconnect, called from driver.
| InstancePtr | is a pointer to Usb_DevData instance of the controller |
| void Usb_ResetHandler | ( | struct Usb_DevData * | InstancePtr | ) |
This function handles USB reset, called from driver.
| InstancePtr | is a pointer to Usb_DevData instance of the controller |
| void Usb_SetIntf | ( | struct Usb_DevData * | InstancePtr, |
| SetupPacket * | SetupData | ||
| ) |
This function handles set interface request.
| InstancePtr | is a pointer to Usb_DevData instance of the controller |
| SetupData | is a pointer to setup token of control transfer |