Lely core libraries 2.3.4
io_can_rt_read_msg_result Struct Reference

The result of a CAN frame read operation. More...

#include <can_rt.h>

Collaboration diagram for io_can_rt_read_msg_result:

Data Fields

const struct can_msgmsg
 A pointer to the received CAN frame, or NULL on error (or if the operation is canceled). More...
 
int errc
 The error number, obtained as if by get_errc(), if msg is NULL.
 

Detailed Description

The result of a CAN frame read operation.

Definition at line 39 of file can_rt.h.

Field Documentation

◆ msg

const struct can_msg* io_can_rt_read_msg_result::msg

A pointer to the received CAN frame, or NULL on error (or if the operation is canceled).

In the latter case, the error number is stored in errc. The CAN frame is only guaranteed to be valid until the completion task of the read operation finishes executing.

Definition at line 46 of file can_rt.h.


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