/* Prints the value of the registers of the ethernet controller.  */
void KSZ8851SNL_AllRegistersDump(void)
/* Prints the value of the registers of the ethernet controller.  */
void KSZ8851SNL_AllRegistersDump(void)
{
  printf("###################### ALL REGISTER DUMP ########################\n");
  int i;
  for (i = 0x00; i < 0xFF; i += 0x02)
  {
    if ((i % 8 == 0) && (i > 0))
    {
      printf("\n");
    }
    printf("REG[0x%02X]=0x%04X ", i, KSZ8851SNL_SPI_ReadRegister(i));
  }
  printf("\n");
  printf("#################################################################\n");
}