Critical Link MityCam SoC Firmware  1.0
Critical Link MityCam SoC Firmware
Csi2DphyToMityCam.h
Go to the documentation of this file.
1 
10 #ifndef CSI2_DPHY_TO_MITYCAM
11 #define CSI2_DPHY_TO_MITYCAM
12 
13 #include <libfpga/fpgaregister.h>
14 
21 {
22 public:
23  tcCsi2DphyToMityCam(int anAddress);
24  virtual ~tcCsi2DphyToMityCam();
25 
26  bool initialized();
27 
28  int reset(bool en);
29 
30  int setNumRows(uint16_t numRows);
31  int setNumCols(uint16_t numCols);
32 
33  int getCRCErrors(uint32_t& ErrorCount) const;
34  int resetCRCErrors(void);
35 
36 protected:
37 
38  tcFPGARegister<uint32_t> mcReg;
39 };
40 
41 #endif // CSI2_DPHY_TO_MITYCAM
42 
tcCsi2DphyToMityCam::initialized
bool initialized()
Definition: Csi2DphyToMityCam.cpp:43
tcCsi2DphyToMityCam::tcCsi2DphyToMityCam
tcCsi2DphyToMityCam(int anAddress)
Definition: Csi2DphyToMityCam.cpp:28
tcCsi2DphyToMityCam::resetCRCErrors
int resetCRCErrors(void)
Definition: Csi2DphyToMityCam.cpp:116
tcCsi2DphyToMityCam::reset
int reset(bool en)
Definition: Csi2DphyToMityCam.cpp:55
tcCsi2DphyToMityCam::mcReg
tcFPGARegister< uint32_t > mcReg
Definition: Csi2DphyToMityCam.h:38
tcCsi2DphyToMityCam::setNumCols
int setNumCols(uint16_t numCols)
Definition: Csi2DphyToMityCam.cpp:88
tcCsi2DphyToMityCam::getCRCErrors
int getCRCErrors(uint32_t &ErrorCount) const
Definition: Csi2DphyToMityCam.cpp:101
tcCsi2DphyToMityCam
Definition: Csi2DphyToMityCam.h:20
tcCsi2DphyToMityCam::setNumRows
int setNumRows(uint16_t numRows)
Definition: Csi2DphyToMityCam.cpp:75
tcCsi2DphyToMityCam::~tcCsi2DphyToMityCam
virtual ~tcCsi2DphyToMityCam()
Definition: Csi2DphyToMityCam.cpp:36