Lely core libraries 2.3.4
__co_csdo Struct Reference

A CANopen Client-SDO. More...

Collaboration diagram for __co_csdo:

Data Fields

can_net_tnet
 A pointer to a CAN network interface.
 
co_dev_tdev
 A pointer to a CANopen device.
 
co_unsigned8_t num
 The SDO number.
 
struct co_sdo_par par
 The SDO parameter record.
 
can_recv_trecv
 A pointer to the CAN frame receiver.
 
int timeout
 The SDO timeout (in milliseconds).
 
can_timer_ttimer
 A pointer to the CAN timer.
 
co_csdo_state_tstate
 A pointer to the current state.
 
co_unsigned32_t ac
 The current abort code.
 
co_unsigned16_t idx
 The current object index.
 
co_unsigned8_t subidx
 The current object sub-index.
 
co_unsigned32_t size
 The data set size (in bytes).
 
co_unsigned8_t toggle
 The current value of the toggle bit.
 
co_unsigned8_t blksize
 The number of segments per block.
 
co_unsigned8_t ackseq
 The sequence number of the last successfully received segment.
 
unsigned crc: 1
 A flag indicating whether a CRC should be generated.
 
struct membuf dn_buf
 The memory buffer used for download requests.
 
struct membufup_buf
 A pointer to the memory buffer used for upload requests.
 
struct membuf buf
 The memory buffer used for storing serialized values in the absence of a user-specified buffer.
 
co_csdo_dn_con_tdn_con
 A pointer to the download confirmation function.
 
void * dn_con_data
 A pointer to user-specified data for dn_con.
 
co_csdo_ind_tdn_ind
 A pointer to the download progress indication function.
 
void * dn_ind_data
 A pointer to user-specified data for dn_ind.
 
co_csdo_up_con_tup_con
 A pointer to the upload confirmation function.
 
void * up_con_data
 A pointer to user-specified data for up_con.
 
co_csdo_ind_tup_ind
 A pointer to the upload progress indication function.
 
void * up_ind_data
 A pointer to user-specified data for up_ind.
 
struct co_csdo_dn_dcf dn_dcf
 The state of the concise DCF download request.
 

Detailed Description

A CANopen Client-SDO.

Definition at line 71 of file csdo.c.


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