eeprom stuff

This commit is contained in:
2020-11-05 14:38:10 +01:00
parent 019f1b5cd0
commit cc24dc9640
4 changed files with 112 additions and 12 deletions

View File

@ -2,9 +2,12 @@
#define EEPROM_H_
#include <stdint.h>
#include <spi.h>
void eepromInit();
void eepromWrite(uint16_t addr, uint8_t *buf, uint8_t len);
void eepromRead(uint16_t addr, uint8_t *buf, uint8_t len);
void eepromSpiTxCpltCallback(SPI_HandleTypeDef *hspi);
#endif /* EEPROM_H_ */