The Real-Time Driver Model (RTDM) provides a unified interface to both users and developers of real-time device drivers. Specifically, it addresses the constraints of mixed RT/non-RT systems like Xenomai. RTDM conforms to POSIX semantics (IEEE Std 1003.1) where available and applicable.
API Revision: 8
#define RTDM_TIMEOUT_INFINITE 0 |
#define RTDM_TIMEOUT_NONE (-1) |
Any negative timeout means non-blocking.
RTDM type for representing absolute dates.
Its base type is a 64 bit unsigned integer. The unit is 1 nanosecond.
- Examples:
- rtcanrecv.c.
RTDM type for representing relative intervals.
Its base type is a 64 bit signed integer. The unit is 1 nanosecond. Relative intervals can also encode the special timeouts "infinite" and "non-blocking", see RTDM_TIMEOUT_xxx.
- Examples:
- rtcanrecv.c.