NULL
This commit is contained in:
28
user/Utility/user_math.h
Executable file
28
user/Utility/user_math.h
Executable file
@@ -0,0 +1,28 @@
|
||||
#ifndef __usser_math_h__
|
||||
#define __usser_math_h__
|
||||
|
||||
#define LOW_FIRST 0
|
||||
#define HIGH_FIRST 1
|
||||
|
||||
typedef struct
|
||||
{
|
||||
u32 NodeX;
|
||||
u32 NodeH;
|
||||
u32 NodeL;
|
||||
u16 ValueH;
|
||||
u16 ValueL;
|
||||
} TypeSecondary;
|
||||
|
||||
extern TypeSecondary Secondary;
|
||||
|
||||
u8 BCDToHEX(u8 BCDBuffer);
|
||||
u16 HEXToBCD(u8 HEXBuffer);
|
||||
u16 HexCharToBCD(u8 BCDBuffer);
|
||||
u32 HexWORDToBCD(u16 BCDBuffer);
|
||||
u64 HexLongToBCD(u32 BCDBuffer);
|
||||
u64 HexLongLongToBCD(u64 BCDBuffer);
|
||||
void ConvertHEXToBCDArray(u32 convertHex, u8 *resultPointer, u16 covertLen, u16 order);
|
||||
u32 HexWORDToBCD(u16 BCDBuffer);
|
||||
s32 SecondaryCompute(void);
|
||||
u16 WordSubFunction(u16 minuend, u16 subtractor);
|
||||
#endif
|
||||
Reference in New Issue
Block a user