Scope
NiFpga_PhotonCounterV2.h
1 /*
2  * Generated with the FPGA Interface C API Generator 12.0.0
3  * for NI-RIO 12.0.0 or later.
4  */
5 
6 #ifndef __NiFpga_PhotonCounterV2_h__
7 #define __NiFpga_PhotonCounterV2_h__
8 
9 #ifndef NiFpga_Version
10  #define NiFpga_Version 1200
11 #endif
12 
13 #include "NiFpga.h"
14 
22 #define NiFpga_PhotonCounterV2_Bitfile "NiFpga_PhotonCounterV2.lvbitx"
23 
27 static const char* const NiFpga_PhotonCounterV2_Signature = "697C5713958CBD623488103665FF5107";
28 
29 typedef enum
30 {
31  NiFpga_PhotonCounterV2_IndicatorBool_Acquiring = 0x12,
32  NiFpga_PhotonCounterV2_IndicatorBool_InterloopFIFOoverflow = 0x80000032,
33  NiFpga_PhotonCounterV2_IndicatorBool_InterloopFIFOtimeout = 0x1E,
34  NiFpga_PhotonCounterV2_IndicatorBool_Onboard_Clock_Ready = 0x42,
35  NiFpga_PhotonCounterV2_IndicatorBool_ToHostFIFOOverflowCh1 = 0x22,
36  NiFpga_PhotonCounterV2_IndicatorBool_ToHostFIFOOverflowCh2 = 0x2,
37  NiFpga_PhotonCounterV2_IndicatorBool_Xpoint_Switch_Ready = 0x52,
38 } NiFpga_PhotonCounterV2_IndicatorBool;
39 
40 typedef enum
41 {
42  NiFpga_PhotonCounterV2_ControlBool_Acq_Reset = 0x80000036,
43  NiFpga_PhotonCounterV2_ControlBool_Acquire = 0x26,
44  NiFpga_PhotonCounterV2_ControlBool_Acquirecontinuously = 0xA,
45  NiFpga_PhotonCounterV2_ControlBool_ClearInterloopFIFOs = 0x3E,
46  NiFpga_PhotonCounterV2_ControlBool_Commit = 0x56,
47  NiFpga_PhotonCounterV2_ControlBool_Countingmode = 0x6,
48  NiFpga_PhotonCounterV2_ControlBool_Onboard_Clock_Write = 0x46,
49  NiFpga_PhotonCounterV2_ControlBool_Waitfortrigger = 0x16,
50  NiFpga_PhotonCounterV2_ControlBool_Xpoint_Switch_Write = 0x4E,
51 } NiFpga_PhotonCounterV2_ControlBool;
52 
53 typedef enum
54 {
55  NiFpga_PhotonCounterV2_ControlU8_ClockSource = 0x4A,
56 } NiFpga_PhotonCounterV2_ControlU8;
57 
58 typedef enum
59 {
60  NiFpga_PhotonCounterV2_ControlU16_Onboard_Clock_Write_Data = 0x3A,
61  NiFpga_PhotonCounterV2_ControlU16_Samplesperpixel = 0x1A,
62  NiFpga_PhotonCounterV2_ControlU16_SamplesperpixelAcq = 0x8000002E,
63 } NiFpga_PhotonCounterV2_ControlU16;
64 
65 typedef enum
66 {
67  NiFpga_PhotonCounterV2_ControlU32_Requestedpixels = 0xC,
68  NiFpga_PhotonCounterV2_ControlU32_Samplesperline = 0x80000028,
69 } NiFpga_PhotonCounterV2_ControlU32;
70 
71 typedef enum
72 {
73  NiFpga_PhotonCounterV2_TargetToHostFifoU16_ToHostCh1FIFO = 1,
74  NiFpga_PhotonCounterV2_TargetToHostFifoU16_ToHostCh2FIFO = 0,
75 } NiFpga_PhotonCounterV2_TargetToHostFifoU16;
76 
77 #endif