DeviceState Enum
NuGet: GHIElectronics.TinyCLR.Devices.UsbClient
Assembly: GHIElectronics.TinyCLR.Devices.UsbClient
Namespace: GHIElectronics.TinyCLR.Devices.UsbClient
The possible states of a USB device.
public enum DeviceState
Fields
| Name | Value | Description |
|---|---|---|
Detached | 0 | The device is detached from the host. |
Attached | 1 | The device is attached to the host. |
Powered | 2 | The device is powered. |
Default | 3 | The device is in the default state. |
Address | 4 | The device has been assigned an address. |
Configured | 5 | The device is configured and ready for use. |
Suspended | 6 | The device is suspended. |