Critical Link MityCam SoC Firmware  1.0
Critical Link MityCam SoC Firmware
NoiseReduction.h
Go to the documentation of this file.
1 #ifndef NOISEREDUCTION_H
2 #define NOISEREDUCTION_H
3 
4 #include <stdint.h>
5 #include <unistd.h>
6 
7 #include <libfpga/fpgaregister.h>
8 
10 {
11 public:
12  tcNoiseReduction(int anBaseAddress);
14 
18  bool initialized();
19 
24  void reset(bool abReset);
25 
33  void set_params(bool en_hi, uint16_t thresh_hi, bool en_low, uint16_t thresh_lo);
34 
43  bool get_params(bool & en_hi, uint16_t & thresh_hi, bool & en_low, uint16_t & thresh_lo);
44 
45 protected:
46 
47  tcFPGARegister<unsigned int> mhNoiseReduction;
48 };
49 
50 #endif
tcNoiseReduction::~tcNoiseReduction
~tcNoiseReduction()
Definition: NoiseReduction.cpp:18
tcNoiseReduction::set_params
void set_params(bool en_hi, uint16_t thresh_hi, bool en_low, uint16_t thresh_lo)
Definition: NoiseReduction.cpp:37
tcNoiseReduction::mhNoiseReduction
tcFPGARegister< unsigned int > mhNoiseReduction
Definition: NoiseReduction.h:47
tcNoiseReduction::tcNoiseReduction
tcNoiseReduction(int anBaseAddress)
Definition: NoiseReduction.cpp:12
tcNoiseReduction
Definition: NoiseReduction.h:9
tcNoiseReduction::get_params
bool get_params(bool &en_hi, uint16_t &thresh_hi, bool &en_low, uint16_t &thresh_lo)
Definition: NoiseReduction.cpp:48
tcNoiseReduction::reset
void reset(bool abReset)
Definition: NoiseReduction.cpp:28
tcNoiseReduction::initialized
bool initialized()
Definition: NoiseReduction.cpp:23