RTEMS 6.3
Loading...
Searching...
No Matches

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
#define BRM_CBA_IRQ   2
#define BRM_RTF_IRQ   4
#define BRM_ILLOP_IRQ   8
#define BRM_BC_ILLCMD_IRQ   16
#define BRM_EOL_IRQ   32
#define BRM_RT_ILLCMD_IRQ   128
#define BRM_IXEQ0_IRQ   256
#define BRM_BDRCV_IRQ   512
#define BRM_SUBAD_IRQ   1024
#define BRM_MERR_IRQ   2048
#define BRM_TAPF_IRQ   8192
#define BRM_WRAPF_IRQ   16384
#define BRM_DMAF_IRQ   32768
#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)
#define BRM_MODE_BC   0x0
#define BRM_MODE_RT   0x1
#define BRM_MODE_BM   0x2
#define BRM_MODE_BM_RT   0x3
#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.

Macro Definition Documentation

◆ GET_ERROR_DESCRIPTOR

#define GET_ERROR_DESCRIPTOR ( event_in)
Value:
(event_in>>16)