12 lines
267 B
Bash
12 lines
267 B
Bash
#!/bin/sh
|
|
|
|
# 临时支持CHIP读取寄存器
|
|
write_read_chip(){
|
|
|
|
# Modify i2c cmd which write to cpld if need
|
|
cmd_wr=$option_data
|
|
res_wr=`$cmd_wr`
|
|
|
|
format_print $INFO ">>> Chip Command: $cmd_wr"
|
|
format_print $INFO ">>> The Result : $res_wr"
|
|
} |