view YLCStuff.h @ 45:b47b97cfd050

Fix output frequency read back in DDS Fox driver The FTW registry value was read back wrong due to an integer overflow in the conversion from bytes string to double. This should fix the "jumps" seen in the application of the frequency dedrifting.
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Wed, 10 Oct 2012 12:14:01 +0200
parents d9aae7d7f2c6
children
line wrap: on
line source

//==============================================================================
//
// Title:       YLCStuff.h
// Purpose:     A short description of the interface.
//
// Created on:  19/08/2008 at 10:06:43 by pascal blonde.
// Copyright:   syrte. All Rights Reserved.
//
//==============================================================================

#ifndef __YLCStuff_H__
#define __YLCStuff_H__

#ifdef __cplusplus
    extern "C" {
#endif

//==============================================================================
// Include files

#include "cvidef.h"

//==============================================================================
// Constants

//==============================================================================
// Types

typedef int bool;

#define FALSE 0
#define TRUE 1

typedef int PanelHandle ;		
		
		
//==============================================================================
// External variables

//==============================================================================
// Global functions

double Peta (double x);
double Tera (double x);
double Giga (double x);
double Mega (double x);
double kilo (double x);
double milli(double x);
double micro(double x);
double nano (double x);
double pico (double x);
double femto(double x);
double atto (double x);

#ifdef __cplusplus
    }
#endif

#endif  /* ndef __YLCStuff_H__ */