MIL-STD-1553 Reference Manual
Chapter 7 – Bus Controller Functions
7.1.18 ApiCmdBCMFrameDefEx
Prototype:
AiInt16 ApiCmdBCMFrameDefEx ( AiUInt32 ul_ModuleHandle, AiUInt8 biu,
TY_API_BC_MFRAME_EX *pmframe );
Driver Command:
API_BC_MFRAME_DEF (0x74)
Purpose:
This function is used to define the sequence of Minor Frames within the Major Frame.
The BC Minor Frames shall be defined previously using the ApiCmdBCFrameDef
function.
I
I
n
n
p
p
u
u
t
t
T
T
Y
Y
_
_
A
A
P
P
I
I
_
_
B
B
C
C
_
_
M
M
F
F
R
R
A
A
M
M
E
E
_
_
E
E
X
X
*
*
p
p
m
m
f
f
r
r
a
a
m
m
e
e
BC Major Frame description
typedef struct ty_api_bc_mframe_ex
{
AiUInt16 cnt;
AiUInt16 padding1;
AiUInt8 fid[MAX_API_BC_MFRAME_EX];
} TY_API_BC_MFRAME_EX;
#define MAX_API_BC_MFRAME_EX 512
Amount of Minor Frames in Major Frame
A
A
i
i
U
U
I
I
n
n
t
t
1
1
6
6
p
p
a
a
d
d
d
d
i
i
n
n
g
g
1
1
0 (reserved)
A
A
i
i
U
U
I
I
n
n
t
t
8
8
f
f
i
i
d
d
[
[
]
]
Sequence of Minor Frame Identifiers
Return Value
All API functions return API_OK if no error occurred. If the return value is not equal
to API_OK the function ApiGetErrorDescription can be used to obtain an error
description.