SD/MMC card example with FatFs.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
Functions | |
static void | cdc_uart_init (void) |
Initialize the USART for output. More... | |
int | main (void) |
Application entry point. More... | |
Variables | |
struct usart_module | cdc_uart_module |
Structure for UART module connected to EDBG (used for unit test output) More... | |
|
static |
Initialize the USART for output.
Initializes the SERCOM USART used for sending the output to the computer via the EDBG CDC gateway.
References usart_config::baudrate, cdc_uart_module, CONF_STDIO_BAUDRATE, CONF_STDIO_MUX_SETTING, CONF_STDIO_PINMUX_PAD0, CONF_STDIO_PINMUX_PAD1, CONF_STDIO_PINMUX_PAD2, CONF_STDIO_PINMUX_PAD3, CONF_STDIO_USART, usart_config::mux_setting, usart_config::pinmux_pad0, usart_config::pinmux_pad1, usart_config::pinmux_pad2, usart_config::pinmux_pad3, usart_enable(), and usart_get_config_defaults().
Referenced by main().
int main | ( | void | ) |
Application entry point.
References cdc_uart_init(), cpu_irq_enable, CTRL_FAIL, CTRL_GOOD, CTRL_NO_PRESENT, delay_init(), f_close(), f_mount(), f_open(), f_puts(), FA_CREATE_ALWAYS, FA_WRITE, FR_INVALID_DRIVE, FR_OK, irq_initialize_vectors, LUN_ID_SD_MMC_0_MEM, sd_mmc_check(), sd_mmc_init(), sd_mmc_test_unit_ready(), and system_init().
struct usart_module cdc_uart_module |
Structure for UART module connected to EDBG (used for unit test output)
Referenced by cdc_uart_init().