nova proba

Revision:
3:1196befeace0
diff -r 45b351b4fc2a -r 1196befeace0 DataFlash/flashDataBlock.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DataFlash/flashDataBlock.h	Wed Apr 08 08:41:16 2020 +0000
@@ -0,0 +1,22 @@
+#ifndef FLASHDATABLOCK_H
+#define FLASHDATABLOCK_H
+
+
+
+
+#define FLASH_ADDRESS   0xfe000
+#define BLOCK_VALUE     0x1000
+
+#define BUF_DIM   5
+
+
+
+void init_fdb( void );
+void deinit_fdb( void );
+
+int write_byte_in_flash( int adr, char val );
+
+int write_niz_in_flash( int adr, char *niz, int nizdim );
+int read_fdb( int rel_adr, char *buffer, int val );
+ 
+#endif