Lely core libraries  2.3.4
io_vcan_ctrl Struct Reference

The implementation of a virtual CAN controller. More...

Collaboration diagram for io_vcan_ctrl:

Data Fields

const struct io_can_ctrl_vtblctrl_vptr
 A pointer to the virtual table for the CAN controller interface.
 
io_clock_tclock
 A pointer to the clock used to obtain the timestamp when sending CAN frames.
 
int flags
 The flags specifying which CAN bus features are enabled.
 
mtx_t mtx
 The mutex protecting the controller and the list of virtual CAN channels.
 
cnd_t cond
 The condition variable used to wake up blocked synchronous write operations.
 
int stopped
 A flag indicating whether the controller is stopped.
 
int nominal
 The nominal bitrate.
 
int data
 The data bitrate.
 
int state
 The state of the virtual CAN bus.
 
struct sllist list
 The list of registered virtual CAN channels.
 

Detailed Description

The implementation of a virtual CAN controller.

Definition at line 84 of file vcan.c.


The documentation for this struct was generated from the following file: