Critical Link MityCam SoC Firmware  1.0
Critical Link MityCam SoC Firmware
IOChannel.cpp File Reference
#include <stdio.h>
#include <stdarg.h>
#include "IOChannel.h"
#include "IOChannelThread.h"
#include <INIReader.h>
#include <iostream>
Include dependency graph for IOChannel.cpp:

Functions

ostream & operator<< (ostream &os, const tsNewFrameMsg &msg)
 operator << ostream output for tsNewFrameMsg More...
 

Variables

int gnDebugIOChannel = 0
 

Function Documentation

◆ operator<<()

ostream& operator<< ( ostream &  os,
const tsNewFrameMsg msg 
)

operator << ostream output for tsNewFrameMsg

Parameters
os
msg
Returns
uint32_t mnFrameOffset; //!< Byte-wise offset into DDR that marks the
//!< beginning of the new frame that can be read. uint32_t mnFrameNumBytes; //!< The number of bytes in the new frame //!< to be read. uint32_t meDataType; //!< Pixel data representation. See //!< teFrameDataType definition. uint32_t mnNumRows; //!< Number of rows in current frame. uint32_t mnNumCols; //!< Number of columns in current frame. uint32_t mnStartRow; //!< ROI info with respect to sensor (unbinned) uint32_t mnEndRow; //!< ROI info with respect to sensor (unbinned) uint32_t mnStartCol; //!< ROI info with respect to sensor (unbinned) uint32_t mnEndCol; //!< ROI info with respect to sensor (unbinned) uint32_t mnHorizontalBin; //!< binning factor uint32_t mnVerticalBin; //!< binning factor

uint32_t mnNumFrames; //!< The number of frames available.

Variable Documentation

◆ gnDebugIOChannel

int gnDebugIOChannel = 0

For some cheap filtering of debug messages. Yea there's only one global variable for all interfaces, but it doesn't cost too much to throw it in here this way, and dfault behavior is to just add a few cycles before printf's that were there already. Values: <0 = Off, 0 = errors & warnings, >0 = verbose