Critical Link MityCam SoC Firmware  1.0
Critical Link MityCam SoC Firmware
Binner2x2.h
Go to the documentation of this file.
1 
8 #ifndef BINNER2X2_H
9 #define BINNER2X2_H
10 
11 #include <unistd.h>
12 
13 #include <libfpga/fpgaregister.h>
14 
19 {
20 public:
21  tcBinner2x2(unsigned int anBaseAddress);
22  ~tcBinner2x2();
23 
24  bool initialized();
25 
26  int reset(bool abReset);
27 
28  int enable(bool enable);
29  bool enabled(void);
30 
31 protected:
33  tcFPGARegister<uint32_t> mhBinner;
34 
35 };
36 
37 #endif // BINNER2X2_H
tcBinner2x2::enable
int enable(bool enable)
Definition: Binner2x2.cpp:74
tcBinner2x2::tcBinner2x2
tcBinner2x2(unsigned int anBaseAddress)
Definition: Binner2x2.cpp:24
tcBinner2x2::mbInitialized
bool mbInitialized
true when the core has been initialized
Definition: Binner2x2.h:32
tcBinner2x2::~tcBinner2x2
~tcBinner2x2()
Definition: Binner2x2.cpp:30
tcBinner2x2::initialized
bool initialized()
Definition: Binner2x2.cpp:38
tcBinner2x2::reset
int reset(bool abReset)
Definition: Binner2x2.cpp:54
tcBinner2x2
Definition: Binner2x2.h:18
tcBinner2x2::mhBinner
tcFPGARegister< uint32_t > mhBinner
memory mapped FPGA access class
Definition: Binner2x2.h:33
tcBinner2x2::enabled
bool enabled(void)
Definition: Binner2x2.cpp:93