Macros | |
Debug output configuration | |
#define | CONF_TEST_USART USART |
USART to redirect STDIO to. More... | |
#define | CONF_TEST_BAUDRATE 57600 |
Baudrate of USART. More... | |
#define | CONF_TEST_CHARLENGTH 8 |
Character length (bits) of USART. More... | |
#define | CONF_TEST_PARITY USART_NO_PARITY |
Parity mode of USART. More... | |
#define | CONF_TEST_STOPBITS USART_1_STOPBIT |
Stopbit configuration of USART. More... | |
Unit test configuration | |
#define | CONF_TEST_NB_SECTORS 10 |
Defines the number of sectors to be read during the run_multiple_sector_access_test test. More... | |
Functions | |
static void | sd_mmc_spi_board_init (void) |
Initializes SD/MMC resources: SPI and SD/MMC. More... | |
#define CONF_TEST_BAUDRATE 57600 |
#define CONF_TEST_CHARLENGTH 8 |
#define CONF_TEST_NB_SECTORS 10 |
Defines the number of sectors to be read during the run_multiple_sector_access_test test.
Number of sectors to be read during the multiple sectors access test.
Referenced by run_multiple_sector_access_test().
#define CONF_TEST_PARITY USART_NO_PARITY |
#define CONF_TEST_STOPBITS USART_1_STOPBIT |
|
static |
Initializes SD/MMC resources: SPI and SD/MMC.
References spi_options_t::reg, SD_MMC_SPI, SD_MMC_SPI_BITS, sd_mmc_spi_init(), SD_MMC_SPI_MASTER_SPEED, SD_MMC_SPI_NPCS, spi_enable(), spi_initMaster(), spi_selectionMode(), and sysclk_get_pba_hz().
Referenced by main().