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.
Hello everyone,
I'm using Tiva C launchpad and the USBCDCD example. The library's code confuse me when I try to read them.
In "usblib.h" it said:
//
//! Forcing device mode so that the VBUS and ID pins are not used or
//! monitored by the USB controller.
//
eUSBModeForceDevice,
My understanding is that if you set tUSBMode to eUSBModeForceDevice, it's going to ignore VBUS pin (PB1). However, in "USBCDCD.c" it said:
/* Set the USB stack mode to Device mode with VBUS monitoring */
USBStackModeSet(0, eUSBModeForceDevice, 0);
which I understand that pin PB1 is still being used anyway. Could someone give me a little hint about this? I want to free both PB0 and PB1 to use the UART module (and using USB module at the same time).
Thank you,