artiq/soc/runtime/rtio.h

17 lines
453 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);
2014-11-21 04:32:56 +08:00
long long int rtio_get_counter(void);
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 */