Forward Multiplicity Detector instructions


Functions

u_int RCUC_FMD_encode (u_int instr)
u_int RCUC_FMD_BIAS_read_encode (u_int addr)
u_int RCUC_FMD_BIAS_write_encode (u_int addr, u_int data0, u_int data1)
u_int RCUC_FMD_VFP_read_encode (u_int addr)
u_int RCUC_FMD_VFP_write_encode (u_int addr, u_int data0, u_int data1)
u_int RCUC_FMD_VFS_read_encode (u_int addr)
u_int RCUC_FMD_VFS_write_encode (u_int addr, u_int data0, u_int data1)
u_int RCUC_FMD_CAL_LVL_read_encode (u_int addr)
u_int RCUC_FMD_CAL_LVL_write_encode (u_int addr, u_int data0, u_int data1)
u_int RCUC_FMD_SHIFT_CLK_read_encode (u_int addr)
u_int RCUC_FMD_SHIFT_CLK_write_encode (u_int addr, u_int data0, u_int data1)
u_int RCUC_FMD_SAMPLE_CLK_read_encode (u_int addr)
u_int RCUC_FMD_SAMPLE_CLK_write_encode (u_int addr, u_int data0, u_int data1)
u_int RCUC_FMD_HOLD_DELAY_read_encode (u_int addr)
u_int RCUC_FMD_HOLD_DELAY_write_encode (u_int addr, u_int data0)
u_int RCUC_FMD_L1_TIMEOUT_read_encode (u_int addr)
u_int RCUC_FMD_L1_TIMEOUT_write_encode (u_int addr, u_int data0)
u_int RCUC_FMD_L2_TIMEOUT_read_encode (u_int addr)
u_int RCUC_FMD_L2_TIMEOUT_write_encode (u_int addr, u_int data0)
u_int RCUC_FMD_RANGE_read_encode (u_int addr)
u_int RCUC_FMD_RANGE_write_encode (u_int addr, u_int data0, u_int data1)
u_int RCUC_FMD_cmd_encode (u_int cmd, u_int addr)
u_int RCUC_FMD_CHG_DAC_cmd_encode ()
u_int RCUC_FMD_TRIGGER_cmd_encode ()
u_int RCUC_FMD_PULSER_MODE_cmd_encode (u_int enable)
u_int RCUC_FMD_L0_read_encode (u_int addr)
u_int RCUC_FMD_L1_read_encode (u_int addr)


Function Documentation

u_int RCUC_FMD_BIAS_read_encode u_int  addr  ) 
 

Encode instruction to read the FMD register BIAS.

Parameters:
addr Address
Returns:
partially compiled instruction.

u_int RCUC_FMD_BIAS_write_encode u_int  addr,
u_int  data0,
u_int  data1
 

Encode instruction to write data1 to the FMD register BIAS.

Parameters:
addr Address
data0 Value to write to BIAS
data1 Value to write to BIAS
Returns:
partially compiled instruction.

u_int RCUC_FMD_CAL_LVL_read_encode u_int  addr  ) 
 

Encode instruction to read the FMD register CAL_LVL.

Parameters:
addr Address
Returns:
partially compiled instruction.

u_int RCUC_FMD_CAL_LVL_write_encode u_int  addr,
u_int  data0,
u_int  data1
 

Encode instruction to write data1 to the FMD register CAL_LVL.

Parameters:
addr Address
data0 Value to write to CAL_LVL
data1 Value to write to CAL_LVL
Returns:
partially compiled instruction.

u_int RCUC_FMD_CHG_DAC_cmd_encode  ) 
 

Encode instruction to send FMD command CHG_DAC.

Returns:
partially compiled instruction.

u_int RCUC_FMD_cmd_encode u_int  cmd,
u_int  addr
 

Encode instruction to send FMD command fmd.

Parameters:
cmd Command number
addr Address
Returns:
partially compiled instruction.

u_int RCUC_FMD_encode u_int  instr  ) 
 

Encode an FMD instruction.

This really puts two instructions into the instruction set: one for the instruction itself, and one for the data.

Parameters:
instr The instruction to encode. The data is set by the other FMD encoding functions, and need not be passed here.
Returns:
The partially compiled instruction

u_int RCUC_FMD_HOLD_DELAY_read_encode u_int  addr  ) 
 

Encode instruction to read the FMD register HOLD_DELAY.

Parameters:
addr Address
Returns:
partially compiled instruction.

u_int RCUC_FMD_HOLD_DELAY_write_encode u_int  addr,
u_int  data0
 

Encode instruction to write data0 to the FMD register HOLD_DELAY.

Parameters:
addr Address
data0 Value to write to HOLD_DELAY
Returns:
partially compiled instruction.

