Hurricane Board Support Package.
More...
|
file | bsp.h |
| Global BSP definitions.
|
|
|
#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 |
|
|
void | WriteDisplay (char *string) |
|
uint32_t | mips_get_timer (void) |
|
void | init_tlb (void) |
|
void | resettlb (int i) |
|
Hurricane Board Support Package.
◆ rtems_bsp_delay
#define rtems_bsp_delay |
( |
|
microseconds | ) |
|
Value: { \
uint32_t _end_clock = \
mips_get_timer() + microseconds * CLOCKS_PER_MICROSECOND; \
_end_clock %= 0x100000000; \
\
\
while ( _end_clock < mips_get_timer() ); \
\
while ( _end_clock > mips_get_timer() ); \
}