ArmSys Support
ArmsysApi  0.12.18
BTypes.h File Reference
#include <stdint.h>

Classes

class  BDataChunk
 
struct  BObjMember
 

Macros

#define BBigEndian   0
 
#define M_PI   3.14159265358979323846
 

Typedefs

typedef bool Bool
 
typedef int8_t BInt8
 
typedef uint8_t BUInt8
 
typedef int16_t BInt16
 
typedef uint16_t BUInt16
 
typedef int32_t BInt32
 
typedef uint32_t BUInt32
 
typedef int64_t BInt64
 
typedef uint64_t BUInt64
 
typedef float BFloat32
 
typedef double BFloat64
 
typedef char BChar
 
typedef BInt32 BInt
 
typedef BUInt32 BUInt
 
typedef BFloat32 BFloat
 
typedef BFloat64 BDouble
 
typedef BUInt32 BTimeout
 

Enumerations

enum  BEventType {
  BEventTypeNone, BEventTypeError, BEventTypeRead, BEventTypeReadLine,
  BEventTypeWrite, BEventTypeConnect, BEventTypeDisconnect, BEventTypeClientConnect,
  BEventTypeClientDisconnect
}
 
enum  BEventWaitSet {
  BEventWaitNone = 0x00, BEventWaitError = 0x01, BEventWaitRead = 0x02, BEventWaitReadLine = 0x04,
  BEventWaitWrite = 0x08, BEventWaitConnect = 0x10, BEventWaitDisconnect = 0x20, BEventWaitClientConnect = 0x40,
  BEventWaitClientDisconnect = 0x80, BEventWaitAny = 0xFFFFFFFF
}
 
enum  BUsbType { BUsbTypeNone, BUsbTypeFullSpeed, BUsbTypeHighSpeed }
 
enum  BType {
  BTypeNone, BTypeBool, BTypeInt8, BTypeUInt8,
  BTypeInt16, BTypeUInt16, BTypeInt32, BTypeUInt32,
  BTypeInt64, BTypeUInt64, BTypeFloat32, BTypeFloat64,
  BTypeChar, BTypeString, BTypeError, BTypeTime,
  BTypeTimeUs, BTypeObj = 100
}
 
enum  BTypeComp {
  BTypeCompSingle, BTypeCompArray, BTypeCompArrayFixed, BTypeCompList,
  BTypeCompDict
}
 

Functions

BTimeout timeoutTicks (BTimeout timeoutUs)
 
BUInt16 bswap_16 (BUInt16 v)
 
BUInt32 bswap_32 (BUInt32 v)
 
BUInt64 bswap_p64 (BUInt64 v)
 
void bswap_copy (int swap, const void *src, void *dst, BUInt32 nBytes, const char *swapType)
 

Variables

const BTimeout BTimeoutForever = 0xFFFFFFFF
 

Macro Definition Documentation

◆ BBigEndian

#define BBigEndian   0

◆ M_PI

#define M_PI   3.14159265358979323846

Typedef Documentation

◆ BChar

typedef char BChar

◆ BDouble

typedef BFloat64 BDouble

◆ BFloat

typedef BFloat32 BFloat

◆ BFloat32

typedef float BFloat32

◆ BFloat64

typedef double BFloat64

◆ BInt

typedef BInt32 BInt

◆ BInt16

typedef int16_t BInt16

◆ BInt32

typedef int32_t BInt32

◆ BInt64

typedef int64_t BInt64

◆ BInt8

typedef int8_t BInt8

◆ Bool

typedef bool Bool

◆ BTimeout

typedef BUInt32 BTimeout

◆ BUInt

typedef BUInt32 BUInt

◆ BUInt16

typedef uint16_t BUInt16

◆ BUInt32

typedef uint32_t BUInt32

◆ BUInt64

typedef uint64_t BUInt64

◆ BUInt8

typedef uint8_t BUInt8

Enumeration Type Documentation

◆ BEventType

enum BEventType
Enumerator
BEventTypeNone 
BEventTypeError 
BEventTypeRead 
BEventTypeReadLine 
BEventTypeWrite 
BEventTypeConnect 
BEventTypeDisconnect 
BEventTypeClientConnect 
BEventTypeClientDisconnect 

◆ BEventWaitSet

Enumerator
BEventWaitNone 
BEventWaitError 
BEventWaitRead 
BEventWaitReadLine 
BEventWaitWrite 
BEventWaitConnect 
BEventWaitDisconnect 
BEventWaitClientConnect 
BEventWaitClientDisconnect 
BEventWaitAny 

◆ BType

enum BType
Enumerator
BTypeNone 
BTypeBool 
BTypeInt8 
BTypeUInt8 
BTypeInt16 
BTypeUInt16 
BTypeInt32 
BTypeUInt32 
BTypeInt64 
BTypeUInt64 
BTypeFloat32 
BTypeFloat64 
BTypeChar 
BTypeString 
BTypeError 
BTypeTime 
BTypeTimeUs 
BTypeObj 

◆ BTypeComp

enum BTypeComp
Enumerator
BTypeCompSingle 
BTypeCompArray 
BTypeCompArrayFixed 
BTypeCompList 
BTypeCompDict 

◆ BUsbType

enum BUsbType
Enumerator
BUsbTypeNone 
BUsbTypeFullSpeed 
BUsbTypeHighSpeed 

Function Documentation

◆ bswap_16()

BUInt16 bswap_16 ( BUInt16  v)
inline

◆ bswap_32()

BUInt32 bswap_32 ( BUInt32  v)
inline

◆ bswap_copy()

void bswap_copy ( int  swap,
const void *  src,
void *  dst,
BUInt32  nBytes,
const char *  swapType 
)

◆ bswap_p64()

BUInt64 bswap_p64 ( BUInt64  v)
inline

◆ timeoutTicks()

BTimeout timeoutTicks ( BTimeout  timeoutUs)
inline

Variable Documentation

◆ BTimeoutForever

const BTimeout BTimeoutForever = 0xFFFFFFFF