nova proba

Revision:
5:c9a908749d4c
Parent:
4:7abcf4543282
Child:
7:7ea932eb31f6
diff -r 7abcf4543282 -r c9a908749d4c DataFlash/dataFlash.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DataFlash/dataFlash.h	Sun Apr 12 17:59:57 2020 +0000
@@ -0,0 +1,50 @@
+#ifndef dataFlash_h
+#define dataFlash_h
+
+#include "EthernetSetup.h"
+#include "doHTML.h"
+
+struct S_FlashData
+{
+    struct S_EthernetAddress s_EthAdd;
+    char serverPortUdp[6];
+    char serverPortTcp[6];
+    struct S_EthernetAddress_Remote s_EthAddRemUdp[3];
+//    struct S_EthernetAddress_RangeRemote s_EthAddRangeRemUDP;
+    struct S_EthernetAddress_Remote s_EthAddRemTcp[3];
+//    struct S_EthernetAddress_RangeRemote s_EthAddRangeRemTcp;
+    int baudRate, parity, dataBits, stopBits;
+};
+
+union U_FlashData
+{
+    struct S_FlashData s_flashData;
+    char data[sizeof( struct S_FlashData )];
+};
+
+
+
+void progDataIntoFlash( struct S_FlashData *ps_fd );
+
+void readDataFromFlash( struct S_FlashData *ps_fd );
+
+void fillDataIntoFlash( void );
+
+void refreshDataFromFlash( void );
+
+
+void init_FlashData( void );
+
+void deinit_FlashData( void );
+
+void showFlashData( void );
+
+
+
+void putHTMLintoFLASH( C_HTMLparse * );
+void putFLASHintoHTML( C_HTMLparse * );
+
+
+
+
+#endif