RTEMS  5.1
Macros | Functions
bsp.h File Reference

Global BSP definitons. More...

#include <bspopts.h>
#include <bsp/default-initial-extension.h>
#include <rtems.h>
#include <s3c24xx.h>

Go to the source code of this file.

Macros

#define BSP_FEATURE_IRQ_EXTENSION
 
#define BSP_OSC_FREQ   12000000
 12 MHz oscillator
 
#define M_MDIV   81
 FCLK=133Mhz.
 
#define M_PDIV   2
 
#define M_SDIV   1
 
#define M_CLKDIVN   2
 HCLK=FCLK/2, PCLK=FCLK/2.
 
#define REFEN   0x1
 enable refresh
 
#define TREFMD   0x0
 CBR(CAS before RAS)/auto refresh.
 
#define Trp   0x0
 2 clk
 
#define Trc   0x3
 7 clk
 
#define Tchr   0x2
 3 clk
 
#define BSP_IDLE_TASK_BODY   bsp_idle_thread
 

Functions

void * bsp_idle_thread (uintptr_t ignored)
 This BSP provides its own IDLE thread to override the RTEMS one. More...
 
uint32_t get_FCLK (void)
 functions to get the differents s3c2400 clks
 
uint32_t get_HCLK (void)
 
uint32_t get_PCLK (void)
 
uint32_t get_UCLK (void)
 

Detailed Description

Global BSP definitons.