|
int | fa125Init (UINT32 addr, UINT32 addr_inc, int nadc, int iFlag) |
| Initialize the fa125 Library. More...
|
|
void | fa125CheckAddresses (int id) |
|
int | fa125Slot (unsigned int i) |
| Convert an index into a slot number, where the index is the element of an array of fA125s in the order in which they were initialized. More...
|
|
int | fa125Status (int id, int pflag) |
| Print Status of fADC125 to standard out. More...
|
|
void | fa125GStatus (int pflag) |
| Print a summary of all initialized fADC1250s. More...
|
|
int | fa125SetProcMode (int id, int pmode, unsigned int PL, unsigned int PTW, unsigned int NSB, unsigned int NSA, unsigned int NP) |
| Configure the processing type/mode. More...
|
|
int | fa125SetByteSwap (int id, int enable) |
| Enable/Disable onboard byteswapping. More...
|
|
int | fa125PowerOff (int id) |
| Power Off the fADC125. More...
|
|
int | fa125PowerOn (int id) |
| Power On the fADC125. More...
|
|
int | fa125SetOffset (int id, int chan, int dacData) |
| Set the DAC offset for a specific fADC125 Channel. More...
|
|
int | fa125SetOffsetFromFile (int id, char *filename) |
| Set the DAC offset for a specific fADC125 Channel from a specified file. More...
|
|
unsigned short | fa125ReadOffset (int id, int chan) |
| Readback the DAC offset set for a specific fADC125 Channel. More...
|
|
int | fa125ReadOffsetToFile (int id, char *filename) |
| Readback the DAC offset set for a specific fADC125 Channel into a specified file. More...
|
|
int | fa125SetThreshold (int id, unsigned short tvalue, unsigned short chan) |
| Set the readout threshold for a specific fADC125 Channel. More...
|
|
int | fa125SetChannelDisable (int id, int channel) |
| Disable a specific fADC125 Channel. More...
|
|
int | fa125SetChannelDisableMask (int id, unsigned int cmask0, unsigned int cmask1, unsigned int cmask2) |
| Disable specific fADC125 Channels using three separate channel masks. More...
|
|
int | fa125SetChannelEnable (int id, int channel) |
| Enable a specific fADC125 Channel. More...
|
|
int | fa125SetChannelEnableMask (int id, unsigned int cmask0, unsigned int cmask1, unsigned int cmask2) |
| Enable specific fADC125 Channels using three separate channel masks. More...
|
|
int | fa125SetCommonThreshold (int id, unsigned short tvalue) |
| Set a common readout threshold for all fADC125 Channels. More...
|
|
void | fa125GSetCommonThreshold (unsigned short tvalue) |
| Set a common readout threshold for all fADC125 Channels for all initialized modules. More...
|
|
int | fa125PrintThreshold (int id) |
| Print to standarad out the set readout threshold for all fADC125 Channels in the specified module. More...
|
|
int | fa125SetPulserAmplitude (int id, int chan, int dacData) |
| Set the output Pulser Amplitude for the specified connector. More...
|
|
int | fa125SetMulThreshold (int id, int dacData) |
| Set the multiplicity sum for an internal trigger. More...
|
|
int | fa125PrintTemps (int id) |
| Print the temperature of the main board and mezzanine to standard out. More...
|
|
int | fa125SetClockSource (int id, int clksrc) |
| Set the clock source for the specified fADC125. More...
|
|
int | fa125SetTriggerSource (int id, int trigsrc) |
| Set the trigger source for the specified fADC125. More...
|
|
int | fa125GetTriggerSource (int id) |
| Returns the trigger source for the specified fADC125. More...
|
|
int | fa125SetSyncResetSource (int id, int srsrc) |
| Set the Sync Reset source for the specified fADC125. More...
|
|
int | fa125Poll (int id) |
| Poll the specified fADC125's busy status. More...
|
|
unsigned int | fa125GetBerrCount () |
| Return the Bus Error count that occurred while checking the busy status. More...
|
|
int | fa125Clear (int id) |
| Clear used with serial acquisition buffers. Deprecated as this is no longer the way to readout data from the module. More...
|
|
int | fa125Enable (int id) |
| Enable buffers and FIFOs for data acquisition. More...
|
|
int | fa125Disable (int id) |
| Disable buffers and FIFOs for data acquisition. More...
|
|
int | fa125Reset (int id, int reset) |
| Perform the selected Reset to a specific fADC125. More...
|
|
int | fa125ResetCounters (int id) |
| Reset all counters (trigger count, clock count, sync reset count, trig2 count) More...
|
|
int | fa125ResetToken (int id) |
| Returns the token to the first module This routine only has an effect on the first module of the Multiblock setup. More...
|
|
int | fa125GetTokenMask () |
| Return the slot mask of modules with the token. More...
|
|
int | fa125SetBlocklevel (int id, int blocklevel) |
| Set the number of events in the block. More...
|
|
int | fa125SoftTrigger (int id) |
| Initiate a software trigger for a specific fADC125 module. More...
|
|
int | fa125SetPulserTriggerDelay (int id, int delay) |
| Set the delay between the output pulse and f1TDC trigger. More...
|
|
int | fa125SetPulserWidth (int id, int width) |
| Set the width of the output pulse. More...
|
|
int | fa125SoftPulser (int id, int output) |
| Trigger the pulser. More...
|
|
int | fa125SetPPG (int id, int fe_chip, unsigned short *sdata, int nsamples) |
| Setup fADC125 Progammable Pulse Generator. More...
|
|
int | fa125PPGEnable (int id) |
| Enable the programmable pulse generator. More...
|
|
int | fa125PPGDisable (int id) |
| Disable the programmable pulse generator. More...
|
|
int | fa125ReadEvent (int id, volatile UINT32 *data, int nwrds, unsigned int rflag) |
| General Data readout routine. Deprecated. Replaced with fa125ReadBlock. More...
|
|
int | fa125Bready (int id) |
| Return a Block Ready status. More...
|
|
unsigned int | fa125GBready () |
| Return a Block Ready status mask for all initialized fADC125s. More...
|
|
unsigned int | fa125ScanMask () |
| Return the vme slot mask of all initialized fADC125s. More...
|
|
int | fa125ReadBlockStatus (int pflag) |
| Return the block error flag and optionally print out the description to standard out. More...
|
|
int | fa125ReadBlock (int id, volatile UINT32 *data, int nwrds, int rflag) |
| General Data readout routine. More...
|
|
void | fa125DecodeData (unsigned int data) |
| Decode a data word from an fADC125 and print to standard out. More...
|
|
void | fa125FirmwareSetDebug (unsigned int debug) |
| Set the debugging flags for diagnosing firmware updating problems. More...
|
|
int | fa125FirmwareGVerifyFull () |
| Verify that the firmware has been written correctly to all initialized fADC125s. More...
|
|
int | fa125FirmwareReadMcsFile (char *filename) |
| Read in the firmware from selected MCS file. More...
|
|
void | fa125FirmwarePrintFPGAStats () |
| Prints to standard out, the memory size and location of each FPGA firmware. More...
|
|
void | fa125FirmwarePrintPage (int page) |
| Prints the selected firmware page to standard out. More...
|
|
int | fa125FirmwareEraseFull (int id) |
| Erase the entire contents of the configuration ROM of the selected fADC125. More...
|
|
int | fa125FirmwareGEraseFull () |
| Erase the entire contents of the configuration ROM for all initialized fADC125s. More...
|
|
int | fa125FirmwareWriteFull (int id) |
| Write the contents of the read in MCS file to the selected fADC125 Configuration ROM. More...
|
|
int | fa125FirmwareGWriteFull () |
| Write the contents of the read in MCS file to the Configuration ROM of all initialized fADC125s. More...
|
|
void | fa125FirmwarePrintTimes () |
| Print the time it took for each firmware update step to standard out. debug = FA125_FIRMWARE_DEBUG_MEASURE_TIMES Must be selected prior to update. More...
|
|
int | fa125FirmwareGCheckErrors () |
| Print to standard out the results of the firmware update for each initialized fADC125. More...
|
|