Loading...
Searching...
No Matches
candev_dev Struct Reference

candev descriptor to pass to the device thread More...

Detailed Description

candev descriptor to pass to the device thread

Definition at line 69 of file device.h.

#include <device.h>

Data Fields

candev_tdev
 the device
 
int ifnum
 interface number
 
kernel_pid_t pid
 pid
 
const char * name
 device name
 
can_trx_ttrx
 transceiver attached to the device
 
uint32_t rx_inactivity_timeout
 Min timeout loaded when a frame is received.
 
uint32_t tx_wakeup_timeout
 Min timeout loaded when a frame is sent.
 
uint32_t last_pm_update
 time when the pm was updated
 
uint32_t last_pm_value
 last pm timer value set
 
ztimer_t pm_timer
 timer for power management
 

Field Documentation

◆ dev

candev_t* candev_dev::dev

the device

Definition at line 70 of file device.h.

◆ ifnum

int candev_dev::ifnum

interface number

Definition at line 71 of file device.h.

◆ last_pm_update

uint32_t candev_dev::last_pm_update

time when the pm was updated

Definition at line 80 of file device.h.

◆ last_pm_value

uint32_t candev_dev::last_pm_value

last pm timer value set

Definition at line 81 of file device.h.

◆ name

const char* candev_dev::name

device name

Definition at line 73 of file device.h.

◆ pid

kernel_pid_t candev_dev::pid

pid

Definition at line 72 of file device.h.

◆ pm_timer

ztimer_t candev_dev::pm_timer

timer for power management

Definition at line 82 of file device.h.

◆ rx_inactivity_timeout

uint32_t candev_dev::rx_inactivity_timeout

Min timeout loaded when a frame is received.

Definition at line 78 of file device.h.

◆ trx

can_trx_t* candev_dev::trx

transceiver attached to the device

Definition at line 75 of file device.h.

◆ tx_wakeup_timeout

uint32_t candev_dev::tx_wakeup_timeout

Min timeout loaded when a frame is sent.

Definition at line 79 of file device.h.


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