#include "examples/driver_examples.h" #include #include "hal_spi_m_sync.h" #include "sd_mmc_start.h" #include "pdebug.h" int main(void) { /* Initializes MCU, drivers and middleware */ atmel_start_init(); pdebug_init(); PORT->Group[1].DIR.reg |= (1 << 28); PORT->Group[1].OUT.reg |= (1 << 28); PORT->Group[1].OUT.reg &= ~(1 << 28); spi_m_sync_enable(&SPI_0); SDMMC_example(); for(;;) { } }