CANDEV_TYPE
CAN mailbox type
Synopsis:
#include <hw/libcan.h>
typedef enum
{
CANDEV_TYPE_RX,
CANDEV_TYPE_TX
} CANDEV_TYPE;Description:
The CANDEV_TYPE structure specifies the mailbox type, which you can set to one of the following:
- CANDEV_TYPE_RX
Receive mailbox; reads data from CAN device. Corresponds to rx in the /dev/canX/rxY path.
- CANDEV_TYPE_TX
Transmit mailbox; writes data to CAN device. Corresponds to tx in the /dev/canX/txZ path.
Page updated:
