IFCAN Struct Reference
[CAN Devices]
CAN interface structure.
More...
Detailed Description
CAN interface structure.
Canbus interface type.
Contains information about the CAN interface.
Definition at line 139 of file can_dev.h.
Field Documentation
Interface type. Either CAN_IF_2A or CAN_IF_2B.
Definition at line 140 of file can_dev.h.
Baudrate of device.
Definition at line 141 of file can_dev.h.
Timout for receiving.
Definition at line 144 of file can_dev.h.
uint8_t(* IFCAN::can_rxavail)(NUTDEVICE *) |
Receive buffer data available?
Definition at line 146 of file can_dev.h.
uint8_t(* IFCAN::can_txfree)(NUTDEVICE *) |
Transmit buffer free?
Definition at line 147 of file can_dev.h.
uint8_t(* IFCAN::can_recv)(NUTDEVICE *, CANFRAME *) |
void(* IFCAN::can_send)(NUTDEVICE *, CANFRAME *) |
void(* IFCAN::can_set_ac)(NUTDEVICE *, uint8_t *) |
Set accaptance code.
Definition at line 150 of file can_dev.h.
void(* IFCAN::can_set_am)(NUTDEVICE *, uint8_t *) |
Set accaptance mask.
Definition at line 151 of file can_dev.h.
The documentation for this struct was generated from the following file: