At24xx.h 852 B

12345678910111213141516171819202122232425
  1. /*********************************************************************************************************
  2. * Module : At24xx.h
  3. * Abstract :
  4. * Version : 1.0.0
  5. * Author : Leopul(COPYRIGHT 2025 - 2027 Leopul. All rights reserved.)
  6. * Complete : 2025-02-28
  7. * Content : None
  8. * Note : None
  9. *********************************************************************************************************/
  10. #ifndef __AT24XX_H_
  11. #define __AT24XX_H_
  12. void at24xx_init(void);
  13. unsigned char at24xxcheck(void);
  14. unsigned char at24xx_read_one_byte(unsigned short read_addr);
  15. void at24xx_write_one_byte(unsigned short write_addr,unsigned char data);
  16. void at24xx_write(unsigned short write_addr, unsigned char *buff,unsigned short write_num);
  17. void at24xx_read(unsigned short read_addr, unsigned char *buff,unsigned short read_num);
  18. #endif