C
#define POWERED_STATE 0x02
Description
Powered is the state in which the device is attached to the bus and the hub/port that it is attached to is configured. This defintions is a return value of the function USBGetDeviceState()
MCHPFSUSB Device Library > Stack > Public API Members > Definitions, Constants, and Enums > POWERED_STATE Macro