eGUI alias D4D  Release 3.0
Reference Manual
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
d4d_math.h File Reference
This graph shows which files directly or indirectly include this file:

Macros

#define D4D_ANGLE_DEG(deg)
 
#define D4D_MulDivUU
 
#define D4D_MulDivSU
 
#define D4D_LimitU
 
#define D4D_LimitS
 

Functions

sByte D4D_Sin (Byte x)
 Sine calculation using lookup table. More...
 
sByte D4D_Cos (Byte x)
 Cosine calculation using lookup table. More...
 
Byte D4D_MulDivUU8 (Byte u1, Byte u2, Byte d)
 Simple proportion unsigned calculation - 8 bit. More...
 
sByte D4D_MulDivSU8 (sByte s, Byte u, Byte d)
 Simple proportion signed calculation - 8 bit. More...
 
Word D4D_MulDivUU16 (Word u1, Word u2, Word d)
 Simple proportion unsigned calculation - 16 bit. More...
 
sWord D4D_MulDivSU16 (sWord s, Word u, Word d)
 Simple proportion signed calculation - 8 bit. More...
 
Byte D4D_Abs (sByte num)
 Calculation of absolute value - 8 bit. More...
 
Word D4D_Abs16 (sWord num)
 Calculation of absolute value - 16 bit. More...
 
LWord D4D_Abs32 (sLWord num)
 Calculation of absolute value - 32 bit. More...
 
Word D4D_LimitU16 (Word val, Word min, Word max)
 Calculation of limitation value (unsigned) - 16 bit. More...
 
sWord D4D_LimitS16 (sWord val, sWord min, sWord max)
 Calculation of limitation value (signed) - 16 bit. More...
 
Byte D4D_LimitU8 (Byte val, Byte min, Byte max)
 Calculation of limitation value (unsigned) - 8 bit. More...
 
sByte D4D_LimitS8 (sByte val, sByte min, sByte max)
 Calculation of limitation value (signed) - 8 bit. More...
 

Detailed Description

D4D Driver math helper functions header file.

Author
Michal hanak, Petr Gargulak
Version
0.0.17.0
Date
Oct-2-2013

Definition in file d4d_math.h.

Macro Definition Documentation

#define D4D_ANGLE_DEG (   deg)

Definition at line 66 of file d4d_math.h.

#define D4D_LimitS

Definition at line 106 of file d4d_math.h.

#define D4D_LimitU

Definition at line 105 of file d4d_math.h.

#define D4D_MulDivSU

Definition at line 104 of file d4d_math.h.

#define D4D_MulDivUU

Definition at line 103 of file d4d_math.h.