Critical Link MityCam SoC Firmware  1.0
Critical Link MityCam SoC Firmware
tcNoiseReduction Class Reference

#include <NoiseReduction.h>

Collaboration diagram for tcNoiseReduction:

Public Member Functions

 tcNoiseReduction (int anBaseAddress)
 
 ~tcNoiseReduction ()
 
bool initialized ()
 
void reset (bool abReset)
 
void set_params (bool en_hi, uint16_t thresh_hi, bool en_low, uint16_t thresh_lo)
 
bool get_params (bool &en_hi, uint16_t &thresh_hi, bool &en_low, uint16_t &thresh_lo)
 

Protected Attributes

tcFPGARegister< unsigned int > mhNoiseReduction
 

Constructor & Destructor Documentation

◆ tcNoiseReduction()

tcNoiseReduction::tcNoiseReduction ( int  anBaseAddress)

◆ ~tcNoiseReduction()

tcNoiseReduction::~tcNoiseReduction ( )

Member Function Documentation

◆ get_params()

bool tcNoiseReduction::get_params ( bool &  en_hi,
uint16_t &  thresh_hi,
bool &  en_low,
uint16_t &  thresh_lo 
)

Get the parameters

Parameters
en_hienable hi peak clipping / filtering
thresh_hithreshold for hi peak clipping / filtering
en_loenable low peak clipping / filtering
thresh_lowthreshold for low peak clipping / filtering
Returns
true on success

◆ initialized()

bool tcNoiseReduction::initialized ( )
Returns
True if the register is initialized.

◆ reset()

void tcNoiseReduction::reset ( bool  abReset)

Set the reset bit.

Parameters
abReset- the state of the reset bit.

◆ set_params()

void tcNoiseReduction::set_params ( bool  en_hi,
uint16_t  thresh_hi,
bool  en_low,
uint16_t  thresh_lo 
)

Set the parameters

Parameters
en_hienable hi peak clipping / filtering
thresh_hithreshold for hi peak clipping / filtering
en_loenable low peak clipping / filtering
thresh_lowthreshold for low peak clipping / filtering

Member Data Documentation

◆ mhNoiseReduction

tcFPGARegister<unsigned int> tcNoiseReduction::mhNoiseReduction
protected

The documentation for this class was generated from the following files: