|
AM64x MCU+ SDK
10.00.00
|
|
Go to the documentation of this file.
47 #ifndef INCLUDE_USB_INIT_PARAMS_H_
48 #define INCLUDE_USB_INIT_PARAMS_H_
70 #define USB_INSTANCE_0 (0x00U)
79 #define USB_CLK_SEL_HFOSC0_CLKOUT (0x00U)
81 #define USB_CLK_SEL_HFOSC1_CLKOUT (0x01U)
83 #define USB_MAIN_PLL3_HSDIV4_CLKOUT (0x02U)
85 #define USB_MAIN_PLL2_HSDIV4_CLKOUT (0x03U)
94 #define USB_PLL_REF_CLK_9P6MHZ (0x00)
96 #define USB_PLL_REF_CLK_10MHZ (0x01)
98 #define USB_PLL_REF_CLK_12MHZ (0x02)
100 #define USB_PLL_REF_CLK_19P2MHZ (0x03)
102 #define USB_PLL_REF_CLK_20MHZ (0x04)
104 #define USB_PLL_REF_CLK_24MHZ (0x05)
106 #define USB_PLL_REF_CLK_25MHZ (0x06)
108 #define USB_PLL_REF_CLK_26MHZ (0x07)
110 #define USB_PLL_REF_CLK_38P4MHZ (0x08)
112 #define USB_PLL_REF_CLK_40MHZ (0x09)
114 #define USB_PLL_REF_CLK_48MHZ (0x0A)
116 #define USB_PLL_REF_CLK_50MHZ (0x0B)
118 #define USB_PLL_REF_CLK_52MHZ (0x0C)
127 #define USB_MODE_3P0 (0x0)
129 #define USB_MODE_2P0 (0x1)
138 #define USB_PIPE_RX_INVERT_POLARITY_DISABLED (0x0)
140 #define USB_PIPE_RX_INVERT_POLARITY_ENABLED (0x1)
149 #define USB_VBUS_EXT_DIV3_INACTIVE (0x0)
151 #define USB_VBUS_EXT_DIV3_ACTIVE (0x1)
160 #define USB_HOST_MODE_DISABLED (0x0)
162 #define USB_HOST_MODE_ENABLED (0x1)
170 typedef struct usb_init_param_s {
uint32_t usb2Enable
Definition: usb_init.h:177
uint32_t vbusSel
Definition: usb_init.h:181
uint32_t clkSrcSel
Definition: usb_init.h:173
void usb_init(usb_init_param_t *usbInitParamPtr)
USB Initialization function.
void cusbd_dsr(void) __attribute__((weak))
struct tisci_boardcfg_sa2ul_cfg __attribute__
UInteger224 (802.1AS, 10.3.4 time-synchronization spanning tree priority vectors )
USB intialization parameter block.
Definition: usb_init.h:170
uint32_t isHostMode
Definition: usb_init.h:183
uint32_t instanceNum
Definition: usb_init.h:171
uint32_t pllRefSel
Definition: usb_init.h:175
uint32_t invertPolarity
Definition: usb_init.h:179