MIL-STD-1553 Reference Manual
Chapter 7 – Bus Controller Functions
7.1.22 ApiCmdBCStart
Prototype:
AiInt16 ApiCmdBCStart ( AiUInt32 ul_ModuleHandle, AiUInt8 biu, AiUInt8 smod,
AiUInt32 cnt, AiFloat frame_time, AiUInt32 saddr,
AiUInt32 *maj_frame_addr, AiUInt32 min_frame_addr[64] );
Driver Command:
API_BC_START (0x78)
Purpose:
This function is used to start execution of pre-defined BC Transfers within the
minor/major frame structure and to define the minor frame timing.
I
I
n
n
p
p
u
u
t
t
A
A
i
i
U
U
I
I
n
n
t
t
8
8
s
s
m
m
o
o
d
d
Bus Controller Starting Mode
For Standard Framing Mode:
Start BC operation / Transfer execution
immediately
Start BC operation / Transfer execution
by external BC trigger input
Start BC operation / Transfer execution
by RT Modecode Dynamic Bus Control
API_BC_START_EXTERNAL_PULSE
Drive minor framing from external pulse
(BC trigger input)
Prepare BC Instruction sequence
(= Minor and Major Frame sequence) in
the Board Global memory for a fast
start with API_BC_START_FAST.
Start BC operation / Transfer execution
immediately fast.
Note that API_BC_START_SETUP and
API_BC_START_FAST shall be used
in conjunction. API_BC_START_FAST
after running BC was stopped with
ApiCmdBCHalt would also be
possible. For this mode all other
ApiCmdBCStart parameters are not
applicable.
For BC Instruction Table Mode:
Start BC operation / Transfer execution
with predefined BC Instruction Table
(refer to ApiCmdBCInstrGen)
API_BC_START_CONTINUE_ON_BC_H
ALT
Continue BC operation (only applicable
with predefined BC Instruction Table,
BC operation must be already started
with API_BC_START_INSTR_TABLE)
Note: Value 8 is not available on devices with a multi channel firmware. Please see chapter
“Limitations for specific boards” for details.