You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

9 lines
526 B

void i2c_init();
int eeprom_read_cur(unsigned int base, unsigned char *buf);
int eeprom_read_rand(unsigned int base, int data_addr, unsigned char *buf);
int eeprom_read_seq(unsigned int base, int data_addr, unsigned char *buf, int count);
int eeprom_write_byte(unsigned int base, int data_addr, unsigned char *buf);
int eeprom_write_page(unsigned int base, int data_addr, unsigned char *buf, int count);
int mac_read(int data_addr, unsigned char *buf, int count);
int mac_write(int data_addr, unsigned char *buf, int count);