12#error This is a C++ include file and cannot be used from plain C
22#define ngcdcsADC_PP_MAXSIZE (320 * 256)
135 int Enable(
int check = 1);
144 void Preset(
int size,
int n);
168 int Convert(
int cvt1,
int cvt2);
177 int Delay(
int ticks);
180 int Offset(
double newOffset);
186 int Monitor(
int num,
int chan);
198 int Status(
int *hwStatus,
int *swStatus);
213 int PPDim(
int nx,
int ny);
228 int SetupKey(
const char *key,
const int *idx,
const char *value,
232 int StatusKey(
const char *key,
const int *idx,
char *value,
254 int Volt2Reg_(
double *volt);
257 int SetDac_(
double *volt,
int chna);
260 int SetDacDiff_(
double *volt,
int chan1,
int chan2);
Definition ngcbIFC.hpp:754
ngcbIFC * dev
Interface device.
Definition ngcbMOD.hpp:27
ngcbMOD(const ngcbMOD &other)
Copy constructor.
Definition ngcbMOD.cpp:43
int simMode
Simulation mode.
Definition ngcdcsADC.hpp:87
int clamp
Clamp (0/1)
Definition ngcdcsADC.hpp:117
int PPNumInt(int n)
Set pre-processor integration frame counter.
Definition ngcdcsAdcPP.cpp:87
int delay
Conversion strobe delay (in ticks)
Definition ngcdcsADC.hpp:81
int enable
Number of enabled ADC channels on module.
Definition ngcdcsADC.hpp:78
int DualLink(int flag)
Enable/disable second link.
Definition ngcdcsADC.cpp:876
int link2
2nd link
Definition ngcdcsADC.hpp:105
int OpMode(int newMode)
Set operation mode.
Definition ngcdcsADC.cpp:620
ngcdcsADC(const ngcb_route_t &r)
Constructor with route.
Definition ngcdcsADC.cpp:29
int Monitor(int num, int chan)
Set channel for video monitor.
Definition ngcdcsADC.cpp:949
int convert2
Enable conversion on convert strobe 2.
Definition ngcdcsADC.hpp:93
void LED(int stat)
Enable/disable LEDs.
Definition ngcdcsADC.cpp:907
ngcdcs_adcpp_t pp
Pre-processor.
Definition ngcdcsADC.hpp:129
int Update()
Update sensor values.
Definition ngcdcsADC.cpp:313
int First(int flag)
Set first in chain bit.
Definition ngcdcsADC.cpp:499
int monitor1
Channel on monitor 1.
Definition ngcdcsADC.hpp:111
int Disable()
Call-back at transition to not operational state.
Definition ngcdcsADC.cpp:278
void Preset(int size, int n)
Configuration preset.
Definition ngcdcsADC.cpp:350
int Status(int *hwStatus, int *swStatus)
Read current status.
Definition ngcdcsADC.cpp:283
int bitPix
Bits per pixel.
Definition ngcdcsADC.hpp:72
ngcdcsCLDC * cldc
Assigned clock- and bias-generator.
Definition ngcdcsADC.hpp:126
int Enable(int check=1)
Call-back at transition to operational state.
Definition ngcdcsADC.cpp:125
int opMode
Operation mode.
Definition ngcdcsADC.hpp:84
int convert1
Enable conversion on convert strobe 1.
Definition ngcdcsADC.hpp:90
int monitor2
Channel on monitor 2.
Definition ngcdcsADC.hpp:114
int packetCnt
Route length.
Definition ngcdcsADC.hpp:99
int Convert(int cvt1, int cvt2)
Enable/disable conversion strobes.
Definition ngcdcsADC.cpp:470
int PPDim(int nx, int ny)
Set pre-processor frame dimension.
Definition ngcdcsAdcPP.cpp:25
virtual ~ngcdcsADC()
Destructor.
Definition ngcdcsADC.cpp:64
int packetSize
Packet size.
Definition ngcdcsADC.hpp:96
int PPFowler(int flag)
Enable/disable Fowler mode.
Definition ngcdcsAdcPP.cpp:256
void Reset()
Align soft-states after reset.
Definition ngcdcsADC.cpp:120
int SetupKey(const char *key, const int *idx, const char *value, int *status=NULL)
Setup.
Definition ngcdcsAdcSetup.cpp:25
int Offset(double newOffset)
Set ADC offset.
Definition ngcdcsADC.cpp:1066
int Delay(int ticks)
Set conversion strobe delay in ticks.
Definition ngcdcsADC.cpp:776
int ChanEnable()
Enable all ADC channels on module.
Definition ngcdcsADC.cpp:766
int PacketCnt(int len)
Set packet routing length.
Definition ngcdcsADC.cpp:526
int PacketSize(int size)
Set packet size.
Definition ngcdcsADC.cpp:561
int PPDisable()
Disable pre-processor.
Definition ngcdcsAdcPP.cpp:229
int PPInvert(int flag)
Invert Fowler pairs.
Definition ngcdcsAdcPP.cpp:317
int Clear()
Clear all data FIFOs.
Definition ngcdcsADC.cpp:434
int PixPerWord()
Pixel per 32-bit word (1 or 2)
Definition ngcdcsADC.cpp:342
int PPNumSamp(int n)
Set number of pre-processor sub-pixel samples.
Definition ngcdcsAdcPP.cpp:130
int numAdc
Number of ADC channels on module.
Definition ngcdcsADC.hpp:75
int Selftest()
Execute self-test.
Definition ngcdcsADC.cpp:334
int firstInChain
First in chain.
Definition ngcdcsADC.hpp:102
double temp
Board temperature.
Definition ngcdcsADC.hpp:123
int ChanDisable()
Disable all ADC channels on module.
Definition ngcdcsADC.cpp:771
int filter
Filter (0/1)
Definition ngcdcsADC.hpp:120
int StatusKey(const char *key, const int *idx, char *value, int *status=NULL)
Status.
Definition ngcdcsAdcStatus.cpp:25
int Filter(int value)
Set filter.
Definition ngcdcsADC.cpp:844
int SimMode(int newMode)
Set simulation mode.
Definition ngcdcsADC.cpp:660
int PPEnable()
Enable pre-processor.
Definition ngcdcsAdcPP.cpp:188
int Clamp(int flag)
Set clamp.
Definition ngcdcsADC.cpp:805
double offset
Video offset.
Definition ngcdcsADC.hpp:108
Definition ngcdcsCLDC.hpp:594
Definition ngcbIFC.hpp:72
Definition ngcdcsADC.hpp:27
int nx
Definition ngcdcsADC.hpp:28
int ndsamp2nint
Definition ngcdcsADC.hpp:35
ngcdcs_adcpp_t()
Constructor.
Definition ngcdcsADC.hpp:38
int nint
Definition ngcdcsADC.hpp:30
int invert
Definition ngcdcsADC.hpp:34
int enabled
Definition ngcdcsADC.hpp:32
int ny
Definition ngcdcsADC.hpp:29
int nsamp
Definition ngcdcsADC.hpp:31
int fowler
Definition ngcdcsADC.hpp:33