45 #include <rtdm/rtdm.h>
48 #define RTDM_SUBCLASS_TDMA 0
49 #define RTDM_SUBCLASS_UNMANAGED 1
51 #define RTIOC_TYPE_RTMAC RTDM_CLASS_RTMAC
55 #define RTMAC_WAIT_ON_DEFAULT 0x00
58 #define RTMAC_WAIT_ON_XMIT 0x01
62 #define TDMA_WAIT_ON_SYNC RTMAC_WAIT_ON_DEFAULT
63 #define TDMA_WAIT_ON_SOF TDMA_WAIT_ON_SYNC
66 struct rtmac_waitinfo {
75 unsigned long cycle_no;
87 #define RTMAC_RTIOC_TIMEOFFSET _IOR(RTIOC_TYPE_RTMAC, 0x00, int64_t)
88 #define RTMAC_RTIOC_WAITONCYCLE _IOW(RTIOC_TYPE_RTMAC, 0x01, unsigned int)
89 #define RTMAC_RTIOC_WAITONCYCLE_EX \
90 _IOWR(RTIOC_TYPE_RTMAC, 0x02, struct rtmac_waitinfo)
uint64_t nanosecs_abs_t
RTDM type for representing absolute dates.
Definition: rtdm.h:43
int64_t nanosecs_rel_t
RTDM type for representing relative intervals.
Definition: rtdm.h:49