Set_ADC_1_Delay.sh 218 B

12345678910
  1. #!/bin/bash
  2. echo "Set CH_4 clock ADC 1 delay... "
  3. upfix=000501
  4. fixed=4
  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