forked from oscimp/lib
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnco_conf.h
More file actions
25 lines (21 loc) · 806 Bytes
/
nco_conf.h
File metadata and controls
25 lines (21 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef NCO_CONF_H
#define NCO_CONF_H
#ifdef __cplusplus /* if C++, specify external linkage to C functions */
extern "C" {
#endif
int nco_counter_send_conf(const char *filename,
const int freqHz_ref, const double freqHz_out,
const int accum_size, const int offset,
const char pinc_sw, const char poff_sw);
/* select between pinc and poff input or axi */
int nco_counter_set_pinc_poff_sw(const char *filename,
const char pinc_sw, const char poff_sw);
/* select between pinc input or axi */
int nco_counter_get_pinc_sw(const char *filename, const char poff_sw);
/* select between poff input or axi */
int nco_counter_get_poff_sw(const char *filename, const char poff_sw);
int nco_counter_set_max_accum(const char *filename, const uint64_t max);
#ifdef __cplusplus
}
#endif
#endif /*NCO_CONF_H*/