Lely core libraries  2.2.5
io_can_rt_read_err_result Struct Reference

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

#include <can_rt.h>

Collaboration diagram for io_can_rt_read_err_result:

Data Fields

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

Detailed Description

The result of a CAN error frame read operation.

Definition at line 87 of file can_rt.h.

Field Documentation

◆ err

const struct can_err* io_can_rt_read_err_result::err

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

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

Definition at line 94 of file can_rt.h.


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