Library used to configure a AD9854 Libreria usada para comunicarse con el AD9854

Dependents:   JRO_DDSv2 JRO_DDSv2_rev2019

Revision:
5:6500be930b36
Child:
6:dd61acd77e2c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/EthUtils.h	Mon Feb 23 20:36:23 2015 +0000
@@ -0,0 +1,24 @@
+#ifndef        UTILS_ETH
+#define        UTILS_ETH
+
+#include "FreescaleIAP.h"
+
+#define MAX_IP_LEN  16
+
+#define IP_INI          "192.168.7.2";               // IP
+#define MASK_INI        "255.255.255.0";           // MASK
+#define GATEWAY_INI     "0.0.0.0";                  // GATEWAY
+//INTERNAL FLASH
+#define FLASH_FULL  0xAA
+    
+int numberOfDigits(int x);
+int isNumber(char* str);
+int splitstr(char *, const char *, char parts[][MAX_IP_LEN]);
+int validateIp(char* str);
+int splitIpConf(char* str, char *_ip, char *_mask, char *_gateway);
+
+int eraseIpConfig();
+int saveIpConfig(char *ip, char *mask, char *gateway);
+int readIpConfig(char *_ip, char *_mask, char *_gateway);
+
+#endif
\ No newline at end of file