Terminator  = LF;
LockTimeout  = 5000;
ReplyTimeout  = 4000;
ReadTimeout   = 500;
WriteTimeout  = 3000;
ExtraInput    = Ignore;

#
# atmel DAC read/write
#

DAC {
# Example of command field(INP, "@<file.proto> DAC <port> <value>")
	ExtraInput = Ignore;

	out "DAC";
}

DAC_err_intr {
	# Example of command field(INP,  "@hadcon_RADC.proto DAC_err_intr($(ID)) $(device)")

    in "ERR%*1c DAC \$1 %39c";
}

DAC_read_CHANNEL_intr {
# Example of command field(INP, "@<file.proto> DAC_read_CHANNEL_intr(number) <port>")
	ExtraInput = Ignore;

  #number = %\${1};
                     
	Terminator  = CR;
	
	in "%*{\nRECV|RECV} DAC \$1 %x";
}


DAC_write{
# Example of command field(INP, "@<file.proto> DAC_write(channel) <port>")
	ExtraInput = Ignore;

	out "DAC \${1} %i";
  	in "%*{\nRECV|RECV} DAC \$1 %*x %i";
}
