 |
AM261x MCU+ SDK
11.00.00
|
|
Go to the documentation of this file.
33 #ifndef USB_WRAPPER_H_
34 #define USB_WRAPPER_H_
36 #include "device_usb_reg_offset.h"
48 #define BOOTPARAM_TIMEOUT_MS 60000U
50 #define BOOTPARAM_TIMEOUT_MS 20U
70 typedef struct usb_handle_s {
84 typedef enum UsbPhy_ret_t_
HwiP_Params hwiParamsUsb
Definition: device_wrapper.h:76
UsbPhy_ret_t
This enumeration defines the return status for USB PHY.
Definition: device_wrapper.h:85
void USB_disableInterrupt(uint32_t intr)
This function disables the interrupt.
Parameters passed during HwiP_construct.
Definition: HwiP.h:127
dwc_usb3_device_t * dwc_usb3_dev
Definition: device_wrapper.h:74
void USB_configureInterrupt(uint32_t intr)
This function configures the interrupt.
uint32_t cfg_base
Definition: device_wrapper.h:72
UsbPhy_ret_t usb_phy_power_sequence(void)
Performs the USB PHY power-on sequence.
Structure representing the USB device handle.
Definition: device_wrapper.h:70
#define DWC_MAX_EPS
Maximum number of EPs, defined by USB spec.
Definition: pcd.h:83
#define DWC_MAX_PACKET_SIZE
Maxpacket size for any EP, defined by USB3 spec.
Definition: pcd.h:93
uint8_t ep_out_buf[DWC_MAX_EPS - 1U][DWC_MAX_PACKET_SIZE]
Global buffers for USB OUT endpoints. These buffers are used for data reception from the host to the ...
void USB_clearInterrupt(void)
This function clears the MAIN0 interrupt.
HwiP_Object hwiObjUsb
Definition: device_wrapper.h:78
@ USB_PHY_OK
Definition: device_wrapper.h:86
Opaque Hwi object used with the Hwi APIs.
Definition: HwiP.h:142
uint8_t ep_in_buf[DWC_MAX_EPS - 1U][DWC_MAX_PACKET_SIZE]
Global buffers for USB IN endpoints. These buffers are used for data transmission from the device to ...
@ USB_PHY_ERR
Definition: device_wrapper.h:87