eGUI alias D4D  Release 3.0
Reference Manual
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
D4D BASE API Macro's Specification
Collaboration diagram for D4D BASE API Macro's Specification:

Macros

#define D4D_SWAP_WORD(x)
 Macro that swap bytes into 16-bit variable. More...
 
#define D4D_LOG_EXOR(a, b)
 Macro that do logical EX-OR on the input variables. More...
 
#define D4D_UNUSED(x)
 Macro used just for notify compiler that the input parameter is not used. More...
 
#define D4D_TEXT_LEN(txt)
 Macro used to get count of chars in constant strings. More...
 

Detailed Description

This section specifies the exact usage for each API macro.

Macro Definition Documentation

#define D4D_LOG_EXOR (   a,
 
)

Macro that do logical EX-OR on the input variables.

Parameters
a- input A
b- input B
Returns
the result of the logical EX-OR operation
Note
This is help macro to do logical (NOT binary) EX-OR operation.

Definition at line 497 of file d4d_base.h.

#define D4D_SWAP_WORD (   x)

Macro that swap bytes into 16-bit variable.

Parameters
x- Word to Swap
Returns
swapped word
Note
This is help macro to swap bytes in word (obsolete macro replaced by D4D_SwapWord())

Definition at line 488 of file d4d_base.h.

#define D4D_TEXT_LEN (   txt)

Macro used to get count of chars in constant strings.

Parameters
txt- constant string
Returns
lenght of string

Definition at line 511 of file d4d_base.h.

#define D4D_UNUSED (   x)

Macro used just for notify compiler that the input parameter is not used.

Parameters
x- unused function input parameter
Returns
none

Definition at line 504 of file d4d_base.h.