Lely core libraries 2.3.4
io_can_chan_read Struct Reference

A CAN channel read operation. More...

#include <can.h>

Inheritance diagram for io_can_chan_read:
Collaboration diagram for io_can_chan_read:

Data Fields

struct can_msgmsg
 The address at which to store the CAN frame.
 
struct can_errerr
 The address at which to store the CAN error frame.
 
struct timespectp
 The address at which to store the system time at which the CAN frame or CAN error frame was received.
 
struct ev_task task
 The task (to be) submitted upon completion (or cancellation) of the read operation.
 
struct io_can_chan_read_result r
 The result of the read operation.
 

Detailed Description

A CAN channel read operation.

Definition at line 74 of file can.h.

Field Documentation

◆ msg

struct can_msg* io_can_chan_read::msg

The address at which to store the CAN frame.

If not NULL, it is the responsibility of the user to ensure the buffer remains valid until the read operation completes.

Definition at line 80 of file can.h.

◆ err

struct can_err* io_can_chan_read::err

The address at which to store the CAN error frame.

If not NULL, it is the responsibility of the user to ensure the buffer remains valid until the read operation completes.

Definition at line 86 of file can.h.

◆ tp

struct timespec* io_can_chan_read::tp

The address at which to store the system time at which the CAN frame or CAN error frame was received.

If not NULL, it is the responsibility of the user to ensure the buffer remains valid until the read operation completes.

Definition at line 93 of file can.h.


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