MIL-STD-1553 Reference Manual
Chapter 7 – Bus Controller Functions
I
I
n
n
p
p
u
u
t
t
A
A
i
i
U
U
I
I
n
n
t
t
8
8
m
m
o
o
d
d
e
e
Initalize all parameters of Instruction Table tbl to 0 (CLEAR)
Convert Instruction Table tbl to array ctbl (CONVERT)
Write array ctbl to the Instruction list memory area (WRITE)
CONVERT and immediately WRITE
Convert Instruction Table tbl to array ctbl using “dest_offset” for
calculating the addresses with an offset (CONVERT_OFFSET)
CONVERT_OFFSET and immediately WRITE
Amount of entries to convert from BC Instruction Table structure (tbl).
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
d
d
e
e
s
s
t
t
_
_
c
c
n
n
t
t
Amount of ctbl entries to write to the Instruction list area of the Global memory.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
d
d
e
e
s
s
t
t
_
_
o
o
f
f
f
f
s
s
e
e
t
t
Byte offset for writing ctbl entries to Instruction list area. An Offset value of 0 is
identical to the Start address of the Instruction list area within the Global memory
layout (refer to to ApiCmdBCInstrTblIni).
The instruction list (ctbl) is written to the Global Memory
Instruction list area at offset ‘byte offset’ starting with instruction
at offset ‘byte offset’ in ctbl
Ctbl[byte offset] GRAM Instruction List Area [byte offset]
The instruction list (ctbl) is written to the Global Memory
Instruction list area at offset ‘byte offset’ starting with first
instruction in ctbl
Ctbl GRAM Instruction List Area [byte offset]
Note: This is typically used to compile a partial list only
and write it to the board!
T
T
Y
Y
_
_
A
A
P
P
I
I
_
_
B
B
C
C
_
_
F
F
W
W
_
_
I
I
N
N
S
S
T
T
R
R
*
*
t
t
b
b
l
l
BC Instruction Table
typedef struct ty_api_bc_fw_instr {
AiUInt16 label; /* Label */
AiUInt8 op; /* Firmware Opcode */
AiUInt8 res; /* Reserved */
AiUInt32 par1;
AiUInt32 par2;
AiUInt32 laddr; /* Instruction Address for Label */
} TY_API_BC_FW_INSTR;
A
A
i
i
U
U
I
I
n
n
t
t
1
1
6
6
l
l
a
a
b
b
e
e
l
l
Instruction Label (eg. For
ehavior
on
ly of jump destination, start of a transfer
sequence, etc )