Add more options to spi_transfer

This commit is contained in:
Gregory Nutt
2016-08-05 13:22:18 -06:00
parent 5407a673fc
commit 50e9a5fa33
2 changed files with 21 additions and 16 deletions
+2
View File
@@ -76,12 +76,14 @@ struct spi_trans_s
{
/* SPI attributes for unique to this transaction */
bool deselect; /* De-select after transfer */
#ifdef CONFIG_SPI_CMDDATA
bool cmd; /* true=command; false=data */
#endif
#ifdef CONFIG_SPI_HWFEATURES
spi_hwfeatures_t hwfeat; /* Hard features to enable on this transfer */
#endif
uint32_t delay; /* Microsecond delay after transfer */
/* These describe the single data transfer */