MiniGUI API Reference (MiniGUI-Processes)  v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Macros

Macros

#define MGUI_LIL_ENDIAN   1234
 Little endianness. More...
 
#define MGUI_BIG_ENDIAN   4321
 Big endianness. More...
 
#define MGUI_BYTEORDER   MGUI_LIL_ENDIAN
 The byte order (endianness) of the target system. More...
 

Detailed Description

Macro Definition Documentation

#define MGUI_BIG_ENDIAN   4321

Big endianness.

Definition at line 238 of file common.h.

#define MGUI_BYTEORDER   MGUI_LIL_ENDIAN

The byte order (endianness) of the target system.

This macro will be either defined to MGUI_LIL_ENDIAN or MGUI_BIG_ENDIAN. You can use the code like below

1 #if MGUI_BYTEORDER == MGUI_LIL_ENDIAN
2  ... // code for little endian system.
3 #else
4  ... // code for big endian system.
5 #endif

to write endianness independent code.

Definition at line 270 of file common.h.

#define MGUI_LIL_ENDIAN   1234

Little endianness.

Definition at line 233 of file common.h.