summaryrefslogtreecommitdiff
path: root/hw/hw_eeprom.h
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2015-12-31 13:43:51 +0000
committerFreeArtMan <dos21h@gmail.com>2015-12-31 13:43:51 +0000
commit891ba007a455590ac544bbebd270ebe8d3417f2c (patch)
treee848f2c880d2bddc3b62c6090d88c966ab2b3d13 /hw/hw_eeprom.h
parent2d6d67e07233cc6b085fd9eebdd6795602c75a0b (diff)
downloadradiola-891ba007a455590ac544bbebd270ebe8d3417f2c.tar.gz
radiola-891ba007a455590ac544bbebd270ebe8d3417f2c.zip
Add eeprom dump test
Diffstat (limited to 'hw/hw_eeprom.h')
-rw-r--r--hw/hw_eeprom.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/hw/hw_eeprom.h b/hw/hw_eeprom.h
index e69de29..ac3ec0a 100644
--- a/hw/hw_eeprom.h
+++ b/hw/hw_eeprom.h
@@ -0,0 +1,15 @@
+#ifndef __RADIOLA_HW_EEPROM_H
+#define __RADIOLA_HW_EEPROM_H
+
+#include "hw.h"
+
+#define EEPROM_SIZE 256
+
+int dump_eeprom( rtlsdr_dev_t *dev, uint8_t *data, uint16_t len );
+int restore_eeprom( rtlsdr_dev_t *dev, uint8_t *data, uint16_t len );
+
+//int eeprom_read_config();
+//int eeprom_write_config();
+
+
+#endif \ No newline at end of file