/* Select/deselect the ksz8851snl chip. This will clear/set the chip select GPIO pin connected to the ksz8851snl. The chip has active low chip select.  */
static void KSZ8851SNL_SPI_SetChipSelect(bool enable)
/* Select/deselect the ksz8851snl chip. This will clear/set the chip select GPIO pin connected to the ksz8851snl. The chip has active low chip select.  */
static void KSZ8851SNL_SPI_SetChipSelect(bool enable)
{
  if (enable)
  {
    GPIO_PinOutClear(ETH_CS_PORT, ETH_CS_PIN);
  }
  else
  {
    GPIO_PinOutSet(ETH_CS_PORT, ETH_CS_PIN);
  }
}