/************************************************* // W5500_SPI.h *************************************************/ #ifndef _W5500_SPI_H #define _W5500_SPI_H void W5500_CS_low (void); void W5500_CS_high (void); uint8_t W5500_SPI_transfer (uint8_t val); uint8_t W5500_spi_read (uint32_t addr); void W5500_spi_write (uint32_t addr, uint8_t val); void W5500_spi_read_buf (uint32_t addr, uint8_t* p_buf, uint16_t numbytes); void W5500_spi_write_buf (uint32_t addr, uint8_t* p_buf, uint16_t numbytes); #endif /* ------------------------------------------ */ /* -------- End of file W5500_SPI.h --------- */ /* ------------------------------------------ */