From cefd0601b91fa642163c82021d454b3c17d8adf4 Mon Sep 17 00:00:00 2001 From: Jan Sucan Date: Sun, 22 Sep 2019 21:17:50 +0200 Subject: Initial commit --- FanController/fan_controller/hw/eeprom.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 FanController/fan_controller/hw/eeprom.h (limited to 'FanController/fan_controller/hw/eeprom.h') diff --git a/FanController/fan_controller/hw/eeprom.h b/FanController/fan_controller/hw/eeprom.h new file mode 100644 index 0000000..c6eb825 --- /dev/null +++ b/FanController/fan_controller/hw/eeprom.h @@ -0,0 +1,21 @@ +/* Autor: Ján Sučan + * + * Zdrojove kody, ich casti a subory z nich vzniknute priamo alebo nepriamo + * (objektove subory, Intel Hex, ...) prosim nepouzivajte komercne, ani ako + * sucast komercnych diel. Vsetky ostatne pripady pouzitia su dovolene. + * + * Please don't use the source codes, their parts and files created from them + * directly or indirectly, (object files, Intel Hex files, ...) for commercial + * purposes, not even as a part of commercial products. All other use cases + * are allowed. + */ + +#ifndef EEPROM_H_ +#define EEPROM_H_ + +#include + +void eeprom_write(uint16_t address, const uint8_t * const data, uint16_t data_size); +void eeprom_read(uint16_t address, uint8_t * const data, uint16_t data_size); + +#endif /* EEPROM_H_ */ \ No newline at end of file -- cgit v1.2.3