CANopenNode
CANopen protocol stack
Loading...
Searching...
No Matches
OD_stream_t Struct Reference

IO stream structure, used for read/write access to OD variable, part of OD_IO_t. More...

#include <CO_ODinterface.h>

Data Fields

void * dataOrig
 Pointer to original data object, defined by Object Dictionary.
 
void * object
 Pointer to object, passed by OD_extension_init().
 
OD_size_t dataLength
 Data length in bytes or 0, if length is not specified.
 
OD_size_t dataOffset
 In case of large data, dataOffset indicates position of already transferred data.
 
OD_attr_t attribute
 Attribute bit-field of the OD sub-object, see OD_attributes_t.
 
uint16_t index
 Index of the OD object, informative.
 
uint8_t subIndex
 Sub index of the OD sub-object, informative.
 

Detailed Description

IO stream structure, used for read/write access to OD variable, part of OD_IO_t.

Field Documentation

◆ dataOrig

void* OD_stream_t::dataOrig

Pointer to original data object, defined by Object Dictionary.

Default read/write functions operate on it. If memory for data object is not specified by Object Dictionary, then dataOrig is NULL.

◆ object

void* OD_stream_t::object

Pointer to object, passed by OD_extension_init().

Can be used inside read / write functions from IO extension.


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