Classes | Macros | Typedefs
sbgTypes.h File Reference

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

#include <stdint.h>
Include dependency graph for sbgTypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _DateStructure
 
union  _DoubleNint
 
union  _FloatNint
 
struct  _Split64
 
union  _Uint8PtrToUint32Ptr
 
union  _Uint8ToInt16
 
union  _Uint8ToInt32
 
union  _Uint8ToInt64
 
union  _Uint8ToUint16
 
union  _Uint8ToUint32
 
union  _Uint8ToUint64
 

Macros

#define SBG_MAX_INT_24   (8388607l)
 
#define SBG_MAX_INT_40   (549755813887ll)
 
#define SBG_MAX_INT_48   (140737488355327ll)
 
#define SBG_MAX_INT_56   (36028797018963967ll)
 
#define SBG_MAX_UINT_24   (16777215ul)
 
#define SBG_MAX_UINT_40   (1099511627775ull)
 
#define SBG_MAX_UINT_48   (281474976710655ull)
 
#define SBG_MAX_UINT_56   (72057594037927935ull)
 
#define SBG_MIN_INT_24   (-8388608l)
 
#define SBG_MIN_INT_40   (-549755813887ll - 1)
 
#define SBG_MIN_INT_48   (-140737488355327ll - 1)
 
#define SBG_MIN_INT_56   (-36028797018963967ll - 1)
 

Typedefs

typedef struct _DateStructure DateStructure
 
typedef union _DoubleNint DoubleNint
 
typedef union _FloatNint FloatNint
 
typedef signed short int16
 
typedef signed int int32
 
typedef signed long long int int64
 
typedef signed char int8
 
typedef uint32_t sbgIpAddress
 
typedef struct _Split64 Split64
 
typedef unsigned short uint16
 
typedef unsigned int uint32
 
typedef unsigned long long int uint64
 
typedef unsigned char uint8
 
typedef union _Uint8PtrToUint32Ptr Uint8PtrToUint32Ptr
 
typedef union _Uint8ToInt16 Uint8ToInt16
 
typedef union _Uint8ToInt32 Uint8ToInt32
 
typedef union _Uint8ToInt64 Uint8ToInt64
 
typedef union _Uint8ToUint16 Uint8ToUint16
 
typedef union _Uint8ToUint32 Uint8ToUint32
 
typedef union _Uint8ToUint64 Uint8ToUint64
 

Detailed Description

Header file that defines all scalar types.

Author
SBG Systems (Raphael Siryani)
Date
17 March 2015

The platform endianness should be defined here.

Copyright Notice

Copyright (C) 2007-2013, SBG Systems SAS. All rights reserved.

This source code is intended for use only by SBG Systems SAS and those that have explicit written permission to use it from SBG Systems SAS.

THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.

Definition in file sbgTypes.h.

Macro Definition Documentation

◆ SBG_MAX_INT_24

#define SBG_MAX_INT_24   (8388607l)

Definition at line 32 of file sbgTypes.h.

◆ SBG_MAX_INT_40

#define SBG_MAX_INT_40   (549755813887ll)

Definition at line 36 of file sbgTypes.h.

◆ SBG_MAX_INT_48

#define SBG_MAX_INT_48   (140737488355327ll)

Definition at line 40 of file sbgTypes.h.

◆ SBG_MAX_INT_56

#define SBG_MAX_INT_56   (36028797018963967ll)

Definition at line 44 of file sbgTypes.h.

◆ SBG_MAX_UINT_24

#define SBG_MAX_UINT_24   (16777215ul)

Definition at line 33 of file sbgTypes.h.

◆ SBG_MAX_UINT_40

#define SBG_MAX_UINT_40   (1099511627775ull)

Definition at line 37 of file sbgTypes.h.

◆ SBG_MAX_UINT_48

#define SBG_MAX_UINT_48   (281474976710655ull)

Definition at line 41 of file sbgTypes.h.

◆ SBG_MAX_UINT_56

#define SBG_MAX_UINT_56   (72057594037927935ull)

Definition at line 45 of file sbgTypes.h.

◆ SBG_MIN_INT_24

#define SBG_MIN_INT_24   (-8388608l)

Definition at line 31 of file sbgTypes.h.

◆ SBG_MIN_INT_40

#define SBG_MIN_INT_40   (-549755813887ll - 1)

Definition at line 35 of file sbgTypes.h.

◆ SBG_MIN_INT_48

#define SBG_MIN_INT_48   (-140737488355327ll - 1)

Definition at line 39 of file sbgTypes.h.

◆ SBG_MIN_INT_56

#define SBG_MIN_INT_56   (-36028797018963967ll - 1)

Definition at line 43 of file sbgTypes.h.

Typedef Documentation

◆ DateStructure

typedef struct _DateStructure DateStructure

This structure defines a date

◆ DoubleNint

typedef union _DoubleNint DoubleNint

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

◆ FloatNint

typedef union _FloatNint FloatNint

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

◆ int16

typedef signed short int16

Definition at line 56 of file sbgTypes.h.

◆ int32

typedef signed int int32

Definition at line 57 of file sbgTypes.h.

◆ int64

typedef signed long long int int64

Definition at line 58 of file sbgTypes.h.

◆ int8

typedef signed char int8

Definition at line 55 of file sbgTypes.h.

◆ 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.

Definition at line 64 of file sbgTypes.h.

◆ Split64

typedef struct _Split64 Split64

Structure that splits a 64bits

◆ uint16

typedef unsigned short uint16

Definition at line 51 of file sbgTypes.h.

◆ uint32

typedef unsigned int uint32

Definition at line 52 of file sbgTypes.h.

◆ uint64

typedef unsigned long long int uint64

Definition at line 53 of file sbgTypes.h.

◆ uint8

typedef unsigned char uint8

Definition at line 50 of file sbgTypes.h.

◆ Uint8PtrToUint32Ptr

Used to get a uint32_t from a uint8_t array.

◆ Uint8ToInt16

typedef union _Uint8ToInt16 Uint8ToInt16

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

◆ Uint8ToInt32

typedef union _Uint8ToInt32 Uint8ToInt32

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

◆ Uint8ToInt64

typedef union _Uint8ToInt64 Uint8ToInt64

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

◆ Uint8ToUint16

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

◆ Uint8ToUint32

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

◆ Uint8ToUint64

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



sbg_driver
Author(s): SBG Systems
autogenerated on Sat Sep 3 2022 02:53:36