MPLAB Harmony USB Stack
|
Device Power state
This enumeration defines the possible power states of the device. The application specifies this state to the device layer (through the USB_DEVICE_PowerStateSet function) to let the device layer know if this USB Device is presently bus or self powered.
typedef enum { USB_DEVICE_POWER_STATE_BUS_POWERED, USB_DEVICE_POWER_STATE_SELF_POWERED } USB_DEVICE_POWER_STATE;
Members |
Description |
USB_DEVICE_POWER_STATE_BUS_POWERED |
Device is bus powered |
USB_DEVICE_POWER_STATE_SELF_POWERED |
Device is self powered |
None.
MPLAB Harmony USB Stack
|