adbmsFunctionTest/Core/Inc/24LC02.h

12 lines
227 B
C
Raw Normal View History

2024-10-15 15:55:11 +02:00
#ifndef INC_24LC02_H_
#define INC_24LC02_H_
#include <stdint.h>
2024-10-15 22:21:10 +02:00
#define EEPROM_ADDR 0b1010111
2024-10-15 15:55:11 +02:00
uint8_t eeprom_init();
uint8_t eeprom_write(uint8_t addr, uint8_t data);
uint8_t eeprom_read(uint8_t addr, uint8_t* data);
#endif