2014-08-28 16:56:48 +08:00
|
|
|
#ifndef __RTIO_H
|
|
|
|
#define __RTIO_H
|
|
|
|
|
|
|
|
void rtio_init(void);
|
2014-09-14 23:30:33 +08:00
|
|
|
void rtio_oe(int channel, int oe);
|
2014-08-28 16:56:48 +08:00
|
|
|
void rtio_set(long long int timestamp, int channel, int value);
|
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-10-21 23:14:01 +08:00
|
|
|
int rtio_pileup_count(int channel);
|
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 */
|