migrate
This commit is contained in:
14
fw/stm8s/common/inc/eeprom.h
Normal file
14
fw/stm8s/common/inc/eeprom.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef EEPROM_H
|
||||
#define EEPROM_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "stm8s.h"
|
||||
|
||||
void eeprom_unlock();
|
||||
void eeprom_lock();
|
||||
void eeprom_wait_busy();
|
||||
|
||||
void eeprom_read(uint16_t addr, uint8_t *buf, int len);
|
||||
void eeprom_write(uint16_t addr, uint8_t *buf, uint16_t len);
|
||||
|
||||
#endif /* EEPROM_H */
|
||||
Reference in New Issue
Block a user