From cbc941282074856fc6179761b70a0c9879b0b64d Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Tue, 11 Oct 2011 21:56:36 +0200 Subject: update firmware to @319 --- firmware/eeprom.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 firmware/eeprom.h (limited to 'firmware/eeprom.h') diff --git a/firmware/eeprom.h b/firmware/eeprom.h new file mode 100644 index 0000000..2ac7d4a --- /dev/null +++ b/firmware/eeprom.h @@ -0,0 +1,11 @@ +#include +#include + +#define MAX_ADDR 4095 + +void eeprom_parser(char *buf); + +void eeprom_read_bytes_usb(uint16_t addr, uint16_t length); +uint8_t eeprom_read_bytes(uint16_t addr, char * buf, uint16_t length); +void eeprom_write_bytes_usb(uint16_t addr, char * buf, uint16_t length); +uint8_t eeprom_write_bytes(uint16_t addr, char * buf, uint16_t length); -- cgit v1.2.1