![]() |
usbpsu
Vitis Drivers API Documentation
|
Functions | |
| 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 the device disconnects from the host. More... | |
| u8 | 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... | |
| s32 | XUsbPsu_SetU1SleepTimeout (struct XUsbPsu *InstancePtr, u8 Timeout) |
| Sets U1 sleep timeout. More... | |
| s32 | XUsbPsu_SetU2SleepTimeout (struct XUsbPsu *InstancePtr, u8 Timeout) |
| Sets U2 sleep timeout. More... | |
| s32 | XUsbPsu_AcceptU1U2Sleep (struct XUsbPsu *InstancePtr) |
| Enable Accept U1 and U2 sleep enable. More... | |
| s32 | XUsbPsu_U1SleepEnable (struct XUsbPsu *InstancePtr) |
| Enables U1 enable sleep. More... | |
| s32 | XUsbPsu_U2SleepEnable (struct XUsbPsu *InstancePtr) |
| Enables U2 enable sleep. More... | |
| s32 | XUsbPsu_U1SleepDisable (struct XUsbPsu *InstancePtr) |
| Enables U1 disable sleep. More... | |
| s32 | XUsbPsu_U2SleepDisable (struct XUsbPsu *InstancePtr) |
| Enables U2 disable sleep. More... | |
| s32 | XUsbPsu_IsSuperSpeed (struct XUsbPsu *InstancePtr) |
| Checks if the current speed is super speed or not. More... | |