Atmel Software Framework

sdramc_example.c File Reference
#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().

main ( void  )

Sets the SDRAM Controller up, initializes the SDRAM found on the board and tests it.

1) Initialize the microcontroller and the shared hardware resources of the board.

start the software here 1) Configure system clocks.

start the software here 1) Initialize the microcontroller and the shared hardware resources of the board.

    2) Launch the IP modules.
    3) Start FreeRTOS.
Returns
42, which should never occur.
Note
    2) Setup the GPIO in output for the board's LED.
    3) Start Display task.
    4) Start the LED flash tasks just to provide visual feedback that the
    demo is executing.
    5) Start the ethernet tasks.
    6) Start FreeRTOS.
Returns
0, which should never occur.
    2) Launch the Ctrl Panel modules.
    3) Start FreeRTOS.
Returns
Should never occur.
Note

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.

Referenced by jinit_c_main_controller(), jinit_d_main_controller(), METHODDEF(), and process_data_simple_main().