8 #ifndef INCLUDE_HSPI_H_ 9 #define INCLUDE_HSPI_H_ 13 #define HSPI_FIFO_SIZE 64 15 #define CONFIG_FOR_TX 1 16 #define CONFIG_FOR_RX_TX 2 void hspi_TX(uint8_t *data, int count)
SPI buffered write functions.
void hspi_init(uint32_t prescale, int hwcs)
HSPI Initiaization - with automatic chip select Pins: MISO GPIO12 MOSI GPIO13 CLK GPIO14 CS GPIO15 - ...
void hspi_waitReady(void)
HSPI Ready wait.
void hspi_RX(uint8_t *data, int count)
HSPI read using FIFO.
void hspi_TXRX(uint8_t *data, int count)
HSPI write and read using FIFO.