ホーム › Devices.Communication › DCB_STOP_BITS
DCB_STOP_BITS
列挙型メンバー 3
| 名前 | 10進 | 16進 |
|---|---|---|
| ONESTOPBIT | 0 | 0x0 |
| ONE5STOPBITS | 1 | 0x1 |
| TWOSTOPBITS | 2 | 0x2 |
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum DCB_STOP_BITS : unsigned char {
ONESTOPBIT = 0,
ONE5STOPBITS = 1,
TWOSTOPBITS = 2
} DCB_STOP_BITS;public enum DCB_STOP_BITS : byte
{
ONESTOPBIT = 0,
ONE5STOPBITS = 1,
TWOSTOPBITS = 2,
}Public Enum DCB_STOP_BITS As Byte
ONESTOPBIT = 0
ONE5STOPBITS = 1
TWOSTOPBITS = 2
End Enumimport enum
class DCB_STOP_BITS(enum.IntEnum):
ONESTOPBIT = 0
ONE5STOPBITS = 1
TWOSTOPBITS = 2// DCB_STOP_BITS
pub const ONESTOPBIT: u8 = 0;
pub const ONE5STOPBITS: u8 = 1;
pub const TWOSTOPBITS: u8 = 2;// DCB_STOP_BITS
const (
ONESTOPBIT byte = 0
ONE5STOPBITS byte = 1
TWOSTOPBITS byte = 2
)const
ONESTOPBIT = 0;
ONE5STOPBITS = 1;
TWOSTOPBITS = 2;// DCB_STOP_BITS
pub const ONESTOPBIT: u8 = 0;
pub const ONE5STOPBITS: u8 = 1;
pub const TWOSTOPBITS: u8 = 2;const
ONESTOPBIT* = 0
ONE5STOPBITS* = 1
TWOSTOPBITS* = 2enum DCB_STOP_BITS : ubyte {
ONESTOPBIT = 0,
ONE5STOPBITS = 1,
TWOSTOPBITS = 2,
}#define global ONESTOPBIT 0x0
#define global ONE5STOPBITS 0x1
#define global TWOSTOPBITS 0x2