beautypg.com

Figure11.4 scripts source code–table, Scripts source code–table – Avago Technologies LSI53C1010 User Manual

Page 256

background image

11-6

Using the SCRIPTS Processor in Target Applications

Figure 11.4 SCRIPTS Source Code–TABLE

ENTRY declarations are starting points in the SCRIPTS program and are
referred to in “C” code. See

Chapter 5, “The NASM Output File,”

for more

information on output files and how they are assembled and used in the
driver code and

Figure 11.5

for example code.

TABLE table_indirect \

msg_out_buf = 1{??}, \
cmd_buf = 12{??}, \
synch_neg_msg_out = 2{??}, \
wide_neg_msg_out = 1{??}, \
neg_msg_in = {0x01, 0x03, 0x01, 0x19, 0x08}, \
stat_buf = {0x02}, \
identify_msg_in_buf = {0x80},\
msg_in_buf = 1{??}, \
data_buf = 512{??}, \
save_pointers = {0x02}, \
disconnect_msg = {0x02, 0x04}, \
selector_id = ID{0x33, 0x07, 0x00, 0x00}, \
sense_data_buf = {0x00,0x00,0x06,0x00, 0x00, 0x00, \

0x00, 0x0a, 0x00, 0x00, 0x00, 0x00, \
0x29, 0x00, 0x00, 0x00, 0x00, 0x00}, \

inquiry_data_buf = {0x00,0x00,0x02,0x00, 0x1f,0x00, \

0x00, 0x10, 0x20, 0x20, 0x20, 0x20, \
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, \
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, \
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, \
0x20, 0x20, 0x20, 0x20, 0x20, 0x20}, \

capacity_data_buf = {0x00, 0x80, 0x02, 0x00}

;******************************************************

This manual is related to the following products: