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