Modified for W5500 Ethernet initialize

Fork of GMMP_mbed by SKTelecom_ThingPlug

Revision:
0:7e575e5f88ec
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Util/GMMP_Util.h	Sun Aug 09 14:11:35 2015 +0000
@@ -0,0 +1,55 @@
+/** GMMP에 사용되는 Util 함수
+ * @file GMMP_Util.h
+ * @date 2013/11/21
+ * @version 0.0.0.1
+ **/
+#ifndef GMMP_UTIL_H_
+#define GMMP_UTIL_H_
+/**
+ *@brief 라이브러리를 사용중인 플랫폼 시스템이 big-endian, little-endian인지 확인한다.
+ * @return big-endian : 0, little-endian : 1
+ */
+int IsBigEndianSystem(void); //big endian system check
+
+/**
+ *  @brief short형 변수의 정보를 리틀엔디언 에서 빅엔디언으로 변경
+ * @param nShort
+ */
+short	ltobs(const short nShort); //little endian to big endian for short
+
+/**
+ *  @brief short형 변수의 정보를  빅엔디언에서 리틀엔디언으로 변경
+ * @param nShort
+ */
+short btols(const short nShort);
+
+/**
+ * @brief short형 변수의 정보 변환 내부 함수
+ * @param nShort
+ */
+short _btols(const short nShort);
+
+/**
+ * @brief int형 변수의 정보를 리틀엔디언 에서 빅엔디언으로 변경
+ * @param nInt
+ * @return
+ */
+long ltobi(const long nInt);
+
+/**
+ * @brief int형 변수의 정보를  빅엔디언에서 리틀엔디언으로 변경
+ * @param nInt
+ * @return
+ */
+long btoli(const long nInt);
+
+/**
+ * @brief int형 변수의 정보 변환 내부 함수
+ * @param nInt
+ * @return
+ */
+long _ltobi(const long nInt);
+
+int freeRam();
+
+#endif /* GMMP_UTIL_H_ */