u_int RCUC_FMD_L0_read_encode u_int  addr  ) 
 

Encode instruction to read the FMD register L0.

Parameters:
addr Address
Returns:
partially compiled instruction.

u_int RCUC_FMD_L1_read_encode u_int  addr  ) 
 

Encode instruction to read the FMD register L1.

Parameters:
addr Address
Returns:
partially compiled instruction.

u_int RCUC_FMD_L1_TIMEOUT_read_encode u_int  addr  ) 
 

Encode instruction to read the FMD register L1_TIMEOUT.

Parameters:
addr Address
Returns:
partially compiled instruction.

u_int RCUC_FMD_L1_TIMEOUT_write_encode u_int  addr,
u_int  data0
 

Encode instruction to write data0 to the FMD register L1_TIMEOUT.

Parameters:
addr Address
data0 Value to write to L1_TIMEOUT
Returns:
partially compiled instruction.

u_int RCUC_FMD_L2_TIMEOUT_read_encode u_int  addr  ) 
 

Encode instruction to read the FMD register L2_TIMEOUT.

Parameters:
addr Address
Returns:
partially compiled instruction.

u_int RCUC_FMD_L2_TIMEOUT_write_encode u_int  addr,
u_int  data0
 

Encode instruction to write data0 to the FMD register L2_TIMEOUT.

Parameters:
addr Address
data0 Value to write to L2_TIMEOUT
Returns:
partially compiled instruction.

u_int RCUC_FMD_PULSER_MODE_cmd_encode u_int  enable  ) 
 

Encode instruction to send FMD command PULSER_MODE.

Parameters:
enable Address
Returns:
partially compiled instruction.

u_int RCUC_FMD_RANGE_read_encode u_int  addr  ) 
 

Encode instruction to read the FMD register RANGE.

Parameters:
addr Address
Returns:
partially compiled instruction.

u_int RCUC_FMD_RANGE_write_encode u_int  addr,
u_int  data0,
u_int  data1
 

Encode instruction to write data1 to the FMD register RANGE.

Parameters:
addr Address
data0 Value to write to RANGE
data1 Value to write to RANGE
Returns:
partially compiled instruction.

u_int RCUC_FMD_SAMPLE_CLK_read_encode u_int  addr  ) 
 

Encode instruction to read the FMD register SAMPLE_CLK.

Parameters:
addr Address
Returns:
partially compiled instruction.

u_int RCUC_FMD_SAMPLE_CLK_write_encode u_int  addr,
u_int  data0,
u_int  data1
 

Encode instruction to write data1 to the FMD register SAMPLE_CLK.

Parameters:
addr Address
data0 Value to write to SAMPLE_CLK
data1 Value to write to SAMPLE_CLK
Returns:
partially compiled instruction.

u_int RCUC_FMD_SHIFT_CLK_read_encode u_int  addr  ) 
 

Encode instruction to read the FMD register SHIFT_CLK.

Parameters:
addr Address
Returns:
partially compiled instruction.

u_int RCUC_FMD_SHIFT_CLK_write_encode u_int  addr,
u_int  data0,
u_int  data1
 

Encode instruction to write data1 to the FMD register SHIFT_CLK.

Parameters:
addr Address
data0 Value to write to SHIFT_CLK
data1 Value to write to SHIFT_CLK
Returns:
partially compiled instruction.

u_int RCUC_FMD_TRIGGER_cmd_encode  ) 
 

Encode instruction to send FMD command FMD_TRIGGER.

Returns:
partially compiled instruction.

u_int RCUC_FMD_VFP_read_encode u_int  addr  ) 
 

Encode instruction to read the FMD register VFP.

Parameters:
addr Address
Returns:
partially compiled instruction.

u_int RCUC_FMD_VFP_write_encode u_int  addr,
u_int  data0,
u_int  data1
 

Encode instruction to write data1 to the FMD register VFP.

Parameters:
addr Address
data0 Value to write to VFP
data1 Value to write to VFP
Returns:
partially compiled instruction.

u_int RCUC_FMD_VFS_read_encode u_int  addr  ) 
 

Encode instruction to read the FMD register VFS.

Parameters:
addr Address
Returns:
partially compiled instruction.

u_int RCUC_FMD_VFS_write_encode u_int  addr,
u_int  data0,
u_int  data1
 

Encode instruction to write data1 to the FMD register VFS.

Parameters:
addr Address
data0 Value to write to VFS
data1 Value to write to VFS
Returns:
partially compiled instruction.

Top of page Last update Fri Jul 21 19:48:34 2006
Copyright © 2004 Christian Holm Created by DoxyGen 1.3.5