Orion
high-rate readout
itkpix.hpp
Go to the documentation of this file.
1 
5 #pragma once
6 
7 #include "itk/db/types.hpp"
8 
9 #include "itk/db/chips/itkpix1.hpp"
10 #include "itk/db/chips/itkpix2.hpp"
11 
12 namespace itk::db::itkpix {
13 
14  constexpr uint NumRow = 384; // = 3*128
15  constexpr uint NumCol = 400;
16  constexpr uint NumDCol = NumCol/2;
17 
18  using reg_t = uint16_t;
19 
20  struct pixmem_t : public record_t {
21  reg_t mem[NumDCol][NumRow];
22  };
23 
24  struct regmem_t : public record_t {
25  };
26 
27  struct calib_t : public record_t {
28  };
29 
31  struct regmem2_t : public regmem_t {
32  // constexpr uint NumReg = 132;
33  REG_LIST_ITKPIX2(PROC_REGT)
34  }; // regmem2_t
35 
37  struct regmem1_t : public regmem_t {
38  // constexpr uint NumReg = 119;
39  REG_LIST_ITKPIX1(PROC_REGT)
40  }; // regmem1_t
41 
42 
43 } // itk::db::itkpix
Common types form DB.
Definition: itkpix.hpp:27
Definition: itkpix.hpp:20
Register memory for ITkPix.v1 chip.
Definition: itkpix.hpp:37
Register memory for ITkPix.v2 chip.
Definition: itkpix.hpp:31
Definition: itkpix.hpp:24
Base DB record linked by UUID.
Definition: types.hpp:26