Microchip® Advanced Software Framework

s25fl1xx_example.c File Reference

S25FL1xx QSPI flash example for SAMV71.

Copyright (c) 2015-2018 Microchip Technology Inc. and its subsidiaries.

#include "asf.h"
#include "conf_board.h"
#include "getting_started_hex.h"
#include "s25fl1xx.h"

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
Value:
"--QSpi Example --\r\n" \
"-- "BOARD_NAME" --\r\n" \
"-- Compiled: "__DATE__" "__TIME__" --"STRING_EOL
#define STRING_EOL
Definition: s25fl1xx_example.c:86
#define BOARD_NAME
Definition: fatfs_access_example.c:112

Referenced by main().

#define WRITE_SIZE   sizeof(buffercode)

Referenced by main().

static void configure_console ( void  )
static

Configure the console uart.

References uart_rs232_options::baudrate, and stdio_serial_init().

Referenced by main().

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}