RTEMS  5.0.0
Data Structures | Macros | Functions | Variables

B1553BRM device driver. More...

Data Structures

struct  brm_reg
 
struct  bm_msg
 
struct  rt_msg
 
struct  bc_msg
 

Macros

#define BC_TR   0x0001
 
#define BC_RTRT   0x0002
 
#define BC_BUSA   0x0004
 
#define BC_EOL   0x0020
 
#define BC_SKIP   0x0040
 
#define BC_BAME   0x8000
 
#define BRM_MBC_IRQ   1 /* Monitor Block Counter irq */
 
#define BRM_CBA_IRQ   2 /* Command Block Accessed irq */
 
#define BRM_RTF_IRQ   4 /* Retry Fail irq */
 
#define BRM_ILLOP_IRQ   8 /* Illogical Opcode irq */
 
#define BRM_BC_ILLCMD_IRQ   16 /* BC Illocigal Command irq */
 
#define BRM_EOL_IRQ   32 /* End Of List irq */
 
#define BRM_RT_ILLCMD_IRQ   128 /* RT Illegal Command irq */
 
#define BRM_IXEQ0_IRQ   256 /* Index Equal Zero irq */
 
#define BRM_BDRCV_IRQ   512 /* Broadcast Command Received irq */
 
#define BRM_SUBAD_IRQ   1024 /* Subaddress Accessed irq */
 
#define BRM_MERR_IRQ   2048 /* Message Error irq */
 
#define BRM_TAPF_IRQ   8192 /* Terminal Address Parity Fail irq */
 
#define BRM_WRAPF_IRQ   16384 /* Wrap Fail irq */
 
#define BRM_DMAF_IRQ   32768 /* DMA Fail irq */
 
#define BRM_SET_MODE   0
 
#define BRM_SET_BUS   1
 
#define BRM_SET_MSGTO   2
 
#define BRM_SET_RT_ADDR   3
 
#define BRM_SET_STD   4
 
#define BRM_SET_BCE   5
 
#define BRM_TX_BLOCK   7
 
#define BRM_RX_BLOCK   8
 
#define BRM_DO_LIST   10
 
#define BRM_LIST_DONE   11
 
#define BRM_CLR_STATUS   12
 
#define BRM_GET_STATUS   13
 
#define BRM_SET_EVENTID   14
 
#define GET_ERROR_DESCRIPTOR(event_in)   (event_in>>16)
 
#define BRM_MODE_BC   0x0
 
#define BRM_MODE_RT   0x1
 
#define BRM_MODE_BM   0x2
 
#define BRM_MODE_BM_RT   0x3 /* both RT and BM */
 
#define BRM_FREQ_12MHZ   0
 
#define BRM_FREQ_16MHZ   1
 
#define BRM_FREQ_20MHZ   2
 
#define BRM_FREQ_24MHZ   3
 
#define BRM_FREQ_MASK   0x3
 
#define CLKDIV_MASK   0xf
 
#define CLKSEL_MASK   0x7
 

Functions

void b1553brm_register_drv (void)
 
void b1553brm_print (int options)
 
void b1553brm_print_dev (struct drvmgr_dev *dev, int options)
 

Variables

unsigned short b1553brm_rt_cmd_legalize [16]
 

Detailed Description

B1553BRM device driver.