areaDetector  3-5-0
EPICS areaDetector framework
Macros | Functions
rateTest.cpp File Reference
#include "atcore.h"
#include <iostream>
#include <stdlib.h>
#include <time.h>

Macros

#define EXTRACTLOWPACKED(SourcePtr)   ( (SourcePtr[0] << 4) + (SourcePtr[1] & 0xF) )
 
#define EXTRACTHIGHPACKED(SourcePtr)   ( (SourcePtr[2] << 4) + (SourcePtr[1] >> 4) )
 
#define NUM_BUFFERS   10
 

Functions

int main (int argc, char *argv[])
 

Macro Definition Documentation

◆ EXTRACTHIGHPACKED

#define EXTRACTHIGHPACKED (   SourcePtr)    ( (SourcePtr[2] << 4) + (SourcePtr[1] >> 4) )

◆ EXTRACTLOWPACKED

#define EXTRACTLOWPACKED (   SourcePtr)    ( (SourcePtr[0] << 4) + (SourcePtr[1] & 0xF) )

◆ NUM_BUFFERS

#define NUM_BUFFERS   10

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)