![]() |
![]() |
Provides APIs for the USB xHCI module in host mode. This acts as the HAL layer that accesses the hardware. More...
#include "types.h"#include "hw_types.h"#include "string.h"#include "error.h"#include "usb_soc_defines.h"#include "hw_usb.h"#include "hw_dwc_usb.h"#include "usb_hcd_xhci.h"#include "UsbDefs.h"#include "usblib.h"#include "usbhost.h"#include "usb_osal.h"#include "usb_wrapper.h"Typedefs | |
| typedef enum controllerMode | controllerMode_t |
| Enumeration for different modes supported by a controller instance. | |
Enumerations | |
| enum | controllerMode { CONTROLLER_MODE_HOST = 1U, CONTROLLER_MODE_DEVICE = 2U, CONTROLLER_MODE_DUAL_ROLE_DEVICE = 3U } |
| Enumeration for different modes supported by a controller instance. More... | |
Functions | |
| void | USB_Host_Init (uint32_t instanceNumber) |
| void | USBHCDTerm (uint32_t portIndex) |
| void | USBHCDConfigureEndpoints (uint32_t ulIndex, tUSBHostDevice *pDevice, uint32_t *inPipe, uint32_t *outPipe) |
Provides APIs for the USB xHCI module in host mode. This acts as the HAL layer that accesses the hardware.
| enum controllerMode |
| void USB_Host_Init | ( | uint32_t | instanceNumber | ) |
Init clocks and power domain for USB host
| USB | instance number |