A CAN channel read operation.
More...
#include <can.h>
|
struct can_msg * | msg |
| The address at which to store the CAN frame. More...
|
|
struct can_err * | err |
| The address at which to store the CAN error frame. More...
|
|
struct timespec * | tp |
| The address at which to store the system time at which the CAN frame or CAN error frame was received. More...
|
|
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.
|
|
A CAN channel read operation.
Definition at line 74 of file can.h.
◆ 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: