Electronics and Software
Engineering Innovation
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 int8_t Int8
 
typedef uint8_t UInt8
 
typedef int16_t Int16
 
typedef uint16_t UInt16
 
typedef int32_t Int32
 
typedef uint32_t UInt32
 
typedef int64_t Int64
 
typedef uint64_t UInt64
 
typedef float Float32
 
typedef double Float64
 
typedef Int32 Int
 
typedef UInt32 UInt
 
typedef Float32 Float
 
typedef Float64 Double
 
typedef BUInt32 BTimeout
 

Enumerations

enum  BEventType {
  BEventTypeNone, BEventTypeError, BEventTypeRead, BEventTypeWrite,
  BEventTypeDisconnect
}
 
enum  BEventWaitSet {
  BEventWaitNone = 0x00, BEventWaitError = 0x01, BEventWaitRead = 0x02, BEventWaitWrite = 0x04,
  BEventWaitDisconnect = 0x08, 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,
  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

◆ Double

typedef Float64 Double

◆ Float

typedef Float32 Float

◆ Float32

typedef float Float32

◆ Float64

typedef double Float64

◆ Int

typedef Int32 Int

◆ Int16

typedef int16_t Int16

◆ Int32

typedef int32_t Int32

◆ Int64

typedef int64_t Int64

◆ Int8

typedef int8_t Int8

◆ UInt

typedef UInt32 UInt

◆ UInt16

typedef uint16_t UInt16

◆ UInt32

typedef uint32_t UInt32

◆ UInt64

typedef uint64_t UInt64

◆ UInt8

typedef uint8_t UInt8

Enumeration Type Documentation

◆ BEventType

enum BEventType
Enumerator
BEventTypeNone 
BEventTypeError 
BEventTypeRead 
BEventTypeWrite 
BEventTypeDisconnect 

◆ BEventWaitSet

Enumerator
BEventWaitNone 
BEventWaitError 
BEventWaitRead 
BEventWaitWrite 
BEventWaitDisconnect 
BEventWaitAny 

◆ BType

enum BType
Enumerator
BTypeNone 
BTypeBool 
BTypeInt8 
BTypeUInt8 
BTypeInt16 
BTypeUInt16 
BTypeInt32 
BTypeUInt32 
BTypeInt64 
BTypeUInt64 
BTypeFloat32 
BTypeFloat64 
BTypeChar 
BTypeString 
BTypeError 
BTypeTime 
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