forked from M-Labs/artiq
1
0
Fork 0
artiq/soc/runtime/rtio.h

16 lines
450 B
C
Raw Normal View History

2014-08-28 16:56:48 +08:00
#ifndef __RTIO_H
#define __RTIO_H
void rtio_init(void);
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-09-11 23:14:45 +08:00
void rtio_replace(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
void rtio_fud_sync(void);
void rtio_fud(long long int fud_time);
2014-08-28 16:56:48 +08:00
#endif /* __RTIO_H */