Loading...
Searching...
No Matches

Structure to hold driver state. More...

Detailed Description

Structure to hold driver state.

Supposed to be extended by driver implementations. The extended structure should contain all variable driver state.

Definition at line 77 of file candev.h.

#include <candev.h>

Data Fields

const struct candev_driverdriver
 ptr to that driver's interface.
 
candev_event_cb_t event_callback
 callback for device events
 
void * isr_arg
 argument to pass on isr event
 
struct can_bittiming bittiming
 device bittimings
 
enum can_state state
 device state
 

Field Documentation

◆ bittiming

struct can_bittiming candev::bittiming

device bittimings

Definition at line 81 of file candev.h.

◆ driver

const struct candev_driver* candev::driver

ptr to that driver's interface.

Definition at line 78 of file candev.h.

◆ event_callback

candev_event_cb_t candev::event_callback

callback for device events

Definition at line 79 of file candev.h.

◆ isr_arg

void* candev::isr_arg

argument to pass on isr event

Definition at line 80 of file candev.h.

◆ state

enum can_state candev::state

device state

Definition at line 82 of file candev.h.


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