RTEMS: bsps/m68k/mvme162/include/bsp.h File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Structures | Macros | Enumerations | Functions | Variables
bsp.h File Reference
Board Support Packages » Motorola 68000 and NXP ColdFire (m68k) » MVME162

Global BSP definitions. More...

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

Go to the source code of this file.

## Data Structures
struct | mcchip_regs
struct | scc_regs

## Macros
#define | mcchip ((mcchip_regs * const) 0xFFF42000)
#define | TX_BUFFER_EMPTY 0x04
#define | RX_DATA_AVAILABLE 0x01
#define | SCC_VECTOR 0x40
#define | scc ((scc_regs * const) 0xFFF45000)
#define | ZWRITE0(port, v) (scc[port].csr = (unsigned char)(v))
#define | ZREAD0(port) (scc[port].csr)
#define | ZREAD(port, n) (ZWRITE0(port, n), (scc[port].csr))
#define | ZREADD(port) (scc[port].csr=0x08, scc[port].csr )
#define | ZWRITE(port, n, v) (ZWRITE0(port, n), ZWRITE0(port, v))
#define | ZWRITED(port, v)
#define | EXTERN extern
#define | MOT_162BUG_VEC_ADDRESS 0x00000000

## Enumerations
enum | { portB , portA }

## Functions
bool | char_ready (int port, char *ch)
char | char_wait (int port)
void | char_put (int port, char ch)
rtems_isr_entry | set_vector (rtems_isr_entry handler, rtems_vector_number vector, int type)
| Install an interrupt handler.

## Variables
rtems_isr_entry | M68Kvec []

## Detailed Description

Global BSP definitions.