; $URL: http://subversion:8080/svn/gsc/trunk/drivers/LINUX/HPDI32/HPDI32_Linux_2.x.x.x_GSC_DN/samples/xfer/readme.txt $
; $Rev: 51587 $
; $Date: 2022-10-05 07:00:11 -0500 (Wed, 05 Oct 2022) $

; HPDI32: Sample Application: This file documents the configuration file commands.

echo				= ...
list				= <no | keys | current | values>
sleep_ms			= <ms>
time_us				= (none)
verbose				= <no | yes | -1>

initialize			= (none)
tristate_te_re		= <no | yes | -1>
user_jumpers		= (none)

cable_cmd_mode_0	= <fv | fc | in | low | high | -1>	; Frame Valid/GPIO 6
cable_cmd_mode_1	= <lv | fc | in | low | high | -1>	; Line Valid/GPIO 0
cable_cmd_mode_2	= <sv | fc | in | low | high | -1>	; Status Valid/GPIO 1
cable_cmd_mode_3	= <rr | fc | in | low | high | -1>	; Rx Ready/GPIO 2
cable_cmd_mode_4	= <tr | fc | in | low | high | -1>	; Tx Ready/GPIO 3
cable_cmd_mode_5	= <te | fc | in | low | high | -1>	; Tx Enabled/GPIO 4
cable_cmd_mode_6	= <re | fc | in | low | high | -1>	; Rx Enabled/GPIO 5

cable_cmd_state_0	= (none)	; Frame Valid/GPIO 6
cable_cmd_state_1	= (none)	; Line Valid/GPIO 0
cable_cmd_state_2	= (none)	; Status Valid/GPIO 1
cable_cmd_state_3	= (none)	; Rx Ready/GPIO 2
cable_cmd_state_4	= (none)	; Tx Ready/GPIO 3
cable_cmd_state_5	= (none)	; Tx Enabled/GPIO 4
cable_cmd_state_6	= (none)	; Rx Enabled/GPIO 5

irq_config_edge		= <0x0 - 0xFFFF | -1>
irq_config_high		= <0x0 - 0xFFFF | -1>
irq_enable			= <0x0 - 0xFFFF | -1>

reg_list			= <basic | detail | pci | plx>
reg_mod				= <reg>,<value>,<mask>
reg_read			= <reg>,<qty>
reg_show			= <reg>
reg_write			= <reg>,<value>,<qty>

rx_auto_start		= <no | yes | -1>
rx_enable			= <no | yes | -1>
rx_fifo_ae			= <0x0 - 0xFFFF | -1>
rx_fifo_af			= <0x0 - 0xFFFF | -1>
rx_fifo_overrun		= <clear | test | -1>
rx_fifo_reset		= (none)
rx_fifo_status		= (none)
rx_fifo_underrun	= <clear | test | -1>
rx_io_data_size		= <32 | 16 | 8 | -1>
rx_io_mode			= <dmdma | dma | pio | -1>
rx_io_overrun		= <check | ignore | -1>
rx_io_pio_threshold	= <0 - 3600 | -1>
rx_io_timeout		= <0 - 3600 | -1>
rx_io_underrun		= <check | ignore | -1>
rx_line_count		= (none)
rx_status_count		= (none)

tx_auto_start		= <no | yes | -1>
tx_auto_stop		= <no | yes | -1>
tx_clock_divider	= <0x0 - 0xFFFF | -1>
tx_enable			= <no | yes | -1>
tx_fifo_ae			= <0x0 - 0xFFFF | -1>
tx_fifo_af			= <0x0 - 0xFFFF | -1>
tx_fifo_overrun		= <clear | test | -1>
tx_fifo_reset		= (none)
tx_fifo_status		= (none)
tx_flow_control		= <start | stop | -1>
tx_io_data_size		= <32 | 16 | 8 | -1>
tx_io_mode			= <dmdma | dma | pio | -1>
tx_io_overrun		= <check | ignore | -1>
tx_io_pio_threshold	= <0 - 3600 | -1>
tx_io_timeout		= <0 - 3600 | -1>
tx_line_val_off_cnt	= <0x0 - 0xFFFF | -1>
tx_line_val_on_cnt	= <0x0 - 0x7FFFFFFF | -1>
tx_remote_throttle	= <yes | no | -1>
tx_status_val_cnt	= <0x0 - 0x7FFFFFFF | -1>
tx_status_val_mir	= <yes | no | -1>

read				= <qty>, <times> ; <times> reads of <qty> samples each
read_dest			= <ignore | file | -1>
read_dest_file		= <file name | -1>

write				= <qty>, <times> ; <times> writes of <qty> samples each
write_src			= <inc | file | -1>
write_src_file		= <file name | -1>
