int HAL_USBPortStatus(int bus, int port)
Entry | |
---|---|
bus | Bus/interface number to query |
port | Port number to query |
Exit | |
---|---|
0 | Port is not overcurrent |
non-0 | Port is overcurrent |
This is an internal call for OS use only and should not be used by user software.
Used to check the overcurrent status of the indicated port.