usb
Vitis Drivers API Documentation
|
This file contains PHY register access related example.
MODIFICATION HISTORY:
Ver Who Date Changes
1.00a hvm 12/3/10 First release 5.6 pm 07/05/23 Removed powerpc support. 5.6 pm 07/05/23 Added support for system device-tree flow.
Functions | |
void | UsbIfPhyIntrHandler (void *CallBackRef, u32 IntrStatus) |
This function is the ULPI PHY interrupt handler. More... | |
int | main () |
This main function starts the USB application. More... | |
int main | ( | void | ) |
This main function starts the USB application.
None. |
References XUsb_Config::BaseAddress, UsbIfPhyIntrHandler(), XUsb_CfgInitialize(), XUsb_IntrEnable(), XUsb_IntrHandler(), XUsb_LookupConfig(), XUsb_Start(), XUSB_STATUS_GLOBAL_INTR_MASK, XUSB_STATUS_PHY_ACCESS_MASK, XUsb_UlpiIntrSetHandler(), XUsb_UlpiPhyReadRegister(), and XUsb_UlpiPhyWriteRegister().
void UsbIfPhyIntrHandler | ( | void * | CallBackRef, |
u32 | IntrStatus | ||
) |
This function is the ULPI PHY interrupt handler.
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. |
References XUSB_STATUS_PHY_ACCESS_MASK.
Referenced by main().