#include <can/can_dev.h>
Contains information about the CAN interface.
Data Fields | |
u_char | can_type |
Interface type. | |
u_long | can_baudrate |
Baudrate of device. | |
u_char | can_acc_mask [4] |
Acceptance mask. | |
u_char | can_acc_code [4] |
Acceptance code. | |
u_char(* | can_rxavail )(NUTDEVICE *) |
Receive buffer data available? | |
u_char(* | can_txfree )(NUTDEVICE *) |
Transmit buffer free? | |
void(* | can_recv )(NUTDEVICE *, CANFRAME *) |
Receive routine. | |
void(* | can_send )(NUTDEVICE *, CANFRAME *) |
Send routine. | |
void(* | can_set_ac )(NUTDEVICE *, u_char *) |
Set accaptance code. | |
void(* | can_set_am )(NUTDEVICE *, u_char *) |
Set accaptance mask. | |
u_char(* | can_set_baud )(NUTDEVICE *, u_long) |
Set speed. |
|
Interface type. Either CAN_IF_2A or CAN_IF_2B. |