Reading and writing to SPI ?
Posted on September 30, 2015 at 08:14 Guys, Can I replace this function SPIPutChar(uint8_t data[]) { /* Write and Read a byte on SPI interface. */ unsigned char inb; /* Wait if TXE cleared, Tx FIFO is full. */ while ((SPI1->SR & TXE) == ...