The USB_OTG_HOST_MODE can be used for indicating the USB OTG core is working in Host mode.
USB_OTG_HOST_MODE = 0 indicates the USB is operating in Device mode
USB_OTG_HOST_MODE = 1 indicates the USB is operating in Host mode
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------