fdhwlib
2.0.25
|
#include <kaflttriggercontrolreg.h>
Control of the KATRIN trigger system.
Every register is responsible for a group of six channels. Some parameters are defined in the central control register (KaControlStatus).
Definition at line 31 of file kaflttriggercontrolreg.h.
KaFltTriggerControlReg::KaFltTriggerControlReg | ( | const char * | name, |
int | slotID, | ||
int | regID, | ||
int | r, | ||
int | w, | ||
int | len | ||
) |
KaFltTriggerControlReg::~KaFltTriggerControlReg | ( | ) |
void KaFltTriggerControlReg::disable | ( | unsigned long | mask = 0x3fffff | ) |
Disable the trigger.
void KaFltTriggerControlReg::enable | ( | unsigned long | mask = 0x3fffff | ) |
Enable the trigger.
The channel 1..22 correspond with the bits 0..21 in mask.
int KaFltTriggerControlReg::getMode | ( | int | fpga | ) |
int KaFltTriggerControlReg::getShapingTime | ( | int | fpga | ) |
Get the shaping time of the filter (1, 2, 4, ..., 128samples)
int KaFltTriggerControlReg::getVersion | ( | int | fpga | ) |
Get version of the implementation.
bool KaFltTriggerControlReg::isEnabled | ( | int | ch | ) |
Get status of trigger.
ch | channel number (0..21) |
bool KaFltTriggerControlReg::isEnabled | ( | int | fpga, |
int | ch | ||
) |
Get status of trigger.
fpga | fpga number (1..4) |
ch | internal channel number (0..5) |
unsigned long KaFltTriggerControlReg::isEnabled | ( | ) |
Get status of trigger.
void KaFltTriggerControlReg::setShapingTime | ( | int | fpga, |
int | samples | ||
) |
Set the shaping time of the filter (1, 2, 4, ..., 128 samples)