There are a few module constants used to direct communication with the MCA-3K
The constants specify the on-board hardware target (ARM or FPGA) and the address within the target.
Module communication constants |
Constant | Description |
FPGA_WRITE | Command type: Write to FPGA |
FPGA_READ | Command type: Read from FPGA |
ARM_WRITE | Command type: Write to ARM |
ARM_READ | Command type: Read from ARM |
MA_CONTROLS | Command address: FPGA control registers |
MA_STATISTICS | Command address: FPGA statistics registers (used for time and count rate measurement) |
MA_RESULTS | Command address: FPGA results registers (version, telemetry) |
MA_HISTOGRAM | Command address: FPGA histogram memory |
MA_TRACE | Command address: FPGA oscilloscope trace memory |
MA_LISTMODE | Command address: FPGA list mode memory |
MA_WEIGHTS | Command address: FPGA summation weights |
MA_ACTIONS | Command address: FPGA action registers, eg to start data acquisition or clear previous data. |
Command type and command address module constants