summaryrefslogtreecommitdiff
path: root/src/hw/hw_eeprom.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hw/hw_eeprom.h')
-rw-r--r--src/hw/hw_eeprom.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/hw/hw_eeprom.h b/src/hw/hw_eeprom.h
new file mode 100644
index 0000000..ac3ec0a
--- /dev/null
+++ b/src/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