|
CAEN FERS Library v1.3.0
SDK for FERS systems
|
A5256 macros. More...
Macros | |
| #define | A5256_CH0_POSITIVE 0 |
| CH0 positive polarity. | |
| #define | A5256_CH0_NEGATIVE 1 |
| CH0 negative polarity. | |
| #define | A5256_CH0_DUAL 2 |
| CH0 dual polarity. | |
| #define | ADAPTER_NONE 0x0000 |
| No adapter. | |
| #define | ADAPTER_A5255 0x0000 |
| A5255 is just a mechanical adapter (same as NONE) | |
| #define | ADAPTER_A5256 0x0002 |
| 16+1 ch discriminator with programmable thresholds | |
| #define | ADAPTER_A5256_REV0_POS 0x0100 |
| Proto0 of A5256 used with positive signals (discontinued) | |
| #define | ADAPTER_A5256_REV0_NEG 0x0101 |
| Proto0 of A5256 used with negative signals (discontinued) | |
| #define | NC -1 |
| #define | A5256_DAC_LSB ((float)2500/4095) |
| LSB of the threshold in mV. | |
| #define | A5256_mV_to_DAC(mV) |
| Convert Threshold from mV into DAC LSB. | |
| #define | A5256_DAC_to_mV(lsb) |
| Convert Threshold from DAC LSB to mV. | |
A5256 macros.
| #define ADAPTER_A5255 0x0000 |
| #define ADAPTER_A5256 0x0002 |
| #define ADAPTER_A5256_REV0_POS 0x0100 |
| #define ADAPTER_A5256_REV0_NEG 0x0101 |
| #define A5256_DAC_LSB ((float)2500/4095) |
| #define A5256_mV_to_DAC | ( | mV | ) |
Convert Threshold from mV into DAC LSB.
| #define A5256_DAC_to_mV | ( | lsb | ) |
Convert Threshold from DAC LSB to mV.