Board specific external RAM control. More...
#include <util.h>#include <interrupt.h>#include <clk/sys.h>#include <regs/xmega_ebi.h>Go to the source code of this file.
Defines | |
| #define | BOARD_SDRAM_INITDLY (100 * 2 * CONFIG_CPU_HZ / 1000000) |
| SDRAM initialization delay in number of CLKper2 cycles (100 us). | |
| #define | BOARD_SDRAM_REFRESH (16 * 2 * CONFIG_CPU_HZ / 1000000) |
| SDRAM refresh interval in number of CLKper2 cycles (16 us). | |
Functions | |
| static void | board_enable_sdram (void) |
| Configure the EBI for the 8 MB onboard SDRAM. | |
| static void | board_disable_sdram (void) |
| Disable the SDRAM by disabling the EBI. | |
| static void | board_enable_sdram_selfrefresh (void) |
| Enable self-refresh mode for SDRAM. | |
| static void | board_disable_sdram_selfrefresh (void) |
| Disable self-refresh mode for SDRAM. | |
Board specific external RAM control.
Copyright (C) 2010 Atmel Corporation. All rights reserved.
Definition in file sdram.h.
1.6.3