|
RTEMS 6.1-rc2
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
9#ifndef VME_AM_DEFINITIONS_H
10#define VME_AM_DEFINITIONS_H
65#ifndef VME_AM_STD_SUP_BLT
66#define VME_AM_STD_SUP_BLT 0x3f
68#ifndef VME_AM_STD_SUP_ASCENDING
69#define VME_AM_STD_SUP_ASCENDING 0x3f
71#ifndef VME_AM_STD_SUP_PGM
72#define VME_AM_STD_SUP_PGM 0x3e
74#ifndef VME_AM_STD_SUP_MBLT
75#define VME_AM_STD_SUP_MBLT 0x3c
77#ifndef VME_AM_STD_USR_BLT
78#define VME_AM_STD_USR_BLT 0x3b
80#ifndef VME_AM_STD_USR_ASCENDING
81#define VME_AM_STD_USR_ASCENDING 0x3b
83#ifndef VME_AM_STD_USR_PGM
84#define VME_AM_STD_USR_PGM 0x3a
86#ifndef VME_AM_STD_SUP_DATA
87#define VME_AM_STD_SUP_DATA 0x3d
89#ifndef VME_AM_STD_USR_DATA
90#define VME_AM_STD_USR_DATA 0x39
92#ifndef VME_AM_STD_USR_MBLT
93#define VME_AM_STD_USR_MBLT 0x38
95#ifndef VME_AM_EXT_SUP_BLT
96#define VME_AM_EXT_SUP_BLT 0x0f
98#ifndef VME_AM_EXT_SUP_ASCENDING
99#define VME_AM_EXT_SUP_ASCENDING 0x0f
101#ifndef VME_AM_EXT_SUP_PGM
102#define VME_AM_EXT_SUP_PGM 0x0e
104#ifndef VME_AM_EXT_SUP_DATA
105#define VME_AM_EXT_SUP_DATA 0x0d
107#ifndef VME_AM_EXT_SUP_MBLT
108#define VME_AM_EXT_SUP_MBLT 0x0c
110#ifndef VME_AM_EXT_USR_BLT
111#define VME_AM_EXT_USR_BLT 0x0b
113#ifndef VME_AM_EXT_USR_ASCENDING
114#define VME_AM_EXT_USR_ASCENDING 0x0b
116#ifndef VME_AM_EXT_USR_PGM
117#define VME_AM_EXT_USR_PGM 0x0a
119#ifndef VME_AM_EXT_USR_DATA
120#define VME_AM_EXT_USR_DATA 0x09
122#ifndef VME_AM_EXT_USR_MBLT
123#define VME_AM_EXT_USR_MBLT 0x08
125#ifndef VME_AM_2eVME_6U
126#define VME_AM_2eVME_6U 0x20
128#ifndef VME_AM_2eVME_3U
129#define VME_AM_2eVME_3U 0x21
132#define VME_AM_CSR 0x2f
134#ifndef VME_AM_SUP_SHORT_IO
135#define VME_AM_SUP_SHORT_IO 0x2d
137#ifndef VME_AM_USR_SHORT_IO
138#define VME_AM_USR_SHORT_IO 0x29
140#ifndef VME_AM_IS_SHORT
141#define VME_AM_IS_SHORT(a) (((a) & 0x30) == 0x20)
144#define VME_AM_IS_STD(a) (((a) & 0x30) == 0x30)
147#define VME_AM_IS_EXT(a) (((a) & 0x30) == 0x00)
150#define VME_AM_IS_SUP(a) ((a) & 4)
156#define VME_AM_MASK 0x3f
163#ifndef VME_AM_IS_MEMORY
164#define VME_AM_IS_MEMORY (1<<8)
173#define VME_AM_2eSST_BCST (1<<9)
175#define VME_AM_2eSST_LO (1<<10)
177#define VME_AM_2eSST_MID (2<<10)
179#define VME_AM_2eSST_HI (3<<10)
181#define VME_AM_IS_2eSST(am) ((am) & (3<<10))
186#define VME_MODE_DBW_MSK (3<<12)
187#define VME_MODE_DBW8 (1<<12)
188#define VME_MODE_DBW16 (2<<12)
189#define VME_MODE_DBW32 (3<<12)