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

#include <Binner2x2.h>

Collaboration diagram for tcBinner2x2:

Public Member Functions

 tcBinner2x2 (unsigned int anBaseAddress)
 
 ~tcBinner2x2 ()
 
bool initialized ()
 
int reset (bool abReset)
 
int enable (bool enable)
 
bool enabled (void)
 

Protected Attributes

bool mbInitialized
 true when the core has been initialized More...
 
tcFPGARegister< uint32_t > mhBinner
 memory mapped FPGA access class More...
 

Detailed Description

The tcBinner2x2 manages the bin_2x2 FPGA core from Critical Link.

Constructor & Destructor Documentation

◆ tcBinner2x2()

tcBinner2x2::tcBinner2x2 ( unsigned int  anBaseAddress)

Constructor

Parameters
anBaseAddress- the FPGA physical address of the core

◆ ~tcBinner2x2()

tcBinner2x2::~tcBinner2x2 ( )

Member Function Documentation

◆ enable()

int tcBinner2x2::enable ( bool  enable)

Puts the core into a reset/enabled state

Parameters
enabletrue when the core should generate 2x2 binned outputs
Returns
non-zero on error

◆ enabled()

bool tcBinner2x2::enabled ( void  )
Returns
true when 2x2 binning is enabled vs. passthrough
Note
core must still be taken out of reset (over all enable)

◆ initialized()

bool tcBinner2x2::initialized ( )
Returns
true when the core has been propely initialized

◆ reset()

int tcBinner2x2::reset ( bool  abReset)

Puts the core into a reset/enabled state

Parameters
abResettrue when the core should be held in a non-operation state (don't move data)
Returns
non-zero on error

Member Data Documentation

◆ mbInitialized

bool tcBinner2x2::mbInitialized
protected

true when the core has been initialized

◆ mhBinner

tcFPGARegister<uint32_t> tcBinner2x2::mhBinner
protected

memory mapped FPGA access class


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