#include "board.h"
#include "print_funcs.h"
#include "cycle_counter.h"
#include "power_clocks_lib.h"
#include "sdramc.h"
Macros | |
LEDs to Use for the Example | |
#define | LED_SDRAM_WRITE LED0 |
#define | LED_SDRAM_READ LED1 |
#define | LED_SDRAM_ERRORS (LED0 | LED1 | LED2 | LED3) |
#define | LED_SDRAM_OK (LED0 | LED1 | LED2 | LED3) |
Functions | |
int | main (void) |
Sets the SDRAM Controller up, initializes the SDRAM found on the board and tests it. More... | |
int main | ( | void | ) |
Sets the SDRAM Controller up, initializes the SDRAM found on the board and tests it.
References cpu_delay_ms(), FOSC0, init_dbg_rs232(), LED_Off(), LED_SDRAM_ERRORS, LED_SDRAM_OK, LED_SDRAM_READ, LED_SDRAM_WRITE, LED_Toggle(), OSC0_STARTUP, PCL_OSC0, pcl_switch_to_osc(), print_dbg(), print_dbg_char(), print_dbg_ulong(), SDRAM, SDRAM_SIZE, and sdramc_init().