Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

23 lines
903B

  1. To enable support for SPI transactions, edit SfFatCinfig.h and modify these
  2. defines.
  3. //------------------------------------------------------------------------------
  4. /**
  5. * Set ENABLE_SPI_TRANSACTION nonzero to enable the SPI transaction feature
  6. * of the standard Arduino SPI library. You must include SPI.h in your
  7. * sketches when ENABLE_SPI_TRANSACTION is nonzero.
  8. */
  9. #define ENABLE_SPI_TRANSACTION 0
  10. //------------------------------------------------------------------------------
  11. /**
  12. * Set ENABLE_SPI_YIELD nonzero to enable release of the SPI bus during
  13. * SD card busy waits.
  14. *
  15. * This will allow interrupt routines to access the SPI bus if
  16. * ENABLE_SPI_TRANSACTION is nonzero.
  17. *
  18. * Setting ENABLE_SPI_YIELD will introduce some extra overhead and will
  19. * slightly slow transfer rates. A few older SD cards may fail when
  20. * ENABLE_SPI_YIELD is nonzero.
  21. */
  22. #define ENABLE_SPI_YIELD 0