/** * \file * * * \brief Configuration file for spi dma module. * * * \author Francesco Sacchi */ #ifndef CFG_SPI_DMA_H #define CFG_SPI_DMA_H /** * Max size received for each DMA transfer [bytes]. * Longer buffers will be split in two or more transfers of this size. * $WIZ$ type = "int" * $WIZ$ min = 1 */ #define CONFIG_SPI_DMA_MAX_RX 512 /** * Default transmit timeout (ms). Set to -1 to disable timeout support. * $WIZ$ type = "int" * $WIZ$ min = -1 */ #define CONFIG_SPI_DMA_TX_TIMEOUT -1 #endif /* CFG_SER_H */