]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/constants.h
Added full RT-Linux POSIX interface to LinCAN driver, needs preparation of RT tests.
[lincan.git] / lincan / include / constants.h
index ce0cbbd96ccf85fedbbb7ae1a0eb5103ee1e9457..df2909f8676e2542f694dad77a9a4206857605fa 100644 (file)
 #define CANDEV_PROGRAMMABLE_IRQ (1<<0)
 #define CANDEV_IO_RESERVED     (1<<1)
 
+/* Next flags are specific for struct canuser_t applications connection */
+#define CANUSER_RTL_CLIENT      (1<<0)
+#define CANUSER_RTL_MEM         (1<<1)
+#define CANUSER_DIRECT          (1<<2)
+
+
 enum timing_BTR1 {
        MAX_TSEG1 = 15,
        MAX_TSEG2 = 7