artiq/soc/runtime/rtio.h

16 lines
415 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-08-28 16:56:48 +08:00
void rtio_sync(int channel);
long long int rtio_get(int channel);
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 */