You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
421 B
C

#include "examples/driver_examples.h"
#include <atmel_start.h>
#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(;;)
{
}
}