This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C1294KCPDT: 关于ULPI功能的使能

Part Number: TM4C1294KCPDT

我用的库版本TivaWare_C_Series-2.1.4.178,使用的是TM4C1294KCPDT芯片,用的kile5调试

调试例程参考的的是usb_dev_bulk和tidm_tm4c129cusbhs2ethernet

usb.c下的 void USBULPIEnable(uint32_t ui32Base) 函数是否是用于使能UPLI功能的

按照源码,它只操作了 USBPC 寄存器,但是在debug时,发现它并没有成功的使能寄存器

这个函数的使用是否需要什么前置的设置呢

在 usbdenum.c 文件下的 void USBDCDInit(uint32_t ui32Index, tDeviceInfo *psDevice, void *pvDCDCBData) 函数使用了这个函数

void USBULPIEnable(uint32_t ui32Base)
{
HWREG(ui32Base + USB_O_PC) |= USB_PC_ULPIEN;
}