Lely core libraries  2.3.4
__co_ssdo Struct Reference

A CANopen Server-SDO. More...

Collaboration diagram for __co_ssdo:

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_ssdo_state_tstate
 A pointer to the current state.
 
co_unsigned16_t idx
 The current object index.
 
co_unsigned8_t subidx
 The current object sub-index.
 
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 gencrc: 1
 A flag indicating whether a CRC should be generated.
 
co_unsigned16_t crc
 The generated CRC.
 
struct co_sdo_req req
 The SDO request.
 
struct membuf buf
 The buffer.
 
size_t nbyte
 The number of bytes in req already copied to buf.
 

Detailed Description

A CANopen Server-SDO.

Definition at line 63 of file ssdo.c.


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