Microchip® Advanced Software Framework

xmega/drivers/ebi/unit_tests/sdram/unit_tests.c File Reference

Unit tests for External Bus Interface driver with SDRAM.

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

#include <stdint.h>
#include <stdbool.h>
#include <asf.h>
#include <string.h>
#include <sleepmgr.h>
#include <conf_test.h>

Functions

int main (void)
 Run EBI driver unit tests. More...
 

Variables

static struct ebi_test_params params
 Test setup. More...
 

struct ebi_test_params params
static
Initial value:
= {
.base = (hugemem_ptr_t)CONF_TEST_RAM_BASE,
.size = (uint32_t)CONF_TEST_RAM_SIZE,
}
uint32_t hugemem_ptr_t
Type to use for pointers to huge memory.
Definition: avr8/hugemem.h:70

Test setup.

Referenced by run_address_bus_test(), run_data_bus_test(), and run_data_integrity_test().