MIL-STD-1553 Reference Manual
Chapter 7 – Bus Controller Functions
7.1.17 ApiCmdBCMFrameDef
Prototype:
AiInt16 ApiCmdBCMFrameDef ( AiUInt32 ul_ModuleHandle, AiUInt8 biu,
TY_API_BC_MFRAME *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
*
*
p
p
m
m
f
f
r
r
a
a
m
m
e
e
BC Major Frame description
typedef struct ty_api_bc_mframe
{
AiUInt8 cnt;
AiUInt8 fid[MAX_API_BC_MFRAME];
} TY_API_BC_MFRAME;
#define MAX_API_BC_MFRAME 64
Amount of Minor Frames in Major Frame
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.