![]() |
WE310F5
39.00.000
|
This section describes various M2MB TYPES. More...
#define | NULL ((void*)0) |
#define | TRUE 1 |
#define | FALSE 0 |
#define | kB (1024) |
#define | MB (kB * kB) |
#define | M2MB_ALIGN(x, size) ( ( ( MEM_W )(x) + size - 1 ) & ( ~( ( MEM_W )size - 1 ) ) ) |
#define | EXPANDX(x) x |
#define | EXPANDXY(x, y) x,y |
#define | ARG_LENGTH(...) EXPANDX(ARG_LENGTH__(__VA_ARGS__)) |
#define | ARG_LENGTH__(...) |
#define | ARG_LENGTH_(_, _63, _62, _61, _60, _59, _58, _57, _56, _55, _54, _53, _52, _51, _50, _49, _48, _47, _46, _45, _44, _43, _42, _41, _40, _39, _38, _37, _36, _35, _34, _33, _32, _31, _30, _29, _28, _27, _26, _25, _24, _23, _22, _21, _20, _19, _18, _17, _16, _15, _14, _13, _12, _11, _10, _9, _8, _7, _6, _5, _4, _3, _2, _1, Count, ...) EXPANDX(Count) |
#define | ARG_EVEN(...) EVEN_DROP_TYPE(ARG_LENGTH(__VA_ARGS__),__VA_ARGS__) |
#define | EVEN_DROP_TYPE(n, ...) EVEN_DROP_TYPE_(n,__VA_ARGS__) |
#define | EVEN_DROP_TYPE_(n, ...) EVEN_DROP_TYPE_##n(__VA_ARGS__) |
#define | EVEN_DROP_TYPE_2(arg1, arg2, ...) arg2 |
#define | EVEN_DROP_TYPE_4(arg1, arg2, ...) arg2, EVEN_DROP_TYPE_2(__VA_ARGS__) |
#define | EVEN_DROP_TYPE_6(arg1, arg2, ...) arg2, EVEN_DROP_TYPE_4(__VA_ARGS__) |
#define | EVEN_DROP_TYPE_8(arg1, arg2, ...) arg2, EVEN_DROP_TYPE_6(__VA_ARGS__) |
#define | EVEN_DROP_TYPE_10(arg1, arg2, ...) arg2, EVEN_DROP_TYPE_8(__VA_ARGS__) |
#define | EVEN_DROP_TYPE_12(arg1, arg2, ...) arg2, EVEN_DROP_TYPE_10(__VA_ARGS__) |
#define | EVEN_DROP_TYPE_14(arg1, arg2, ...) arg2, EVEN_DROP_TYPE_12(__VA_ARGS__) |
#define | EVEN_DROP_TYPE_16(arg1, arg2, ...) arg2, EVEN_DROP_TYPE_14(__VA_ARGS__) |
#define | EVEN_DROP_TYPE_18(arg1, arg2, ...) arg2, EVEN_DROP_TYPE_16(__VA_ARGS__) |
#define | EVEN_DROP_TYPE_20(arg1, arg2, ...) arg2, EVEN_DROP_TYPE_18(__VA_ARGS__) |
#define | EVEN_DROP_TYPE_22(arg1, arg2, ...) arg2, EVEN_DROP_TYPE_20(__VA_ARGS__) |
#define | EVEN_DROP_TYPE_24(arg1, arg2, ...) arg2, EVEN_DROP_TYPE_22(__VA_ARGS__) |
#define | EVEN_DROP_TYPE_26(arg1, arg2, ...) arg2, EVEN_DROP_TYPE_24(__VA_ARGS__) |
#define | EVEN_DROP_TYPE_28(arg1, arg2, ...) arg2, EVEN_DROP_TYPE_26(__VA_ARGS__) |
#define | EVEN_DROP_TYPE_30(arg1, arg2, ...) arg2, EVEN_DROP_TYPE_28(__VA_ARGS__) |
#define | EVEN_DROP_TYPE_32(arg1, arg2, ...) arg2, EVEN_DROP_TYPE_30(__VA_ARGS__) |
#define | EVEN_DROP_TYPE_34(arg1, arg2, ...) arg2, EVEN_DROP_TYPE_32(__VA_ARGS__) |
#define | EVEN_DROP_TYPE_36(arg1, arg2, ...) arg2, EVEN_DROP_TYPE_34(__VA_ARGS__) |
#define | EVEN_DROP_TYPE_38(arg1, arg2, ...) arg2, EVEN_DROP_TYPE_36(__VA_ARGS__) |
#define | EVEN_DROP_TYPE_40(arg1, arg2, ...) arg2, EVEN_DROP_TYPE_38(__VA_ARGS__) |
#define | ARG_ODD(...) ODD_DROP_TYPE(ARG_LENGTH(__VA_ARGS__),__VA_ARGS__) |
#define | ODD_DROP_TYPE(n, ...) ODD_DROP_TYPE_(n,__VA_ARGS__) |
#define | ODD_DROP_TYPE_(n, ...) ODD_DROP_TYPE_##n(__VA_ARGS__) |
#define | ODD_DROP_TYPE_2(arg1, arg2, ...) arg1 |
#define | ODD_DROP_TYPE_4(arg1, arg2, ...) arg1, ODD_DROP_TYPE_2(__VA_ARGS__) |
#define | ODD_DROP_TYPE_6(arg1, arg2, ...) arg1, ODD_DROP_TYPE_4(__VA_ARGS__) |
#define | ODD_DROP_TYPE_8(arg1, arg2, ...) arg1, ODD_DROP_TYPE_6(__VA_ARGS__) |
#define | ODD_DROP_TYPE_10(arg1, arg2, ...) arg1, ODD_DROP_TYPE_8(__VA_ARGS__) |
#define | ODD_DROP_TYPE_12(arg1, arg2, ...) arg1, ODD_DROP_TYPE_10(__VA_ARGS__) |
#define | ODD_DROP_TYPE_14(arg1, arg2, ...) arg1, ODD_DROP_TYPE_12(__VA_ARGS__) |
#define | ODD_DROP_TYPE_16(arg1, arg2, ...) arg1, ODD_DROP_TYPE_14(__VA_ARGS__) |
#define | ODD_DROP_TYPE_18(arg1, arg2, ...) arg1, ODD_DROP_TYPE_16(__VA_ARGS__) |
#define | ODD_DROP_TYPE_20(arg1, arg2, ...) arg1, ODD_DROP_TYPE_18(__VA_ARGS__) |
#define | ODD_DROP_TYPE_22(arg1, arg2, ...) arg1, ODD_DROP_TYPE_20(__VA_ARGS__) |
#define | ODD_DROP_TYPE_24(arg1, arg2, ...) arg1, ODD_DROP_TYPE_22(__VA_ARGS__) |
#define | ODD_DROP_TYPE_26(arg1, arg2, ...) arg1, ODD_DROP_TYPE_24(__VA_ARGS__) |
#define | ODD_DROP_TYPE_28(arg1, arg2, ...) arg1, ODD_DROP_TYPE_26(__VA_ARGS__) |
#define | ODD_DROP_TYPE_30(arg1, arg2, ...) arg1, ODD_DROP_TYPE_28(__VA_ARGS__) |
#define | ODD_DROP_TYPE_32(arg1, arg2, ...) arg1, ODD_DROP_TYPE_30(__VA_ARGS__) |
#define | ODD_DROP_TYPE_34(arg1, arg2, ...) arg1, ODD_DROP_TYPE_32(__VA_ARGS__) |
#define | ODD_DROP_TYPE_36(arg1, arg2, ...) arg1, ODD_DROP_TYPE_34(__VA_ARGS__) |
#define | ODD_DROP_TYPE_38(arg1, arg2, ...) arg1, ODD_DROP_TYPE_36(__VA_ARGS__) |
#define | ODD_DROP_TYPE_40(arg1, arg2, ...) arg1, ODD_DROP_TYPE_38(__VA_ARGS__) |
#define | CMDS(...) ARG_LENGTH(__VA_ARGS__), __VA_ARGS__ |
#define | CMDS_ARGS(...) (ARG_LENGTH(__VA_ARGS__)/2), ARG_ODD(__VA_ARGS__), ARG_EVEN(__VA_ARGS__) |
#define | ENUM_TO_INT(Prefix) |
typedef void | VOID |
typedef char | CHAR |
typedef float | FLOAT32 |
typedef double | FLOAT64 |
typedef signed char | INT8 |
typedef signed short | INT16 |
typedef signed int | INT32 |
typedef signed long long | INT64 |
typedef unsigned char | UINT8 |
typedef unsigned short | UINT16 |
typedef unsigned long int | UINT32 |
typedef unsigned long | ULONG |
typedef unsigned long long | UINT64 |
typedef UINT32 | MEM_W |
typedef UINT8 | BOOLEAN |
typedef INT32 | iHANDLE |
typedef void * | HANDLE |
typedef UINT32 | SIZE_T |
typedef INT32 | SSIZE_T |
typedef UINT16 | DEV_T |
typedef UINT16 | MODE_T |
typedef INT32 | OFF_T |
typedef UINT32 | TIME_T |
typedef UINT32 | INODE_T |
typedef UINT8 | NLINK_T |
typedef UINT32 | M2MB_BOOL_T |
This section describes various M2MB TYPES.
#define ARG_EVEN | ( | ... | ) | EVEN_DROP_TYPE(ARG_LENGTH(__VA_ARGS__),__VA_ARGS__) |
Definition at line 141 of file m2mb_types.h.
#define ARG_LENGTH | ( | ... | ) | EXPANDX(ARG_LENGTH__(__VA_ARGS__)) |
Definition at line 121 of file m2mb_types.h.
#define ARG_LENGTH_ | ( | _, | |
_63, | |||
_62, | |||
_61, | |||
_60, | |||
_59, | |||
_58, | |||
_57, | |||
_56, | |||
_55, | |||
_54, | |||
_53, | |||
_52, | |||
_51, | |||
_50, | |||
_49, | |||
_48, | |||
_47, | |||
_46, | |||
_45, | |||
_44, | |||
_43, | |||
_42, | |||
_41, | |||
_40, | |||
_39, | |||
_38, | |||
_37, | |||
_36, | |||
_35, | |||
_34, | |||
_33, | |||
_32, | |||
_31, | |||
_30, | |||
_29, | |||
_28, | |||
_27, | |||
_26, | |||
_25, | |||
_24, | |||
_23, | |||
_22, | |||
_21, | |||
_20, | |||
_19, | |||
_18, | |||
_17, | |||
_16, | |||
_15, | |||
_14, | |||
_13, | |||
_12, | |||
_11, | |||
_10, | |||
_9, | |||
_8, | |||
_7, | |||
_6, | |||
_5, | |||
_4, | |||
_3, | |||
_2, | |||
_1, | |||
Count, | |||
... | |||
) | EXPANDX(Count) |
Definition at line 131 of file m2mb_types.h.
#define ARG_LENGTH__ | ( | ... | ) |
Definition at line 122 of file m2mb_types.h.
#define ARG_ODD | ( | ... | ) | ODD_DROP_TYPE(ARG_LENGTH(__VA_ARGS__),__VA_ARGS__) |
Definition at line 167 of file m2mb_types.h.
#define CMDS | ( | ... | ) | ARG_LENGTH(__VA_ARGS__), __VA_ARGS__ |
Definition at line 195 of file m2mb_types.h.
#define CMDS_ARGS | ( | ... | ) | (ARG_LENGTH(__VA_ARGS__)/2), ARG_ODD(__VA_ARGS__), ARG_EVEN(__VA_ARGS__) |
Definition at line 205 of file m2mb_types.h.
#define ENUM_TO_INT | ( | Prefix | ) |
Definition at line 207 of file m2mb_types.h.
#define EVEN_DROP_TYPE | ( | n, | |
... | |||
) | EVEN_DROP_TYPE_(n,__VA_ARGS__) |
Definition at line 142 of file m2mb_types.h.
#define EVEN_DROP_TYPE_ | ( | n, | |
... | |||
) | EVEN_DROP_TYPE_##n(__VA_ARGS__) |
Definition at line 143 of file m2mb_types.h.
#define EVEN_DROP_TYPE_10 | ( | arg1, | |
arg2, | |||
... | |||
) | arg2, EVEN_DROP_TYPE_8(__VA_ARGS__) |
Definition at line 149 of file m2mb_types.h.
#define EVEN_DROP_TYPE_12 | ( | arg1, | |
arg2, | |||
... | |||
) | arg2, EVEN_DROP_TYPE_10(__VA_ARGS__) |
Definition at line 150 of file m2mb_types.h.
#define EVEN_DROP_TYPE_14 | ( | arg1, | |
arg2, | |||
... | |||
) | arg2, EVEN_DROP_TYPE_12(__VA_ARGS__) |
Definition at line 151 of file m2mb_types.h.
#define EVEN_DROP_TYPE_16 | ( | arg1, | |
arg2, | |||
... | |||
) | arg2, EVEN_DROP_TYPE_14(__VA_ARGS__) |
Definition at line 152 of file m2mb_types.h.
#define EVEN_DROP_TYPE_18 | ( | arg1, | |
arg2, | |||
... | |||
) | arg2, EVEN_DROP_TYPE_16(__VA_ARGS__) |
Definition at line 153 of file m2mb_types.h.
#define EVEN_DROP_TYPE_2 | ( | arg1, | |
arg2, | |||
... | |||
) | arg2 |
Definition at line 145 of file m2mb_types.h.
#define EVEN_DROP_TYPE_20 | ( | arg1, | |
arg2, | |||
... | |||
) | arg2, EVEN_DROP_TYPE_18(__VA_ARGS__) |
Definition at line 154 of file m2mb_types.h.
#define EVEN_DROP_TYPE_22 | ( | arg1, | |
arg2, | |||
... | |||
) | arg2, EVEN_DROP_TYPE_20(__VA_ARGS__) |
Definition at line 155 of file m2mb_types.h.
#define EVEN_DROP_TYPE_24 | ( | arg1, | |
arg2, | |||
... | |||
) | arg2, EVEN_DROP_TYPE_22(__VA_ARGS__) |
Definition at line 156 of file m2mb_types.h.
#define EVEN_DROP_TYPE_26 | ( | arg1, | |
arg2, | |||
... | |||
) | arg2, EVEN_DROP_TYPE_24(__VA_ARGS__) |
Definition at line 157 of file m2mb_types.h.
#define EVEN_DROP_TYPE_28 | ( | arg1, | |
arg2, | |||
... | |||
) | arg2, EVEN_DROP_TYPE_26(__VA_ARGS__) |
Definition at line 158 of file m2mb_types.h.
#define EVEN_DROP_TYPE_30 | ( | arg1, | |
arg2, | |||
... | |||
) | arg2, EVEN_DROP_TYPE_28(__VA_ARGS__) |
Definition at line 159 of file m2mb_types.h.
#define EVEN_DROP_TYPE_32 | ( | arg1, | |
arg2, | |||
... | |||
) | arg2, EVEN_DROP_TYPE_30(__VA_ARGS__) |
Definition at line 160 of file m2mb_types.h.
#define EVEN_DROP_TYPE_34 | ( | arg1, | |
arg2, | |||
... | |||
) | arg2, EVEN_DROP_TYPE_32(__VA_ARGS__) |
Definition at line 161 of file m2mb_types.h.
#define EVEN_DROP_TYPE_36 | ( | arg1, | |
arg2, | |||
... | |||
) | arg2, EVEN_DROP_TYPE_34(__VA_ARGS__) |
Definition at line 162 of file m2mb_types.h.
#define EVEN_DROP_TYPE_38 | ( | arg1, | |
arg2, | |||
... | |||
) | arg2, EVEN_DROP_TYPE_36(__VA_ARGS__) |
Definition at line 163 of file m2mb_types.h.
#define EVEN_DROP_TYPE_4 | ( | arg1, | |
arg2, | |||
... | |||
) | arg2, EVEN_DROP_TYPE_2(__VA_ARGS__) |
Definition at line 146 of file m2mb_types.h.
#define EVEN_DROP_TYPE_40 | ( | arg1, | |
arg2, | |||
... | |||
) | arg2, EVEN_DROP_TYPE_38(__VA_ARGS__) |
Definition at line 164 of file m2mb_types.h.
#define EVEN_DROP_TYPE_6 | ( | arg1, | |
arg2, | |||
... | |||
) | arg2, EVEN_DROP_TYPE_4(__VA_ARGS__) |
Definition at line 147 of file m2mb_types.h.
#define EVEN_DROP_TYPE_8 | ( | arg1, | |
arg2, | |||
... | |||
) | arg2, EVEN_DROP_TYPE_6(__VA_ARGS__) |
Definition at line 148 of file m2mb_types.h.
#define EXPANDX | ( | x | ) | x |
Definition at line 118 of file m2mb_types.h.
#define EXPANDXY | ( | x, | |
y | |||
) | x,y |
Definition at line 119 of file m2mb_types.h.
#define FALSE 0 |
Definition at line 64 of file m2mb_types.h.
#define kB (1024) |
Definition at line 67 of file m2mb_types.h.
Definition at line 101 of file m2mb_types.h.
Definition at line 68 of file m2mb_types.h.
#define NULL ((void*)0) |
Definition at line 56 of file m2mb_types.h.
#define ODD_DROP_TYPE | ( | n, | |
... | |||
) | ODD_DROP_TYPE_(n,__VA_ARGS__) |
Definition at line 168 of file m2mb_types.h.
#define ODD_DROP_TYPE_ | ( | n, | |
... | |||
) | ODD_DROP_TYPE_##n(__VA_ARGS__) |
Definition at line 169 of file m2mb_types.h.
#define ODD_DROP_TYPE_10 | ( | arg1, | |
arg2, | |||
... | |||
) | arg1, ODD_DROP_TYPE_8(__VA_ARGS__) |
Definition at line 176 of file m2mb_types.h.
#define ODD_DROP_TYPE_12 | ( | arg1, | |
arg2, | |||
... | |||
) | arg1, ODD_DROP_TYPE_10(__VA_ARGS__) |
Definition at line 177 of file m2mb_types.h.
#define ODD_DROP_TYPE_14 | ( | arg1, | |
arg2, | |||
... | |||
) | arg1, ODD_DROP_TYPE_12(__VA_ARGS__) |
Definition at line 178 of file m2mb_types.h.
#define ODD_DROP_TYPE_16 | ( | arg1, | |
arg2, | |||
... | |||
) | arg1, ODD_DROP_TYPE_14(__VA_ARGS__) |
Definition at line 179 of file m2mb_types.h.
#define ODD_DROP_TYPE_18 | ( | arg1, | |
arg2, | |||
... | |||
) | arg1, ODD_DROP_TYPE_16(__VA_ARGS__) |
Definition at line 180 of file m2mb_types.h.
#define ODD_DROP_TYPE_2 | ( | arg1, | |
arg2, | |||
... | |||
) | arg1 |
Definition at line 172 of file m2mb_types.h.
#define ODD_DROP_TYPE_20 | ( | arg1, | |
arg2, | |||
... | |||
) | arg1, ODD_DROP_TYPE_18(__VA_ARGS__) |
Definition at line 181 of file m2mb_types.h.
#define ODD_DROP_TYPE_22 | ( | arg1, | |
arg2, | |||
... | |||
) | arg1, ODD_DROP_TYPE_20(__VA_ARGS__) |
Definition at line 182 of file m2mb_types.h.
#define ODD_DROP_TYPE_24 | ( | arg1, | |
arg2, | |||
... | |||
) | arg1, ODD_DROP_TYPE_22(__VA_ARGS__) |
Definition at line 183 of file m2mb_types.h.
#define ODD_DROP_TYPE_26 | ( | arg1, | |
arg2, | |||
... | |||
) | arg1, ODD_DROP_TYPE_24(__VA_ARGS__) |
Definition at line 184 of file m2mb_types.h.
#define ODD_DROP_TYPE_28 | ( | arg1, | |
arg2, | |||
... | |||
) | arg1, ODD_DROP_TYPE_26(__VA_ARGS__) |
Definition at line 185 of file m2mb_types.h.
#define ODD_DROP_TYPE_30 | ( | arg1, | |
arg2, | |||
... | |||
) | arg1, ODD_DROP_TYPE_28(__VA_ARGS__) |
Definition at line 186 of file m2mb_types.h.
#define ODD_DROP_TYPE_32 | ( | arg1, | |
arg2, | |||
... | |||
) | arg1, ODD_DROP_TYPE_30(__VA_ARGS__) |
Definition at line 187 of file m2mb_types.h.
#define ODD_DROP_TYPE_34 | ( | arg1, | |
arg2, | |||
... | |||
) | arg1, ODD_DROP_TYPE_32(__VA_ARGS__) |
Definition at line 188 of file m2mb_types.h.
#define ODD_DROP_TYPE_36 | ( | arg1, | |
arg2, | |||
... | |||
) | arg1, ODD_DROP_TYPE_34(__VA_ARGS__) |
Definition at line 189 of file m2mb_types.h.
#define ODD_DROP_TYPE_38 | ( | arg1, | |
arg2, | |||
... | |||
) | arg1, ODD_DROP_TYPE_36(__VA_ARGS__) |
Definition at line 190 of file m2mb_types.h.
#define ODD_DROP_TYPE_4 | ( | arg1, | |
arg2, | |||
... | |||
) | arg1, ODD_DROP_TYPE_2(__VA_ARGS__) |
Definition at line 173 of file m2mb_types.h.
#define ODD_DROP_TYPE_40 | ( | arg1, | |
arg2, | |||
... | |||
) | arg1, ODD_DROP_TYPE_38(__VA_ARGS__) |
Definition at line 191 of file m2mb_types.h.
#define ODD_DROP_TYPE_6 | ( | arg1, | |
arg2, | |||
... | |||
) | arg1, ODD_DROP_TYPE_4(__VA_ARGS__) |
Definition at line 174 of file m2mb_types.h.
#define ODD_DROP_TYPE_8 | ( | arg1, | |
arg2, | |||
... | |||
) | arg1, ODD_DROP_TYPE_6(__VA_ARGS__) |
Definition at line 175 of file m2mb_types.h.
#define TRUE 1 |
Definition at line 60 of file m2mb_types.h.
Definition at line 95 of file m2mb_types.h.
typedef char CHAR |
8-bit plain char used for character data
Definition at line 76 of file m2mb_types.h.
Definition at line 108 of file m2mb_types.h.
typedef float FLOAT32 |
32-bit floating point
Definition at line 77 of file m2mb_types.h.
typedef double FLOAT64 |
64-bit extended floating point
Definition at line 78 of file m2mb_types.h.
typedef void* HANDLE |
Definition at line 98 of file m2mb_types.h.
Definition at line 96 of file m2mb_types.h.
Definition at line 112 of file m2mb_types.h.
typedef signed short INT16 |
16-bit signed integer
Definition at line 81 of file m2mb_types.h.
typedef signed int INT32 |
32-bit signed integer
Definition at line 82 of file m2mb_types.h.
typedef signed long long INT64 |
64-bit signed integer
Definition at line 83 of file m2mb_types.h.
typedef signed char INT8 |
8-bit signed integer, used for numeric data
Definition at line 80 of file m2mb_types.h.
typedef UINT32 M2MB_BOOL_T |
Definition at line 116 of file m2mb_types.h.
memory width of bus memory : e.g 32 bits
Definition at line 94 of file m2mb_types.h.
Definition at line 109 of file m2mb_types.h.
Definition at line 113 of file m2mb_types.h.
Definition at line 110 of file m2mb_types.h.
Definition at line 105 of file m2mb_types.h.
Definition at line 107 of file m2mb_types.h.
Definition at line 111 of file m2mb_types.h.
typedef unsigned short UINT16 |
16-bit unsigned integer
Definition at line 87 of file m2mb_types.h.
typedef unsigned long int UINT32 |
32-bit unsigned integer
Definition at line 88 of file m2mb_types.h.
typedef unsigned long long UINT64 |
64-bit unsigned integer
Definition at line 90 of file m2mb_types.h.
typedef unsigned char UINT8 |
8-bit unsigned integer, used for numeric data
Definition at line 86 of file m2mb_types.h.
typedef unsigned long ULONG |
32-bit unsigned long
Definition at line 89 of file m2mb_types.h.
typedef void VOID |
Definition at line 74 of file m2mb_types.h.