#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 LED_BI0_RED |
#define | LED_SDRAM_READ LED_BI0_GREEN |
#define | LED_SDRAM_ERRORS LED_BI1_RED |
#define | LED_SDRAM_OK LED_BI1_GREEN |
Functions | |
int | main (void) |
Sets the SDRAM Controller up, initializes the SDRAM found on the board and tests it. More... | |
#define LED_SDRAM_ERRORS LED_BI1_RED |
Referenced by main().
#define LED_SDRAM_OK LED_BI1_GREEN |
Referenced by main().
#define LED_SDRAM_READ LED_BI0_GREEN |
Referenced by main().
#define LED_SDRAM_WRITE LED_BI0_RED |
Referenced by main().
int main | ( | void | ) |
Sets the SDRAM Controller up, initializes the SDRAM found on the board and tests it.
References cpu_delay_ms(), FOSC0, i, init_dbg_rs232(), j, LED_SDRAM_ERRORS, LED_SDRAM_OK, LED_SDRAM_READ, LED_SDRAM_WRITE, PCL_OSC0, pcl_switch_to_osc(), print_dbg(), print_dbg_char(), print_dbg_ulong(), SDRAM, SDRAM_SIZE, sdramc_init(), and tmp.