
Chris@40: autogen definitions write_read_test.tpl;
Chris@40: 
Chris@40: data_type = {
Chris@40: 	type_name		= char ;
Chris@40: 	data_type		= short ;
Chris@40: 	data_field		= s ;
Chris@40: 	error_func		= CHAR_ERROR ;
Chris@40: 	format_char		= "0x%X" ;
Chris@40: 	max_val			= "32000.0" ;
Chris@40: 	max_error		= "255" ;
Chris@40: 	} ;
Chris@40: 
Chris@40: data_type = {
Chris@40: 	type_name		= short ;
Chris@40: 	data_type		= short ;
Chris@40: 	data_field		= s ;
Chris@40: 	error_func		= INT_ERROR ;
Chris@40: 	format_char		= "0x%X" ;
Chris@40: 	max_val			= "32000.0" ;
Chris@40: 	max_error		= "0" ;
Chris@40: 	} ;
Chris@40: 
Chris@40: data_type = {
Chris@40: 	type_name		= "20bit" ;
Chris@40: 	data_type		= int ;
Chris@40: 	data_field		= i ;
Chris@40: 	error_func		= BIT_20_ERROR ;
Chris@40: 	format_char		= "0x%X" ;
Chris@40: 	max_val			= "(1.0 * 0x7F00000)" ;
Chris@40: 	max_error		= "4096" ;
Chris@40: 	} ;
Chris@40: 
Chris@40: data_type = {
Chris@40: 	type_name		= "24bit" ;
Chris@40: 	data_type		= int ;
Chris@40: 	data_field		= i ;
Chris@40: 	error_func		= TRIBYTE_ERROR ;
Chris@40: 	format_char		= "0x%X" ;
Chris@40: 	max_val			= "(1.0 * 0x7F000000)" ;
Chris@40: 	max_error		= "256" ;
Chris@40: 	} ;
Chris@40: 
Chris@40: data_type = {
Chris@40: 	type_name		= int ;
Chris@40: 	data_type		= int ;
Chris@40: 	data_field		= i ;
Chris@40: 	error_func		= INT_ERROR ;
Chris@40: 	format_char		= "0x%X" ;
Chris@40: 	max_val			= "(1.0 * 0x7F000000)" ;
Chris@40: 	max_error		= "0" ;
Chris@40: 	} ;
Chris@40: 
Chris@40: /* Lite remove start */
Chris@40: 
Chris@40: data_type = {
Chris@40: 	type_name		= float ;
Chris@40: 	data_type		= float ;
Chris@40: 	data_field		= f ;
Chris@40: 	error_func		= FLOAT_ERROR ;
Chris@40: 	format_char		= "%g" ;
Chris@40: 	max_val			= "1.0" ;
Chris@40: 	max_error		= "0" ;
Chris@40: 	} ;
Chris@40: 
Chris@40: data_type = {
Chris@40: 	type_name		= double ;
Chris@40: 	data_type		= double ;
Chris@40: 	data_field		= d ;
Chris@40: 	error_func		= FLOAT_ERROR ;
Chris@40: 	format_char		= "%g" ;
Chris@40: 	max_val			= "1.0" ;
Chris@40: 	max_error		= "0" ;
Chris@40: 	} ;
Chris@40: 
Chris@40: /* Lite remove end */




