Subversion Repositories f9daq

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
360 f9daq 1
#pragma once
2
 
3
 
4
 
5
 
6
#ifdef __cplusplus
7
extern "C" {
8
#endif
9
 
10
 
11
/* Parameters description structure - must be the same for all RP controllers */
12
typedef struct rp_app_params_s {
13
    char  *name;
14
    float  value;
15
    int    fpga_update;
16
    int    read_only;
17
    float  min_val;
18
    float  max_val;
19
} rp_app_params_t;
20
 
21
 
22
 
23
/* module entry points */
24
const char *rp_app_desc(void);
25
int rp_app_init(void);
26
int rp_app_exit(void);
27
int rp_set_params(rp_app_params_t *p, int len);
28
int rp_get_params(rp_app_params_t **p);
29
int rp_get_signals(float ***s, int *sig_num, int *sig_len);
30
 
31
 
32
#ifdef __cplusplus
33
}
34
#endif