JLab fADC125 Library
1.2.1
|
Functions | |
int | fa125SetByteSwap (int id, int enable) |
Enable/Disable onboard byteswapping. More... | |
int | fa125SetMulThreshold (int id, int dacData) |
Set the multiplicity sum for an internal trigger. 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 | fa125ReadEvent (int id, volatile UINT32 *data, int nwrds, unsigned int rflag) |
General Data readout routine. Deprecated. Replaced with fa125ReadBlock. 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.
id | Slot number |
References fa125_a24_proc::csr, FA125_PROC_CSR_CLEAR, fa125ID, FA125LOCK, fa125p, FA125UNLOCK, and fa125_a24::proc.
Referenced by fa125Init(), and fa125ReadEvent().
int fa125ReadEvent | ( | int | id, |
volatile UINT32 * | data, | ||
int | nwrds, | ||
unsigned int | rflag | ||
) |
General Data readout routine. Deprecated. Replaced with fa125ReadBlock.
id | Slot number of module to read |
data | local memory address to place data |
nwrds | Maximum number of words to transfer |
rflag | - Readout Flag Bits 0-3: Readout type Bits 4-31: Specific to readout type 0 - programmed I/O from the specified board Bits 4-31: Number of samples to obtain from each channel If input number of samples is odd, it will be incremented by 1. |
References FA125_DATA_END, FA125_DATA_FORMAT0, FA125_PAD_WORD, fa125Clear(), fa125ID, FA125LOCK, fa125p, FA125UNLOCK, and fa125_a24::fe.
int fa125SetByteSwap | ( | int | id, |
int | enable | ||
) |
Enable/Disable onboard byteswapping.
id | Slot number |
enable |
|
References fa125ID, FA125LOCK, fa125p, FA125UNLOCK, fa125_a24::main, and fa125_a24_main::swapctl.