/alps/pcitool

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to tests/heb/cfg/Set_ADC_3_Delay.sh

  • Committer: Suren A. Chilingaryan
  • Date: 2014-03-19 22:12:31 UTC
  • Revision ID: csa@suren.me-20140319221231-erlz0d7pk8nzo8e6
Add HEB scripts and re-organize the structure

Show diffs side-by-side

added added

removed removed

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