Set_ADC_4_Delay.sh 219 B

1234567891011
  1. #!/bin/bash
  2. echo "Set CH_7 clock ADC 4 delay... "
  3. upfix=000501
  4. fixed=7
  5. hex_val=$(printf "%01x\n" $1)
  6. echo "Set $hex_val --> Time value picosecond = `expr $1 "*" 150`."
  7. pci -w 0x9060 $upfix$hex_val$fixed