Critical Link MityCam SoC Firmware  1.0
Critical Link MityCam SoC Firmware
Binner.h
Go to the documentation of this file.
1 /*
2  * Binner.h
3  *
4  * Created on: Oct 26, 2017
5  * Author: mitydsp
6  */
7 
8 #ifndef BINNER_H_
9 #define BINNER_H_
10 
11 #include <libfpga/fpgaregister.h>
12 
13 class tcBinner {
14 public:
15  tcBinner(uint32_t anAddress);
16  virtual ~tcBinner();
17 
18  bool initialized();
19 
20  void reset(bool abReset);
21 
22  void setBinFactor(uint8_t anNumber);
23  uint32_t getBinFactor();
24 private:
25  tcFPGARegister<uint32_t> mhRegister;
26  uint32_t mnBinFactor;
27 };
28 
29 #endif /* BINNER_H_ */
tcBinner::tcBinner
tcBinner(uint32_t anAddress)
Definition: Binner.cpp:16
tcBinner
Definition: Binner.h:13
tcBinner::~tcBinner
virtual ~tcBinner()
Definition: Binner.cpp:22
tcBinner::initialized
bool initialized()
Definition: Binner.cpp:26
tcBinner::setBinFactor
void setBinFactor(uint8_t anNumber)
Definition: Binner.cpp:52
tcBinner::reset
void reset(bool abReset)
Definition: Binner.cpp:31
tcBinner::getBinFactor
uint32_t getBinFactor()
Definition: Binner.cpp:64