Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of GMMP by
GMMP_Util.h
00001 /** GMMP에 사용되는 Util 함수 00002 * @file GMMP_Util.h 00003 * @date 2013/11/21 00004 * @version 0.0.0.1 00005 **/ 00006 #ifndef GMMP_UTIL_H_ 00007 #define GMMP_UTIL_H_ 00008 /** 00009 *@brief 라이브러리를 사용중인 플랫폼 시스템이 big-endian, little-endian인지 확인한다. 00010 * @return big-endian : 0, little-endian : 1 00011 */ 00012 int IsBigEndianSystem(void); //big endian system check 00013 00014 /** 00015 * @brief short형 변수의 정보를 리틀엔디언 에서 빅엔디언으로 변경 00016 * @param nShort 00017 */ 00018 short ltobs(const short nShort); //little endian to big endian for short 00019 00020 /** 00021 * @brief short형 변수의 정보를 빅엔디언에서 리틀엔디언으로 변경 00022 * @param nShort 00023 */ 00024 short btols(const short nShort); 00025 00026 /** 00027 * @brief short형 변수의 정보 변환 내부 함수 00028 * @param nShort 00029 */ 00030 short _btols(const short nShort); 00031 00032 /** 00033 * @brief int형 변수의 정보를 리틀엔디언 에서 빅엔디언으로 변경 00034 * @param nInt 00035 * @return 00036 */ 00037 long ltobi(const long nInt); 00038 00039 /** 00040 * @brief int형 변수의 정보를 빅엔디언에서 리틀엔디언으로 변경 00041 * @param nInt 00042 * @return 00043 */ 00044 long btoli(const long nInt); 00045 00046 /** 00047 * @brief int형 변수의 정보 변환 내부 함수 00048 * @param nInt 00049 * @return 00050 */ 00051 long _ltobi(const long nInt); 00052 00053 int freeRam(); 00054 00055 #endif /* GMMP_UTIL_H_ */
Generated on Wed Jul 13 2022 20:31:57 by
1.7.2
