Critical Link MityCam SoC Firmware
1.0
Critical Link MityCam SoC Firmware
|
#include "MityViewerApp.h"
#include "CamParser.h"
#include "CRC.h"
#include "scmos_params.h"
#include "arm_dsp_msgs.h"
#include "clcamdefines.h"
#include "CISParameters.h"
#include "CCDParameters.h"
#include "Utility/USBPhy.h"
#include "Utility/str_funcs.h"
#include "CommandHandlers/AllHandlers.h"
#include "CommandInterface/RegisterFile.h"
#include "Sensors/Interfaces/LegacyCCD.h"
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <errno.h>
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <math.h>
#include <stdarg.h>
#include <stdlib.h>
#include <sys/uio.h>
#include <iostream>
Macros | |
#define | INTERRUPT_MICROSECOND_INTERVAL (150000) |
#define | MITYDSP_REV_MAJOR 1 |
#define | MITYDSP_REV_MINOR 2 |
#define | THERM_FEEDBACK_R 10000.0f |
#define | THERM_VIN 3.0f |
#define | THERM_RT0 10000.0f |
#define | THERM_BETA 3380.0f |
#define | THERM_T0 25.0f |
#define | CONFIG_FILE "/home/root/application/version/mityviewer_config.bin" |
#define | UNUSED_PARAM(x) (void)x; |
#define | SET_HEADER(msg, id, t) |
Variables | |
int | gnDebugCmdChannel |
#define CONFIG_FILE "/home/root/application/version/mityviewer_config.bin" |
#define INTERRUPT_MICROSECOND_INTERVAL (150000) |
Revision History
Version Author Description 1.00 MAW Baseline new code 1.01 MAW - Clean up Shutdown
#define MITYDSP_REV_MAJOR 1 |
#define MITYDSP_REV_MINOR 2 |
#define SET_HEADER | ( | msg, | |
id, | |||
t | |||
) |
#define THERM_BETA 3380.0f |
#define THERM_FEEDBACK_R 10000.0f |
#define THERM_RT0 10000.0f |
#define THERM_T0 25.0f |
#define THERM_VIN 3.0f |
#define UNUSED_PARAM | ( | x | ) | (void)x; |
int gnDebugCmdChannel |
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