Contains information about the CAN interface.
Definition at line 136 of file can_dev.h.
Data Fields | |
u_char | can_type |
Interface type. Either CAN_IF_2A or CAN_IF_2B. | |
u_long | can_baudrate |
Baudrate of device. | |
u_char | can_acc_mask [4] |
Acceptance mask. | |
u_char | can_acc_code [4] |
Acceptance code. | |
u_long | can_rtimeout |
Timout for receiving. | |
u_char(* | can_rxavail )(NUTDEVICE *) |
Receive buffer data available? | |
u_char(* | can_txfree )(NUTDEVICE *) |
Transmit buffer free? | |
u_char(* | 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. |
Baudrate of device.
Definition at line 138 of file can_dev.h.
Referenced by AtCanInit(), and SJAInit().
Receive buffer data available?
u_char(* ifcan::can_txfree)(NUTDEVICE *) |
Transmit buffer free?
u_char(* ifcan::can_recv)(NUTDEVICE *, CANFRAME *) |
Receive routine.
void(* ifcan::can_send)(NUTDEVICE *, CANFRAME *) |
Send routine.
void(* ifcan::can_set_ac)(NUTDEVICE *, u_char *) |
Set accaptance code.
void(* ifcan::can_set_am)(NUTDEVICE *, u_char *) |
Set accaptance mask.
u_char(* ifcan::can_set_baud)(NUTDEVICE *, u_long) |
Set speed.