S25FL1xx QSPI flash example for SAMV71.
Copyright (c) 2015-2018 Microchip Technology Inc. and its subsidiaries.
Macros | |
#define | STRING_EOL "\r" |
#define | STRING_HEADER |
#define | WRITE_SIZE sizeof(buffercode) |
Functions | |
static void | configure_console (void) |
Configure the console uart. More... | |
int | main (void) |
Application entry point for sdramc_example. More... | |
Variables | |
struct qspid_t | g_qspid = {QSPI, 0, 0, 0} |
struct qspi_config_t | mode_config = {QSPI_MR_SMM_MEMORY, false, false, QSPI_LASTXFER, 0, 0, 0, 0, 0, 0, 0, false, false, 0} |
#define STRING_EOL "\r" |
#define STRING_HEADER |
Referenced by main().
#define WRITE_SIZE sizeof(buffercode) |
Referenced by main().
|
static |
Configure the console uart.
References uart_rs232_options::baudrate, and stdio_serial_init().
Referenced by main().
int main | ( | void | ) |
Application entry point for sdramc_example.
References board_init(), buffer, buffercode, configure_console(), pmc_enable_periph_clk(), qspid_t::qspi_hw, s25fl1xx_enter_continous_read_mode(), s25fl1xx_erase_64k_block(), s25fl1xx_initialize(), s25fl1xx_read(), s25fl1xx_set_quad_mode(), s25fl1xx_write(), status, STATUS_OK, STRING_HEADER, sysclk_init(), and WRITE_SIZE.
struct qspid_t g_qspid = {QSPI, 0, 0, 0} |
struct qspi_config_t mode_config = {QSPI_MR_SMM_MEMORY, false, false, QSPI_LASTXFER, 0, 0, 0, 0, 0, 0, 0, false, false, 0} |