2014-08-28 16:56:48 +08:00
|
|
|
#ifndef __RTIO_H
|
|
|
|
#define __RTIO_H
|
|
|
|
|
|
|
|
void rtio_init(void);
|
2015-04-14 19:44:45 +08:00
|
|
|
void rtio_set_o(long long int timestamp, int channel, int value);
|
|
|
|
void rtio_set_oe(long long int timestamp, int channel, int oe);
|
|
|
|
void rtio_set_sensitivity(long long int timestamp, int channel, int sensitivity);
|
2014-11-21 04:32:56 +08:00
|
|
|
long long int rtio_get_counter(void);
|
2014-11-30 00:13:54 +08:00
|
|
|
long long int rtio_get(int channel, long long int time_limit);
|
2014-08-28 16:56:48 +08:00
|
|
|
|
2014-10-14 12:47:04 +08:00
|
|
|
void rtio_fud_sync(void);
|
|
|
|
void rtio_fud(long long int fud_time);
|
|
|
|
|
2014-08-28 16:56:48 +08:00
|
|
|
#endif /* __RTIO_H */
|