usb
Vitis Drivers API Documentation
|
This file contains the constants, type definitions, variables and function prototypes used in the mouse application.
MODIFICATION HISTORY:
Ver Who Date Changes
1.00a hvm 3/30/07 First release 3.02a hvm 08/16/10 Updated with the little endian support changes.
Functions | |
void | InitUsbInterface (XUsb *InstancePtr) |
This is the USB initialization function. More... | |
void | UsbIfIntrHandler (void *CallBackRef, u32 IntrStatus) |
This function is the interrupt handler for the USB mass storage device application. More... | |
void | Ep0IntrHandler (void *CallBackRef, u8 EpNum, u32 IntrStatus) |
This function is the interrupt handler for the USB End point Zero events. More... | |
void | Ep1IntrHandler (void *CallBackRef, u8 EpNum, u32 IntrStatus) |
This function is the interrupt handler for the USB End point one events. More... | |
void Ep0IntrHandler | ( | void * | CallBackRef, |
u8 | EpNum, | ||
u32 | IntrStatus | ||
) |
This function is the interrupt handler for the USB End point Zero events.
CallBackRef | is the callback reference passed from the interrupt. handler, which in our case is a pointer to the driver instance. |
EpNum | is the end point number. |
IntrStatus | is a bit mask indicating pending interrupts. |
This function is the interrupt handler for the USB End point Zero events.
CallBackRef | is the callback reference passed from the caller function, which in our case is a pointer to the driver instance. |
EpNum | is the end point number. |
IntrStatus | is a bit mask indicating pending interrupts. |
void Ep1IntrHandler | ( | void * | CallBackRef, |
u8 | EpNum, | ||
u32 | IntrStatus | ||
) |
This function is the interrupt handler for the USB End point one events.
CallBackRef | is the callback reference passed from the interrupt handler, which in our case is a pointer to the driver instance. |
EpNum | is the end point number. |
IntrStatus | is a bit mask indicating pending interrupts. |
This function is the interrupt handler for the USB End point one events.
CallBackRef | is the callback reference passed from the caller function, which in our case is a pointer to the driver instance. |
IntrStatus | is a bit mask indicating pending interrupts. |
void InitUsbInterface | ( | XUsb * | InstancePtr | ) |
This is the USB initialization function.
This example initializes the device for Mass Storage Application. The following configuration is done.
InstancePtr | is a pointer to the XUsb instance. |
This is the USB initialization function.
The following is the configuration.
InstancePtr | is a pointer to the XUsb instance. |
This example initializes the device for Microphone Application. The following configuration is done.
InstancePtr | is a pointer to the XUsb instance. |
This example initializes the USB device for USB mouse example. The following configuration is done.
InstancePtr | is a pointer to the XUsb instance. |
void UsbIfIntrHandler | ( | void * | CallBackRef, |
u32 | IntrStatus | ||
) |
This function is the interrupt handler for the USB mass storage device application.
CallBackRef | is the callback reference passed from the interrupt handler, which in our case is a pointer to the driver instance. |
IntrStatus | is a bit mask indicating pending interrupts. |
This function is the interrupt handler for the USB mass storage device application.
CallBackRef | is the callback reference passed from the interrupt handler, which in our case is a pointer to the driver instance. |
IntrStatus | is a bit mask indicating pending interrupts. |
This function is the interrupt handler for the USB mass storage device application.
CallBackRef | is the callback reference passed from the interrupt handler, which in our case is a pointer to the driver instance. |
IntrStatus | is a bit mask indicating pending interrupts. |
This function is the interrupt handler for the USB mass storage device application.
CallBackRef | is the callback reference passed from to the function, which in our case is a pointer to the driver instance. |
IntrStatus | is a bit mask indicating pending interrupts. |