sbgECom Library  4.0.1987-stable
C library to interface SBG Systems IMU/AHRS/INS
sbgTypes.h File Reference

Header file that defines all scalar types. More...

#include <stdint.h>
#include "sbgDefines.h"

Go to the source code of this file.

Data Structures

union  _SbgUint8PtrToUint32Ptr
 
union  _SbgUint8ToInt16
 
union  _SbgUint8ToUint16
 
union  _SbgUint8ToInt32
 
union  _SbgUint8ToUint32
 
union  _SbgUint8ToInt64
 
union  _SbgUint8ToUint64
 
union  _SbgFloatNint
 
union  _SbgDoubleNint
 
struct  _SbgVector3i
 
struct  _SbgVector3ll
 

Typedefs

typedef uint32_t sbgIpAddress
 
typedef union _SbgUint8PtrToUint32Ptr SbgUint8PtrToUint32Ptr
 
typedef union _SbgUint8ToInt16 SbgUint8ToInt16
 
typedef union _SbgUint8ToUint16 SbgUint8ToUint16
 
typedef union _SbgUint8ToInt32 SbgUint8ToInt32
 
typedef union _SbgUint8ToUint32 SbgUint8ToUint32
 
typedef union _SbgUint8ToInt64 SbgUint8ToInt64
 
typedef union _SbgUint8ToUint64 SbgUint8ToUint64
 
typedef union _SbgFloatNint SbgFloatNint
 
typedef union _SbgDoubleNint SbgDoubleNint
 
typedef struct _SbgVector3i SbgVector3i
 
typedef struct _SbgVector3ll SbgVector3ll
 

Detailed Description

Header file that defines all scalar types.

Author
SBG Systems
Date
17 March 2015

The platform endianness should be defined here.

License

The MIT license

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Typedef Documentation

◆ sbgIpAddress

typedef uint32_t sbgIpAddress

Define an IP v4 address stored in 4 bytes. The format is A.B.C.D, each component is 8 bits and stored in Big Endian.

◆ SbgUint8PtrToUint32Ptr

Used to get a uint32_t from a uint8_t array.

◆ SbgUint8ToInt16

Union used to convert a buffer or 2 unit8 two's complement values to a int16_t

◆ SbgUint8ToUint16

Union used to convert a buffer or 2 unit8 values to a uint16_t

◆ SbgUint8ToInt32

Union used to convert a buffer or 4 unit8 two's complement values to a int32_t

◆ SbgUint8ToUint32

Union used to convert a buffer or 4 unit8 values to a uint32_t

◆ SbgUint8ToInt64

Union used to convert a buffer or 8 unit8 two's complement values to a int64_t

◆ SbgUint8ToUint64

Union used to convert a buffer or 8 unit8 values to a uint64_t

◆ SbgFloatNint

typedef union _SbgFloatNint SbgFloatNint

Union that allows type punning (access to a floating point number bits)

◆ SbgDoubleNint

Union that allows type punning (access to a double number bits)

◆ SbgVector3i

typedef struct _SbgVector3i SbgVector3i

Set of 3 int32_t

◆ SbgVector3ll

typedef struct _SbgVector3ll SbgVector3ll

Set of 3 int64_t