![]() |
usbpsu
Xilinx SDK Drivers API Documentation
|
Functions | |
| s32 | XUsbPsu_Wait_Clear_Timeout (struct XUsbPsu *InstancePtr, u32 Offset, u32 BitMask, u32 Timeout) |
| Waits until a bit in a register is cleared or timeout occurs. More... | |
| s32 | XUsbPsu_Wait_Set_Timeout (struct XUsbPsu *InstancePtr, u32 Offset, u32 BitMask, u32 Timeout) |
| Waits until a bit in a register is set or timeout occurs. More... | |
| void | XUsbPsu_SetMode (struct XUsbPsu *InstancePtr, u32 Mode) |
| Sets mode of Core to USB Device/Host/OTG. More... | |
| void | XUsbPsu_PhyReset (struct XUsbPsu *InstancePtr) |
| Issues core PHY reset. More... | |
| void | XUsbPsu_EventBuffersSetup (struct XUsbPsu *InstancePtr) |
| Sets up Event buffers so that events are written by Core. More... | |
| void | XUsbPsu_EventBuffersReset (struct XUsbPsu *InstancePtr) |
| Resets Event buffer Registers to zero so that events are not written by Core. More... | |
| u32 | XUsbPsu_ReadHwParams (struct XUsbPsu *InstancePtr, u8 RegIndex) |
| Reads data from Hardware Params Registers of Core. More... | |
| s32 | XUsbPsu_CoreInit (struct XUsbPsu *InstancePtr) |
| Initializes Core. More... | |
| void | XUsbPsu_EnableIntr (struct XUsbPsu *InstancePtr, u32 Mask) |
| Enables an interrupt in Event Enable RegValister. More... | |
| void | XUsbPsu_DisableIntr (struct XUsbPsu *InstancePtr, u32 Mask) |
| Disables an interrupt in Event Enable RegValister. More... | |
| s32 | XUsbPsu_CfgInitialize (struct XUsbPsu *InstancePtr, XUsbPsu_Config *ConfigPtr, u32 BaseAddress) |
| This function does the following: More... | |
| s32 | XUsbPsu_Start (struct XUsbPsu *InstancePtr) |
| Starts the controller so that Host can detect this device. More... | |
| s32 | XUsbPsu_Stop (struct XUsbPsu *InstancePtr) |
| Stops the controller so that Device disconnects from Host. More... | |
| s32 | XUsbPsu_SetTestMode (struct XUsbPsu *InstancePtr, u32 Mode) |
| Enables USB2 Test Modes. More... | |
| XusbPsuLinkState | XUsbPsu_GetLinkState (struct XUsbPsu *InstancePtr) |
| Gets current State of USB Link. More... | |
| s32 | XUsbPsu_SetLinkState (struct XUsbPsu *InstancePtr, XusbPsuLinkStateChange State) |
| Sets USB Link to a particular State. More... | |
| void | XUsbPsu_SetSpeed (struct XUsbPsu *InstancePtr, u32 Speed) |
| Sets speed of the Core for connecting to Host. More... | |
| s32 | XUsbPsu_SetDeviceAddress (struct XUsbPsu *InstancePtr, u16 Addr) |
| Sets Device Address of the Core. More... | |
| s32 | XUsbPsu_IsSuperSpeed (struct XUsbPsu *InstancePtr) |
| Sets speed of the Core for connecting to Host. More... | |
| s32 | XUsbPsu_SetU1SleepTimeout (struct XUsbPsu *InstancePtr, u8 Sleep) |
| Set U1 sleep timeout. More... | |
| s32 | XUsbPsu_SetU2SleepTimeout (struct XUsbPsu *InstancePtr, u8 Sleep) |
| Set U2 sleep timeout. More... | |
| s32 | XUsbPsu_AcceptU1U2Sleep (struct XUsbPsu *InstancePtr) |
| Enable Accept U1 and U2 sleep enable. More... | |
| s32 | XUsbPsu_U1SleepEnable (struct XUsbPsu *InstancePtr) |
| Enable U1 enable sleep. More... | |
| s32 | XUsbPsu_U2SleepEnable (struct XUsbPsu *InstancePtr) |
| Enable U2 enable sleep. More... | |
| s32 | XUsbPsu_U1SleepDisable (struct XUsbPsu *InstancePtr) |
| Enable U1 disable sleep. More... | |
| s32 | XUsbPsu_U2SleepDisable (struct XUsbPsu *InstancePtr) |
| Enable U2 disable sleep. More... | |