ホーム › Devices.Usb › USB_DEVICE_SPEED
USB_DEVICE_SPEED
列挙型メンバー 4
| 名前 | 10進 | 16進 |
|---|---|---|
| UsbLowSpeed | 0 | 0x0 |
| UsbFullSpeed | 1 | 0x1 |
| UsbHighSpeed | 2 | 0x2 |
| UsbSuperSpeed | 3 | 0x3 |
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum USB_DEVICE_SPEED : int {
UsbLowSpeed = 0,
UsbFullSpeed = 1,
UsbHighSpeed = 2,
UsbSuperSpeed = 3
} USB_DEVICE_SPEED;public enum USB_DEVICE_SPEED : int
{
UsbLowSpeed = 0,
UsbFullSpeed = 1,
UsbHighSpeed = 2,
UsbSuperSpeed = 3,
}Public Enum USB_DEVICE_SPEED As Integer
UsbLowSpeed = 0
UsbFullSpeed = 1
UsbHighSpeed = 2
UsbSuperSpeed = 3
End Enumimport enum
class USB_DEVICE_SPEED(enum.IntEnum):
UsbLowSpeed = 0
UsbFullSpeed = 1
UsbHighSpeed = 2
UsbSuperSpeed = 3// USB_DEVICE_SPEED
pub const UsbLowSpeed: i32 = 0;
pub const UsbFullSpeed: i32 = 1;
pub const UsbHighSpeed: i32 = 2;
pub const UsbSuperSpeed: i32 = 3;// USB_DEVICE_SPEED
const (
UsbLowSpeed int32 = 0
UsbFullSpeed int32 = 1
UsbHighSpeed int32 = 2
UsbSuperSpeed int32 = 3
)const
UsbLowSpeed = 0;
UsbFullSpeed = 1;
UsbHighSpeed = 2;
UsbSuperSpeed = 3;// USB_DEVICE_SPEED
pub const UsbLowSpeed: i32 = 0;
pub const UsbFullSpeed: i32 = 1;
pub const UsbHighSpeed: i32 = 2;
pub const UsbSuperSpeed: i32 = 3;const
UsbLowSpeed* = 0
UsbFullSpeed* = 1
UsbHighSpeed* = 2
UsbSuperSpeed* = 3enum USB_DEVICE_SPEED : int {
UsbLowSpeed = 0,
UsbFullSpeed = 1,
UsbHighSpeed = 2,
UsbSuperSpeed = 3,
}#define global UsbLowSpeed 0x0
#define global UsbFullSpeed 0x1
#define global UsbHighSpeed 0x2
#define global UsbSuperSpeed 0x3