![]() |
PmxArdinoLib 1.0.3
|
クラス | |
union | Int16Byte |
signed 2byte(short型)のデータをアクセスできるよう共用体にします [詳解] | |
union | Int32Byte |
signed 4byte(long型)のデータをアクセスできるよう共用体にします [詳解] | |
union | Uint16Byte |
unsigned 2byte(short型)のデータをアクセスできるよう共用体にします [詳解] | |
union | Uint32Byte |
unsigned 4byte(long型)のデータをアクセスできるよう共用体にします [詳解] | |
静的公開メンバ関数 | |
static short | bytesToInt16 (unsigned char byteDatas[]) |
Byte配列データをint16(符号あり2byte)に変換します | |
static unsigned short | bytesToUint16 (unsigned char byteDatas[]) |
Byte配列データをUint16(符号なし2byte)に変換します | |
static long | bytesToInt32 (unsigned char byteDatas[]) |
Byte配列データをint32(符号あり4byte)に変換します | |
static unsigned long | bytesToUint32 (unsigned char byteDatas[]) |
Byte配列データをUint32(符号なし4byte)に変換します | |
static void | int16ToBytes (short shortData, unsigned char byteDatas[]) |
int16(符号あり2byte)のデータをByte配列に変換します | |
static void | uint16ToBytes (unsigned short wordData, unsigned char byteDatas[]) |
Uint16(符号なし2byte)のデータをByte配列に変換します | |
static void | int32ToBytes (long longData, unsigned char byteDatas[]) |
int32(符号あり4byte)のデータをByte配列に変換します | |
static void | uint32ToBytes (unsigned long dwordData, unsigned char byteDatas[]) |
Uint32(符号なし4byte)のデータをByte配列に変換します | |
|
static |
Byte配列データをint16(符号あり2byte)に変換します
[in] | byteDatas | Byte配列データ |
|
static |
Byte配列データをint32(符号あり4byte)に変換します
[in] | byteDatas | Byte配列データ |
|
static |
Byte配列データをUint16(符号なし2byte)に変換します
[in] | byteDatas | Byte配列データ |
|
static |
Byte配列データをUint32(符号なし4byte)に変換します
[in] | byteDatas | Byte配列データ |
|
static |
int16(符号あり2byte)のデータをByte配列に変換します
[in] | shortData | int16(符号あり2byte)のデータ |
[out] | byteDatas | 変換後のByte配列データ |
|
static |
int32(符号あり4byte)のデータをByte配列に変換します
[in] | longData | int32(符号あり4byte)のデータ |
[out] | byteDatas | Byte配列データ |
|
static |
Uint16(符号なし2byte)のデータをByte配列に変換します
[in] | wordData | Uint16(符号なし2byte)のデータ |
[out] | byteDatas | Byte配列データ |
|
static |
Uint32(符号なし4byte)のデータをByte配列に変換します
[in] | dwordData | Uint32(符号なし4byte)のデータ |
[out] | byteDatas | Byte配列データ |