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.

DM8168 usb otg问题



       通过这个链接我知道如何将DM8168的USB口配成host模式或gadget模式

      processors.wiki.ti.com/.../Usbgeneralpage

      我想问的是:这种方法也是编译内核的时候就固定死了,那么怎样实现一种软件可配置状态呢,比如在应用程序初始时刻通过检测外部GPIO口的状态或是接收外部指令来配置成host模式或gadget状态呢?

     求指教!