RTEMS: MRM332

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Files | Macros | Functions | Variables
MRM332
Board Support Packages » Motorola 68000 and NXP ColdFire (m68k)

MRM332 Board Support Package. More...

## Files
file | bsp.h
| Global BSP definitions.

## Macros
#define | CONSOLE_SCI
#define | STACK_SIZE 0x800
#define | RAW_PUTS(str)
#define | RAW_PUTI(n)

## Functions
rtems_isr_entry | set_vector (rtems_isr_entry handler, rtems_vector_number vector, int type)
| Install an interrupt handler.
void | Spurious_Initialize (void)
void | _UART_flush (void)
void | outbyte (char)

## Variables
char | _etext []
char | _copy_start []
char | _edata []
char | _clear_start []
char | end []
bool | _copy_data_from_rom
rtems_isr_entry | M68Kvec []
int | stack_size
int | stack_start

## Detailed Description

MRM332 Board Support Package.

## Macro Definition Documentation

## ◆ RAW_PUTI

#define RAW_PUTI | ( |  | n | ) |

Value:
{ \
register int i, j; \
\
RAW_PUTS("0x"); \
for (i=28;i>=0;i -= 4) { \
j = (n>>i) & 0xf; \
SCI_output_char( (j>9 ? j-10+'a' : j+'0') ); \
} \
}

## ◆ RAW_PUTS

#define RAW_PUTS | ( |  | str | ) |

Value:
{ register char *ptr = str; \
while (*ptr) SCI_output_char(*ptr++); \
}

## Function Documentation

## ◆ set_vector()

rtems_isr_entry set_vector | ( | rtems_isr_entry | handler,
|  | rtems_vector_number | vector,
|  | int | type
| ) |  |

Install an interrupt handler.

This method installs an interrupt handle.

Parameters

  [in] | handler | is the isr routine
  [in] | vector | is the vector number
  [in] | type | indicates whether RTEMS or RAW intr

Returns
  returns old vector