aboutsummaryrefslogtreecommitdiffstats
path: root/sw/eeprom.h
diff options
context:
space:
mode:
Diffstat (limited to 'sw/eeprom.h')
-rw-r--r--sw/eeprom.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/sw/eeprom.h b/sw/eeprom.h
deleted file mode 100644
index 07438a0..0000000
--- a/sw/eeprom.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Microchip 25LC160C 2KiB EEPROM
- *
- * Device: PIC16F1459
- * Compiler: XC8 v3.00
- *
- * Usage:
- *
- * #include <xc.h>
- * #include <stdint.h>
- * #include "types.h"
- * #include "spi.h"
- * #include "eeprom.h"
- */
-
-// Pin mapping
-#define EEPROM_CS_TRIS TRISAbits.TRISA5
-#define EEPROM_CS LATAbits.LATA5
-
-void eepromInit(void);
-void eepromWriteEnable(void);
-void eepromWriteDisable(void);
-void eepromWrite(U16 addr, U8 data[], U8 size);
-void eepromRead(U16 addr, U8 data[], U8 size);