Microchip® Advanced Software Framework

sdramc.h File Reference
#include <avr32/io.h>
#include "board.h"
#include "mt48lc16m16a2tg7e/mt48lc16m16a2tg7e.h"

Macros

#define SDRAM   ((void *)AVR32_EBI_CS1_0_ADDRESS)
 Pointer to SDRAM. More...
 
#define SDRAM_SIZE
 SDRAM size. More...
 

Functions

void sdram_enter_self_refresh (void)
 Set the SDRAM in self refresh mode. The SELF REFRESH command can be used to retain data in the SDRAM, even if the rest of the system is powered down. When in the self refresh mode, the SDRAM retains data without external clocking. More...
 
void sdram_exit_self_refresh (void)
 Exit from the SDRAM self refresh mode, inhibits self refresh mode. More...
 
void sdramc_init (unsigned long hsb_hz)
 Initializes the AVR32 SDRAM Controller and the connected SDRAM(s). More...