45 #include <rtdm/rtdm.h>
51 #define RTDM_SUBCLASS_TDMA 0
52 #define RTDM_SUBCLASS_UNMANAGED 1
54 #define RTIOC_TYPE_RTMAC RTDM_CLASS_RTMAC
59 #define RTMAC_WAIT_ON_DEFAULT 0x00
62 #define RTMAC_WAIT_ON_XMIT 0x01
66 #define TDMA_WAIT_ON_SYNC RTMAC_WAIT_ON_DEFAULT
67 #define TDMA_WAIT_ON_SOF TDMA_WAIT_ON_SYNC
71 struct rtmac_waitinfo {
80 unsigned long cycle_no;
93 #define RTMAC_RTIOC_TIMEOFFSET _IOR(RTIOC_TYPE_RTMAC, 0x00, int64_t)
94 #define RTMAC_RTIOC_WAITONCYCLE _IOW(RTIOC_TYPE_RTMAC, 0x01, unsigned int)
95 #define RTMAC_RTIOC_WAITONCYCLE_EX _IOWR(RTIOC_TYPE_RTMAC, 0x02, \
96 struct rtmac_waitinfo)
int64_t nanosecs_rel_t
RTDM type for representing relative intervals.
Definition: rtdm.h:49
uint64_t nanosecs_abs_t
RTDM type for representing absolute dates.
Definition: rtdm.h:43