Hi, I want to use a USB with USB-C connector and STM32F427 mostly as a HOST for USB mass storage, but it has to be able to switch to device, works as serial port. A 5V can be applied to the USB by a power switch for a HOST mode, and can be detected w...