[Answered] SPI: Options for spi_transaction_t and the flags parameter
Posted: Tue Jan 10, 2017 5:48 am
While studying the SPI documentation, I am looking at the "spi_transaction_t" data structure. It has a field called "flags" that is documented as "Bitwise OR of SPI_TRANS_* flags". However, I am unable to find any definition of these flags. The documentation I am looking at is:
http://esp-idf.readthedocs.io/en/latest ... n_t5flagsE
If I were to take a wild guess, I would say that the possible values are:
http://esp-idf.readthedocs.io/en/latest ... n_t5flagsE
If I were to take a wild guess, I would say that the possible values are:
- SPI_MODE_DIO
- SPI_MODE_QIO
- SPI_MODE_DIOQIO_ADDR
- SPI_USE_RXDATA
- SPI_USE_TXDATA