int HAL_USBPortStatus(int unknown, int port)
| Entry | |
|---|---|
| unknown | Unknown purpose! |
| port | Port number to query |
| Exit | |
|---|---|
| 0 | Port OK |
| 1 | Port is overcurrent |
This is an internal call for OS use only and should not be used by user software.
Used to check the power status of the indicated port.