ngc 1.5.0
 
Loading...
Searching...
No Matches
ngcdcsALBIAS.cpp File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <unistd.h>
#include <math.h>
#include <errno.h>
#include <ngc/core/ngcdcsALBIAS.hpp>

Macros

#define _ALICE_ADC_CMD(MUXP, MUXN, DELAY, PGA_EN, GAIN, IMAG, I2MUX, I1MUX, SYS_MON, REF_SEL)
 

Detailed Description

Macro Definition Documentation

◆ _ALICE_ADC_CMD

#define _ALICE_ADC_CMD ( MUXP,
MUXN,
DELAY,
PGA_EN,
GAIN,
IMAG,
I2MUX,
I1MUX,
SYS_MON,
REF_SEL )
Value:
( \
( ((MUXP) << 28) & 0xF0000000 ) | \
( ((MUXN) << 24) & 0x0F000000 ) | \
( ((DELAY) << 21) & 0x00E00000 ) | \
( ((PGA_EN) << 19) & 0x00180000 ) | \
( ((GAIN) << 16) & 0x00070000 ) | \
( ((IMAG) << 12) & 0x0000F000 ) | \
( ((I2MUX) << 8) & 0x00000F00 ) | \
( ((I1MUX) << 4) & 0x000000F0 ) | \
( ((SYS_MON) << 1) & 0x0000000E ) | \
( ((REF_SEL) ) & 0x00000001 ) )