Appendix
B
B-1
Programming Examples
This appendix includes these programming examples in their entirety:
Programming example Description Page
ktx_dp.h dualport definition and data structures
ktxconst.h miscellaneous constructs
ktx_xmpl.c main body of example code
confirm.c process a KT
x
init_ktx.c start up scanner binary
put_data.c write data to output image table
read_iot.c read data from input image table
set_mode.c set scan mode command
setscanl.c set scan list command
autoconf.c autoconfigure command
bt_write.c host blocktransfer write command
bt_read.c host blocktransfer read command
set_fdg.c set faultdependent group command
getscanl.c get scan list command
ktx_int.c initializing and enabling interrupts
load.c download utility program
Appendix Preview