/* Reads a block of data from the EEPROM.  */
uint32_t sEE_ReadBuffer(uint8_t *pBuffer, uint16_t ReadAddr, uint16_t *NumByteToRead)
/* Reads a block of data from the EEPROM.  */
uint32_t sEE_ReadBuffer(uint8_t *pBuffer, uint16_t ReadAddr, uint16_t *NumByteToRead)
{
  sEE_CS_LOW();
  sEE_SendByte(sEE_CMD_READ | (uint8_t)((ReadAddr & 0x100)>>5));
  sEE_SendByte(ReadAddr & 0xFF);
  while ((*NumByteToRead)--)
  {
    *pBuffer = sEE_SendByte(sEE_DUMMY_BYTE);
    pBuffer++;
  }
  sEE_CS_HIGH();
  return 0;
}