For EEPROM read and write function

This commit is contained in:
Miducc
2023-06-23 09:38:32 +07:00
parent fe3d8b4956
commit 14899d1b41
2 changed files with 43 additions and 0 deletions

9
inc/eeprom_rw.h Normal file
View File

@@ -0,0 +1,9 @@
#ifndef _EEPROM_RW_
#define _EEPROM_RW_
#include "stdint.h"
void eeprom_write(uint8_t addr, uint8_t data);
uint8_t eeprom_read(uint8_t addr);
#endif