HOPS
HOPS class reference
Macros | Functions | Variables
CorPrune.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <ctype.h>
#include "type_000.h"
#include "type_100.h"
#include "type_101.h"
#include "type_120.h"
#include "T1.h"
#include "type_200.h"
#include "type_201.h"
#include "type_202.h"
#include "type_203.h"
#include "type_204.h"
#include "type_205.h"
#include "type_206.h"
#include "type_207.h"
#include "type_208.h"
#include "type_210.h"
#include "type_212.h"
#include "type_220.h"
#include "type_221.h"
#include "type_222.h"
#include "type_230.h"
#include "type_300.h"
#include "type_301.h"
#include "type_302.h"
#include "type_303.h"
#include "type_304.h"
#include "type_306.h"
#include "type_307.h"
#include "type_308.h"
#include "type_309.h"
#include "tapeDB.h"
#include "hops_complex.h"

Macros

#define DBGMSG   " DEBUG: "
 
#define ERRMSG   " ERROR: "
 
#define flip_double(a)   (flip ? r_double_reverse(a) : a)
 
#define flip_float(a)   (flip ? r_float_reverse(a) : a)
 
#define flip_int(a)   (flip ? r_int_reverse(a) : a)
 
#define flip_long(a)   (flip ? r_long_reverse(a) : a)
 
#define flip_short(a)   (flip ? r_short_reverse(a) : a)
 
#define flip_unsig(a)   (flip ? r_unsig_reverse(a) : a)
 
#define MBUFF   100000 /* Length of buff[] */
 
#define NNAMES   35
 
#define SYSCLK   32.0e6 /* Hz */
 

Functions

int main (int argc, char *argv[])
 
double r_double_reverse (double j)
 
float r_float_reverse (float j)
 
int r_int_reverse (int j)
 
long r_long_reverse (long j)
 
short r_short_reverse (short i)
 
unsigned short r_unsig_reverse (unsigned short i)
 
int t2s (double arg, char *ps)
 

Variables

char buff [MBUFF]
 
char * byte = (char*)&word
 
int mbuff
 
char * me
 
int msglev = 2
 
short int word = 0x0001
 

Macro Definition Documentation

◆ DBGMSG

#define DBGMSG   " DEBUG: "

◆ ERRMSG

#define ERRMSG   " ERROR: "

◆ flip_double

#define flip_double (   a)    (flip ? r_double_reverse(a) : a)

◆ flip_float

#define flip_float (   a)    (flip ? r_float_reverse(a) : a)

◆ flip_int

#define flip_int (   a)    (flip ? r_int_reverse(a) : a)

◆ flip_long

#define flip_long (   a)    (flip ? r_long_reverse(a) : a)

◆ flip_short

#define flip_short (   a)    (flip ? r_short_reverse(a) : a)

◆ flip_unsig

#define flip_unsig (   a)    (flip ? r_unsig_reverse(a) : a)

◆ MBUFF

#define MBUFF   100000 /* Length of buff[] */

◆ NNAMES

#define NNAMES   35

◆ SYSCLK

#define SYSCLK   32.0e6 /* Hz */

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ r_double_reverse()

double r_double_reverse ( double  j)

◆ r_float_reverse()

float r_float_reverse ( float  j)

◆ r_int_reverse()

int r_int_reverse ( int  j)

◆ r_long_reverse()

long r_long_reverse ( long  j)

◆ r_short_reverse()

short r_short_reverse ( short  i)

◆ r_unsig_reverse()

unsigned short r_unsig_reverse ( unsigned short  i)

◆ t2s()

int t2s ( double  arg,
char *  ps 
)

Variable Documentation

◆ buff

char buff[MBUFF]

◆ byte

char* byte = (char*)&word

◆ mbuff

int mbuff

◆ me

char* me

◆ msglev

int msglev = 2

◆ word

short int word = 0x0001