CANDEV_MODE
CAN device communication mode
Synopsis:
#include <hw/libcan.h>
#include <sys/can_dcmd.h>
typedef enum
{
CANDEV_MODE_IO,
CANDEV_MODE_RAW_FRAME
} CANDEV_MODE;Description:
The CANDEV_MODE structure represents the CAN device communication mode, which you can set to one of the following:
- CANDEV_MODE_IO
I/O; set all mailboxes to TX/RX specific message IDs.
- CANDEV_MODE_RAW_FRAME
Raw frames; set one RX and one TX mailbox for any frame, and use devctl to TX/RX fully defined CAN frames.
Page updated:
