add bl24c02 (not test yet)

This commit is contained in:
不吃油炸鸡
2025-10-14 16:25:11 +08:00
parent 40439c1800
commit 036eb68b76
2 changed files with 90 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
#ifndef __BL24C02_H
#define __BL24C02_H
#include <stdint.h>
#define BL24C02_ADDRESS 0x50
uint8_t EEPROM_Check(void);
uint8_t SettingSave(uint8_t *buf, uint8_t addr, uint8_t lenth);
uint8_t SettingGet(uint8_t *buf, uint8_t addr, uint8_t lenth);
#endif