![]() |
CANopenNode
CANopen protocol stack
|
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. | |
IO stream structure, used for read/write access to OD variable, part of OD_IO_t.
| 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.
| void* OD_stream_t::object |
Pointer to object, passed by OD_extension_init().
Can be used inside read / write functions from IO extension.