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.

Correct pin configuration/hardware setup for USB Host on Tiva Launchpad

Other Parts Discussed in Thread: EK-TM4C123GXL

I've already made the hardware changes as per the User's Guide, I've populated two 0-Ω's at R25 and R29. 

As per the USB library user guide

"To properly configure host mode, the application must first configure and enable the host power

pins for USBEPEN and USBPFLT. These are configured using in the library the USBHCDPower-
ConfigInit(). The actual physical pins must also be enabled and configured by the application using
SysCtlPeripheralEnable() followed by GPIOPinTypeUSBDigital(). These pins are located on differ-
ent physical pins on devices and thus must be configured by the application. The remaining USB
pins are handled by the library and do not require any configuration. "

Will the below code suffice to setup USB host mode on the Tiva Launchpad or am I missing something? ALso, should I use GPIOPinTypeUSBAnalog or GPIOPinTypeUSBDigital? 

SysCtlPeripheralEnable(SYSCTL_PERIPH_USB0);
SysCtlUSBPLLEnable();

SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOB);
GPIOPinTypeUSBDigital(GPIO_PORTB_BASE, GPIO_PIN_0 | GPIO_PIN_1);

SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOD);
GPIOPinTypeUSBDigital(GPIO_PORTD_BASE, GPIO_PIN_4 | GPIO_PIN_5);

USBHCDPowerConfigInit(0, USBTHCD_VBUS_AUTO_HIGH | USBHCD_VBUS_FILTER);