#include <math.h>
#include <stdio.h>
#include <sys/timeb.h>
#include <time.h>
#include "FEDM.h"
#include "FEDM_Functions.h"
Go to the source code of this file.
Functions | |
_FEDM_ISC_CORE_EXT_FUNCT char * | FEDM_AddOff2BlockNr (const char *ID, int iOffset) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_ConvAsciiCharToHexUChar (unsigned char *ucInBuf, int iInBufLen, unsigned char *ucOutBuf, int iOutBufLen) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_ConvBcdCharToHexUChar (unsigned char *ucInBuf, int iInBufLen, unsigned char *ucOutBuf, int iOutBufLen) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_ConvHexCharToHexUChar (char *cInBuf, int iBufLen, unsigned char *ucOutBuf, int iOutBufLen) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_ConvHexCharToInt (char *cInBuf, int iBufLen, int *iOut) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_ConvHexCharToInt64 (char *cInBuf, int iBufLen, __int64 *i64Out) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_ConvHexCharToUInt (char *cInBuf, int iBufLen, unsigned int *uiOut) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_ConvHexCharToUInt64 (char *cInBuf, int iBufLen, unsigned __int64 *ui64Out) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_ConvHexStrToHexUChar (string sIn, unsigned char *ucOutBuf, int iOutBufLen) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_ConvHexStrToInt (string sIn, int *iOut) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_ConvHexStrToInt64 (string sIn, __int64 *i64Out) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_ConvHexStrToUInt (string sIn, unsigned int *uiOut) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_ConvHexStrToUInt64 (string sIn, unsigned __int64 *ui64Out) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_ConvHexUCharToBcdChar (unsigned char *ucInBuf, int iInBufLen, unsigned char *ucOutBuf, int iOutBufLen) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_ConvHexUCharToHexChar (unsigned char *ucInBuf, int iInBufLen, char *cOut, int iOutBufLen) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_ConvHexUCharToHexStr (unsigned char *ucInBuf, int iInBufLen, string &sOut) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_ConvHexUCharToInt (unsigned char *ucInBuf, int iInBufLen, int *iOut) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_ConvHexUCharToInt64 (unsigned char *ucInBuf, int iInBufLen, __int64 *i64Out) |
_FEDM_ISC_CORE_EXT_FUNCT void | FEDM_ConvHexUCharToTwoAscii (unsigned char ucIn, unsigned char &ucOut1, unsigned char &ucOut2) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_ConvHexUCharToUInt (unsigned char *ucInBuf, int iInBufLen, unsigned int *uiOut) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_ConvHexUCharToUInt64 (unsigned char *ucInBuf, int iInBufLen, unsigned __int64 *ui64Out) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_ConvInt64ToHexChar (__int64 i64In, char *cOut, int iOutBufLen) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_ConvInt64ToHexStr (__int64 i64In, string &sOut) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_ConvInt64ToHexUChar (__int64 i64In, unsigned char *ucOutBuf, int iOutBufLen) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_ConvIntToHexChar (int iIn, char *cOut, int iOutBufLen) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_ConvIntToHexStr (int iIn, string &sOut) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_ConvIntToHexUChar (int iIn, unsigned char *ucOutBuf, int iOutBufLen) |
_FEDM_ISC_CORE_EXT_FUNCT unsigned char | FEDM_ConvTwoAsciiToUChar (unsigned char ucIn1, unsigned char ucIn2) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_ConvUInt64ToHexChar (unsigned __int64 ui64In, char *cOut, int iOutBufLen) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_ConvUInt64ToHexStr (unsigned __int64 ui64In, string &sOut) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_ConvUInt64ToHexUChar (unsigned __int64 ui64In, unsigned char *ucOutBuf, int iOutBufLen) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_ConvUIntToHexChar (unsigned int uiIn, char *cOut, int iOutBufLen) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_ConvUIntToHexStr (unsigned int uiIn, string &sOut) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_ConvUIntToHexUChar (unsigned int uiIn, unsigned char *ucOutBuf, int iOutBufLen) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_GetAdrOfID (const char *ID, int BlockSize) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_GetBlockNoOfID (const char *ID) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_GetByteCntOfID (const char *ID) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_GetMemIDOfID (const char *ID) |
_FEDM_ISC_CORE_EXT_FUNCT bool | FEDM_IsHex (string sIn) |
_FEDM_ISC_CORE_EXT_FUNCT char * | FEDM_MdfyBlockNr (const char *ID, int iBlockNr) |
_FEDM_ISC_CORE_EXT_FUNCT char * | FEDM_MdfyMemID (const char *ID, int iNewMemID) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_RemNoHexChar (string sIn, unsigned char *ucOutBuf, int iOutBufLen) |
_FEDM_ISC_CORE_EXT_FUNCT int | FEDM_RemNoHexChar (string sIn, string &sOut) |
_FEDM_ISC_CORE_EXT_FUNCT unsigned int | FEDM_SwapByteOrder (unsigned int uiValue) |
_FEDM_ISC_CORE_EXT_FUNCT __int64 | FEDM_SwapByteOrder (__int64 i64Value) |
_FEDM_ISC_CORE_EXT_FUNCT char * | FEDM_ToMask (const char *ID) |
_FEDM_ISC_CORE_EXT_FUNCT char * | FEDM_ToRAM (const char *ID) |
_FEDM_ISC_CORE_EXT_FUNCT char* FEDM_AddOff2BlockNr | ( | const char * | ID, |
int | iOffset | ||
) |
Definition at line 340 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_ConvAsciiCharToHexUChar | ( | unsigned char * | ucInBuf, |
int | iInBufLen, | ||
unsigned char * | ucOutBuf, | ||
int | iOutBufLen | ||
) |
Definition at line 2501 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_ConvBcdCharToHexUChar | ( | unsigned char * | ucInBuf, |
int | iInBufLen, | ||
unsigned char * | ucOutBuf, | ||
int | iOutBufLen | ||
) |
Definition at line 2535 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_ConvHexCharToHexUChar | ( | char * | cInBuf, |
int | iBufLen, | ||
unsigned char * | ucOutBuf, | ||
int | iOutBufLen | ||
) |
Definition at line 1538 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_ConvHexCharToInt | ( | char * | cInBuf, |
int | iBufLen, | ||
int * | iOut | ||
) |
Definition at line 1326 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_ConvHexCharToInt64 | ( | char * | cInBuf, |
int | iBufLen, | ||
__int64 * | i64Out | ||
) |
Definition at line 1423 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_ConvHexCharToUInt | ( | char * | cInBuf, |
int | iBufLen, | ||
unsigned int * | uiOut | ||
) |
Definition at line 1385 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_ConvHexCharToUInt64 | ( | char * | cInBuf, |
int | iBufLen, | ||
unsigned __int64 * | ui64Out | ||
) |
Definition at line 1482 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_ConvHexStrToHexUChar | ( | string | sIn, |
unsigned char * | ucOutBuf, | ||
int | iOutBufLen | ||
) |
Definition at line 950 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_ConvHexStrToInt | ( | string | sIn, |
int * | iOut | ||
) |
Definition at line 511 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_ConvHexStrToInt64 | ( | string | sIn, |
__int64 * | i64Out | ||
) |
Definition at line 768 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_ConvHexStrToUInt | ( | string | sIn, |
unsigned int * | uiOut | ||
) |
Definition at line 605 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_ConvHexStrToUInt64 | ( | string | sIn, |
unsigned __int64 * | ui64Out | ||
) |
Definition at line 825 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_ConvHexUCharToBcdChar | ( | unsigned char * | ucInBuf, |
int | iInBufLen, | ||
unsigned char * | ucOutBuf, | ||
int | iOutBufLen | ||
) |
Definition at line 2582 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_ConvHexUCharToHexChar | ( | unsigned char * | ucInBuf, |
int | iInBufLen, | ||
char * | cOut, | ||
int | iOutBufLen | ||
) |
Definition at line 1176 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_ConvHexUCharToHexStr | ( | unsigned char * | ucInBuf, |
int | iInBufLen, | ||
string & | sOut | ||
) |
Definition at line 1226 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_ConvHexUCharToInt | ( | unsigned char * | ucInBuf, |
int | iInBufLen, | ||
int * | iOut | ||
) |
Definition at line 1023 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_ConvHexUCharToInt64 | ( | unsigned char * | ucInBuf, |
int | iInBufLen, | ||
__int64 * | i64Out | ||
) |
Definition at line 1098 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT void FEDM_ConvHexUCharToTwoAscii | ( | unsigned char | ucIn, |
unsigned char & | ucOut1, | ||
unsigned char & | ucOut2 | ||
) |
Definition at line 2467 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_ConvHexUCharToUInt | ( | unsigned char * | ucInBuf, |
int | iInBufLen, | ||
unsigned int * | uiOut | ||
) |
Definition at line 1061 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_ConvHexUCharToUInt64 | ( | unsigned char * | ucInBuf, |
int | iInBufLen, | ||
unsigned __int64 * | ui64Out | ||
) |
Definition at line 1136 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_ConvInt64ToHexChar | ( | __int64 | i64In, |
char * | cOut, | ||
int | iOutBufLen | ||
) |
Definition at line 2038 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_ConvInt64ToHexStr | ( | __int64 | i64In, |
string & | sOut | ||
) |
Definition at line 1958 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_ConvInt64ToHexUChar | ( | __int64 | i64In, |
unsigned char * | ucOutBuf, | ||
int | iOutBufLen | ||
) |
Definition at line 2132 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_ConvIntToHexChar | ( | int | iIn, |
char * | cOut, | ||
int | iOutBufLen | ||
) |
Definition at line 1645 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_ConvIntToHexStr | ( | int | iIn, |
string & | sOut | ||
) |
Definition at line 1619 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_ConvIntToHexUChar | ( | int | iIn, |
unsigned char * | ucOutBuf, | ||
int | iOutBufLen | ||
) |
Definition at line 1674 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT unsigned char FEDM_ConvTwoAsciiToUChar | ( | unsigned char | ucIn1, |
unsigned char | ucIn2 | ||
) |
Definition at line 2437 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_ConvUInt64ToHexChar | ( | unsigned __int64 | ui64In, |
char * | cOut, | ||
int | iOutBufLen | ||
) |
Definition at line 2084 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_ConvUInt64ToHexStr | ( | unsigned __int64 | ui64In, |
string & | sOut | ||
) |
Definition at line 1997 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_ConvUInt64ToHexUChar | ( | unsigned __int64 | ui64In, |
unsigned char * | ucOutBuf, | ||
int | iOutBufLen | ||
) |
Definition at line 2167 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_ConvUIntToHexChar | ( | unsigned int | uiIn, |
char * | cOut, | ||
int | iOutBufLen | ||
) |
Definition at line 1788 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_ConvUIntToHexStr | ( | unsigned int | uiIn, |
string & | sOut | ||
) |
Definition at line 1748 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_ConvUIntToHexUChar | ( | unsigned int | uiIn, |
unsigned char * | ucOutBuf, | ||
int | iOutBufLen | ||
) |
Definition at line 1836 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_GetAdrOfID | ( | const char * | ID, |
int | BlockSize | ||
) |
Definition at line 120 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_GetBlockNoOfID | ( | const char * | ID | ) |
Definition at line 96 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_GetByteCntOfID | ( | const char * | ID | ) |
Definition at line 148 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_GetMemIDOfID | ( | const char * | ID | ) |
Definition at line 71 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT bool FEDM_IsHex | ( | string | sIn | ) |
Definition at line 2656 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT char* FEDM_MdfyBlockNr | ( | const char * | ID, |
int | iBlockNr | ||
) |
Definition at line 306 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT char* FEDM_MdfyMemID | ( | const char * | ID, |
int | iNewMemID | ||
) |
Definition at line 273 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_RemNoHexChar | ( | string | sIn, |
unsigned char * | ucOutBuf, | ||
int | iOutBufLen | ||
) |
Definition at line 2258 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT int FEDM_RemNoHexChar | ( | string | sIn, |
string & | sOut | ||
) |
Definition at line 2399 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT unsigned int FEDM_SwapByteOrder | ( | unsigned int | uiValue | ) |
Definition at line 374 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT __int64 FEDM_SwapByteOrder | ( | __int64 | i64Value | ) |
Definition at line 394 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT char* FEDM_ToMask | ( | const char * | ID | ) |
Definition at line 225 of file FEDM_Functions.cpp.
_FEDM_ISC_CORE_EXT_FUNCT char* FEDM_ToRAM | ( | const char * | ID | ) |
Definition at line 179 of file FEDM_Functions.cpp.