IgH EtherCAT Master  1.6.2
ec_sdo_request Struct Reference

CANopen SDO request. More...

Data Fields

struct list_head list
 List item. More...
 
uint16_t index
 SDO index. More...
 
uint8_t subindex
 SDO subindex. More...
 
uint8_t * data
 Pointer to SDO data. More...
 
size_t mem_size
 Size of SDO data memory. More...
 
size_t data_size
 Size of SDO data. More...
 
uint8_t complete_access
 SDO shall be transferred completely. More...
 
uint32_t issue_timeout
 Maximum time in ms, the processing of the request may take. More...
 
uint32_t response_timeout
 Maximum time in ms, the transfer is retried, if the slave does not respond. More...
 
ec_direction_t dir
 Direction. More...
 
ec_internal_request_state_t state
 SDO request state. More...
 
unsigned long jiffies_start
 Jiffies, when the request was issued. More...
 
unsigned long jiffies_sent
 Jiffies, when the upload/download request was sent. More...
 
int errno
 Error number. More...
 
uint32_t abort_code
 SDO request abort code. More...
 

Detailed Description

CANopen SDO request.

Definition at line 40 of file sdo_request.h.

Field Documentation

◆ list

struct list_head ec_sdo_request::list

List item.

Definition at line 41 of file sdo_request.h.

◆ index

uint16_t ec_sdo_request::index

SDO index.

Definition at line 42 of file sdo_request.h.

◆ subindex

uint8_t ec_sdo_request::subindex

SDO subindex.

Definition at line 43 of file sdo_request.h.

◆ data

uint8_t* ec_sdo_request::data

Pointer to SDO data.

Definition at line 44 of file sdo_request.h.

◆ mem_size

size_t ec_sdo_request::mem_size

Size of SDO data memory.

Definition at line 45 of file sdo_request.h.

◆ data_size

size_t ec_sdo_request::data_size

Size of SDO data.

Definition at line 46 of file sdo_request.h.

◆ complete_access

uint8_t ec_sdo_request::complete_access

SDO shall be transferred completely.

Definition at line 47 of file sdo_request.h.

◆ issue_timeout

uint32_t ec_sdo_request::issue_timeout

Maximum time in ms, the processing of the request may take.

Definition at line 48 of file sdo_request.h.

◆ response_timeout

uint32_t ec_sdo_request::response_timeout

Maximum time in ms, the transfer is retried, if the slave does not respond.

Definition at line 50 of file sdo_request.h.

◆ dir

ec_direction_t ec_sdo_request::dir

Direction.

EC_DIR_OUTPUT means downloading to the slave, EC_DIR_INPUT means uploading from the slave.

Definition at line 52 of file sdo_request.h.

◆ state

ec_internal_request_state_t ec_sdo_request::state

SDO request state.

Definition at line 55 of file sdo_request.h.

◆ jiffies_start

unsigned long ec_sdo_request::jiffies_start

Jiffies, when the request was issued.

Definition at line 56 of file sdo_request.h.

◆ jiffies_sent

unsigned long ec_sdo_request::jiffies_sent

Jiffies, when the upload/download request was sent.

Definition at line 57 of file sdo_request.h.

◆ errno

int ec_sdo_request::errno

Error number.

Definition at line 59 of file sdo_request.h.

◆ abort_code

uint32_t ec_sdo_request::abort_code

SDO request abort code.

Zero on success.

Definition at line 60 of file sdo_request.h.