diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2025-08-16 14:59:36 -0230 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2025-08-16 14:59:36 -0230 |
| commit | ee61ef56f775e44fd0b857a960102148910e6dce (patch) | |
| tree | 9063a6a74af17d9a0ef45392dc28eaf770a22d69 /sw/eeprom.h | |
| parent | 478a91bd82e27d8d6b2e597fd659e484ca6b205a (diff) | |
| download | can-gauge-interface-ee61ef56f775e44fd0b857a960102148910e6dce.zip | |
usbcom: modified libusb example
Diffstat (limited to 'sw/eeprom.h')
| -rw-r--r-- | sw/eeprom.h | 23 |
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); |