CANopen Master Documentation
Version 6.06.04
Loading...
Searching...
No Matches
CoObject_s Struct Reference

Detailed Description

The object structure is used to upload or download data between the CANopen Master and a CANopen Slave device. This structure is used by the functions ComSdoReadObject() and ComSdoWriteObject() as well as the event handlers ComObjectEventProgress(), ComObjectEventReady() and ComObjectEventTimeout().

+ Collaboration diagram for CoObject_s:

Data Fields

uint16_t uwIndex
 
uint8_t ubSubIndex
 
uint8_t ubMarker
 
uint32_t ulDataSize
 
uint8_t ubDataType
 
void * pvdData
 

Field Documentation

◆ pvdData

void* CoObject_s::pvdData

Pointer to data

◆ ubDataType

uint8_t CoObject_s::ubDataType

Data type of the object, required for CANopen FD

◆ ubMarker

uint8_t CoObject_s::ubMarker

User defined marker for this entry

◆ ubSubIndex

uint8_t CoObject_s::ubSubIndex

Sub-Index of the object

◆ ulDataSize

uint32_t CoObject_s::ulDataSize

Data size of the object

◆ uwIndex

uint16_t CoObject_s::uwIndex

Index of the object