RTEMS  5.0.0
Files | Macros | Functions

Hurricane Board Support Package. More...

Files

file  bsp.h
 Global BSP definitions.
 

Macros

#define BSP_FEATURE_IRQ_EXTENSION
 
#define BSP_SHARED_HANDLER_SUPPORT   1
 
#define CPU_CLOCK_RATE_MHZ   (200)
 
#define CLOCKS_PER_MICROSECOND   ( CPU_CLOCK_RATE_MHZ ) /* equivalent to CPU clock speed in MHz */
 
#define rtems_bsp_delay(microseconds)
 
#define RAM_START   0
 
#define RAM_END   0x100000
 

Functions

void WriteDisplay (char *string)
 
uint32_t mips_get_timer (void)
 
void init_tlb (void)
 
void resettlb (int i)
 

Detailed Description

Hurricane Board Support Package.

Macro Definition Documentation

◆ rtems_bsp_delay

#define rtems_bsp_delay (   microseconds)
Value:
{ \
uint32_t _end_clock = \
mips_get_timer() + microseconds * CLOCKS_PER_MICROSECOND; \
_end_clock %= 0x100000000; /* make sure result is 32 bits */ \
\
/* handle timer overflow, if necessary */ \
while ( _end_clock < mips_get_timer() ); \
\
while ( _end_clock > mips_get_timer() ); \
}