Microchip® Advanced Software Framework

conf_test.h File Reference
#include "board.h"
#include "sd_mmc_spi.h"
#include "conf_sd_mmc_spi.h"

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

Baudrate of USART.

Note
57600 baud

Referenced by main().

#define CONF_TEST_CHARLENGTH   8

Character length (bits) of USART.

Note
8-bit character length

Referenced by main().

#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

Parity mode of USART.

Note
No parity check

Referenced by main().

#define CONF_TEST_STOPBITS   USART_1_STOPBIT

Stopbit configuration of USART.

Note
No extra stopbit, i.e., use 1

Referenced by main().

#define CONF_TEST_USART   USART

USART to redirect STDIO to.

Note
Using USART

Referenced by main().

static void sd_mmc_spi_board_init ( void  )
static