Over-current indication on USB host on STM32F2xx
Hello, I am using the STM32F2xx ev board to develop a simple application that utilizes the USB port as a HOST. I would like to check if a device has been connected to the port and it causes over-current on the USB.
Looking into the source code, It seems that the USB_OTG_HPRT_POCCHNG bit indicates over-current. Is this correct?
Would someone guide me how to get this indication in my application?
Thanks
