pBuffer缓冲区指针, u8 WriteAddr,EEPROM的储存地址 u16 NumByteToWrite要写入的字节数
void I2C_EE_BufferWrite(u8* pBuffer, u8 WriteAddr, u16 NumByteToWrite)
{
u8 NumOfPage = 0, NumOfSingle = 0, Addr = 0, count = 0;
Addr = WriteAddr % I2C_PageSize;
count = I2C_PageSize - Addr;
问addr和count是什么意思 |
|