Wait for the world to be clear
| 187 | |
| 188 | // Wait for the world to be clear |
| 189 | static void wait() __attribute__((always_inline)) { while(!(SPIX.S & SPI_S_SPTEF)); } |
| 190 | |
| 191 | // wait until all queued up data has been written |
| 192 | void waitFully() { wait(); } |