add eeprom stuff
This commit is contained in:
18
my_src/eeprom.h
Normal file
18
my_src/eeprom.h
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* eeprom.h
|
||||
*
|
||||
* Created on: Jun 7, 2017
|
||||
* Author: wn
|
||||
*/
|
||||
|
||||
#ifndef EEPROM_H_
|
||||
#define EEPROM_H_
|
||||
|
||||
#include "stm32f1xx_hal.h"
|
||||
|
||||
|
||||
void eepromWrite(uint16_t addr, uint8_t *buf, uint8_t len);
|
||||
void eepromRead(uint16_t addr, uint8_t *buf, uint8_t len);
|
||||
|
||||
|
||||
#endif /* EEPROM_H_ */
|
Reference in New Issue
Block a user