annotate YLCStuff.h @ 23:65e277fdf01f

Correct DDS3 frequency adjustement on N3 measurement We need to take into account the phase locked loop divisor factor that links DDS1 frequency change to repetition rate change.
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Fri, 20 Jul 2012 16:50:11 +0200
parents d9aae7d7f2c6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
1 //==============================================================================
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
2 //
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
3 // Title: YLCStuff.h
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
4 // Purpose: A short description of the interface.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
5 //
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
6 // Created on: 19/08/2008 at 10:06:43 by pascal blonde.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
7 // Copyright: syrte. All Rights Reserved.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
8 //
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
9 //==============================================================================
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
10
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
11 #ifndef __YLCStuff_H__
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
12 #define __YLCStuff_H__
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
13
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
14 #ifdef __cplusplus
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
15 extern "C" {
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
16 #endif
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
17
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
18 //==============================================================================
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
19 // Include files
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
20
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
21 #include "cvidef.h"
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
22
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
23 //==============================================================================
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
24 // Constants
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
25
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
26 //==============================================================================
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
27 // Types
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
28
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
29 typedef int bool;
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
30
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
31 #define FALSE 0
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
32 #define TRUE 1
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
33
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
34 typedef int PanelHandle ;
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
35
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
36
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
37 //==============================================================================
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
38 // External variables
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
39
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
40 //==============================================================================
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
41 // Global functions
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
42
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
43 double Peta (double x);
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
44 double Tera (double x);
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
45 double Giga (double x);
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
46 double Mega (double x);
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
47 double kilo (double x);
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
48 double milli(double x);
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
49 double micro(double x);
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
50 double nano (double x);
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
51 double pico (double x);
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
52 double femto(double x);
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
53 double atto (double x);
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
54
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
55 #ifdef __cplusplus
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
56 }
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
57 #endif
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
58
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
59 #endif /* ndef __YLCStuff_H__ */