MIL-STD-1553 Reference Manual
Chapter 7 – Bus Controller Functions
7.1.8 ApiCmdBCGetMajorFrameDefinition
Prototype:
AiInt16 ApiCmdBCGetMajorFrameDefinition ( AiUInt8 Module, AiUInt8 Biu,
TY_API_BC_MFRAME *px_BCMajorFrame);
Driver Command:
API_BC_MAJ_FRAME_GET (0x6C)
Purpose:
This function is used to read the sequence of Minor Frames within the Major Frame.
None
O
O
u
u
t
t
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
x
x
_
_
B
B
C
C
M
M
a
a
j
j
o
o
r
r
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.