NexMotion  1.4.0
Open Robots & Machines [WIP]
nex_type.h File Reference

A head file define variable types for NexMotion Library. More...

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

Go to the source code of this file.

Macros

#define I32_T_MAX   ( 2147483647)
 Define I32_T_MAX to present maximum value of integer type. More...
 
#define I32_T_MIN   (-2147483648)
 Define I32_T_MIN to present minimum value of integer type. More...
 
#define BOOL_TRUE   (1)
 Define BOOL_TRUE to present true value (1). More...
 
#define BOOL_FALSE   (0)
 Define BOOL_FALSE to present false value (0). More...
 
#define _opt_null_
 It enable input pointer can be null. More...
 

Typedefs

typedef int BOOL_T
 0:False, else:True
 
typedef unsigned char U8_T
 0 ~ 255
 
typedef unsigned short U16_T
 0 ~ 65535
 
typedef unsigned int U32_T
 0 ~ 4294967295
 
typedef unsigned long long U64_T
 0 ~ 18446744073709551615
 
typedef char I8_T
 -128 ~ 127
 
typedef short I16_T
 -32768 ~ 32767
 
typedef int I32_T
 -2147483648 ~ 2147483647
 
typedef long long I64_T
 -9223372036854775808 ~ 9223372036854775807
 
typedef float F32_T
 Single precision floating point.
 
typedef double F64_T
 Double precision floating point.
 
typedef I32_T RTN_ERR
 Return code. More...
 

Detailed Description

A head file define variable types for NexMotion Library.

Author
NexCOBOT, Inc.

Macro Definition Documentation

#define _opt_null_

It enable input pointer can be null.

#define BOOL_FALSE   (0)

Define BOOL_FALSE to present false value (0).

#define BOOL_TRUE   (1)

Define BOOL_TRUE to present true value (1).

#define I32_T_MAX   ( 2147483647)

Define I32_T_MAX to present maximum value of integer type.

#define I32_T_MIN   (-2147483648)

Define I32_T_MIN to present minimum value of integer type.

Typedef Documentation

typedef I32_T RTN_ERR

Return code.

Return error code. See error_code define file (NexMotionError.h).