Lely core libraries 2.3.5
__co_sub Struct Reference

A CANopen sub-object. More...

#include <obj.h>

Collaboration diagram for __co_sub:

Data Fields

struct rbnode node
 The node of this sub-object in the tree of sub-objects.
co_obj_tobj
 A pointer to the CANopen object containing this sub-object.
co_unsigned8_t subidx
 The object sub-index.
co_unsigned16_t type
 The data type.
char * name
 A pointer to the name of the sub-object.
union co_val min
 The lower limit of the object value.
union co_val max
 The upper limit of the object value.
union co_val def
 The default value.
void * val
 A pointer to the sub-object value.
uint_least32_t access: 5
 The access type.
uint_least32_t pdo_mapping: 1
 A flag indicating if it is possible to map this object into a PDO.
uint_least32_t flags: 26
 The object flags.
co_sub_dn_ind_tdn_ind
 A pointer to the download indication function.
void * dn_data
 A pointer to user-specified data for dn_ind.
co_sub_up_ind_tup_ind
 A pointer to the upload indication function.
void * up_data
 A pointer to user-specified data for up_ind.

Detailed Description

A CANopen sub-object.

Definition at line 53 of file obj.h.


The documentation for this struct was generated from the following file:
  • include/lely/co/detail/obj.h