vcan_object_modeΒΆ

Here is the definition:

typedef struct
  { long             port    CDEP_NOALIGN_ATTR;
    long             id      CDEP_NOALIGN_ATTR;
    long             timeout CDEP_NOALIGN_ATTR; /* 0: no timeout */
       /* the object is made owned to the thread that issued the request */
    vcan_xmission_mode mode    CDEP_NOALIGN_ATTR;
  } vcan_object_mode;

This is the driver-call-sub-structure that is used to define or read the type of a CAN-object. This structure uses the object-types, that are defined in the vcan_xmission_mode data type.

port

This is the port-number of the object.

id

This is the CAN-Id of the object.

timeout

This is the timeout of the object. The timeout is only used when certain functions (usually read- and write-functions) are performed on the object.

mode

This is the mode of the object. See vcan_xmission_mode in order to see what modes are definable.