| CAEN FERS Library v1.1.4 SDK for FERS systems

Modules | Macros
Macros

Common macros. More...

Collaboration diagram for Macros:

## Modules
| Library version
| Macros to define the library version.
| Board constants
| FERS board family constants.
| Debug Log bitmask
| Debug Log bitmask values.
| Acquisition modes
| Acquisition modes.
| Data qualifier
| Data Qualifier.
| Clock definition
| Clock and TDL delay definitions.
| TDC constants
| Configuration contants for TDC operations (5203 only)
| Measurement modes
| Measurement modes for 5203.
| EEPROM A5256 constants
| EEPROM A5256 constants.
| FERS Flash constants
| FERS Flash constants.
| Handles and indexing
| Handles and indexing.
| Min/Max
| Re-define of Max and min.
| A5256 macros
| A5256 macros.

## Macros
#define | NODATA_TIMEOUT 100
| Timeout values. More...
#define | MAX_WAVEFORM_LENGTH 2048
| Readout constants. More...
#define | ENERGY_NBIT 14
| Data width for Energy, ToA and ToT (5202) More...
#define | FUP_BA 0xFF000000
| Fimrware upgrade via tdl constants. More...
#define | CFG_HARD 0
| Configuration Mode. More...
#define | A5203_FLASH 0
#define | A5256_EEPROM 1

## Detailed Description

Common macros.

## Macro Definition Documentation

## ◆ NODATA_TIMEOUT

#define NODATA_TIMEOUT 100

Timeout values.

time to wait after there is no data from the board to consider it empty

Definition at line 276 of file FERSlib.h.

## ◆ MAX_WAVEFORM_LENGTH

#define MAX_WAVEFORM_LENGTH 2048

Readout constants.

Maximum waveform length

Definition at line 309 of file FERSlib.h.

## ◆ ENERGY_NBIT

#define ENERGY_NBIT 14

Data width for Energy, ToA and ToT (5202)

Max nbits for PHA (5202)

Definition at line 360 of file FERSlib.h.

## ◆ A5203_FLASH

#define A5203_FLASH 0

Save calibration to FLASH

Definition at line 423 of file FERSlib.h.

## ◆ FUP_BA

#define FUP_BA 0xFF000000

Fimrware upgrade via tdl constants.

Definition at line 452 of file FERSlib.h.

## ◆ CFG_HARD

#define CFG_HARD 0

Configuration Mode.

reset + configure (acq must be restarted)

Definition at line 469 of file FERSlib.h.

## ◆ A5256_EEPROM

#define A5256_EEPROM 1

Save calibration to EEPROM

Definition at line 424 of file FERSlib.h.