Microchip® Advanced Software Framework

at25dfx_example.c File Reference

AT25DFx SerialFlash Component Example.

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

#include <asf.h>
#include "conf_board.h"

Macros

#define AT25DFX_TEST_BLOCK_ADDR   (0)
 Test block start address. More...
 
#define AT25DFX_TEST_DATA_SIZE   (1024)
 Test size. More...
 

Functions

int main (void)
 Application entry point for AT25DFx example. More...
 
void test_ko (void)
 Entry point when test is failed. More...
 

Variables

static uint8_t ram_buff [AT25DFX_TEST_DATA_SIZE]
 RAM buffer used in this example. More...
 

#define AT25DFX_TEST_BLOCK_ADDR   (0)

Test block start address.

Referenced by main().

#define AT25DFX_TEST_DATA_SIZE   (1024)

Test size.

Referenced by main().

void test_ko ( void  )

Entry point when test is failed.

Referenced by main().

uint8_t ram_buff[AT25DFX_TEST_DATA_SIZE]
static

RAM buffer used in this example.

Referenced by main().