-
-
Save openedev/27473743cb66d2ce5e78ae6fd72da347 to your computer and use it in GitHub Desktop.
sifive tx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Enqueue n_words for transmission */ | |
for (i = 0; i < n_words; i++) { | |
if (!tx_ptr) | |
sifive_spi_tx(spi, NULL); | |
else | |
sifive_spi_tx(spi, tx_ptr++); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment