IgH EtherCAT Master  1.5.3
ec_datagram_t Struct Reference

EtherCAT datagram. More...

Data Fields

struct list_head queue
 Master datagram queue item. More...
 
struct list_head sent
 Master list item for sent datagrams. More...
 
ec_device_index_t device_index
 Device via which the datagram shall be / was sent. More...
 
ec_datagram_type_t type
 Datagram type (APRD, BWR, etc.). More...
 
uint8_t address [EC_ADDR_LEN]
 Recipient address. More...
 
uint8_t * data
 Datagram payload. More...
 
ec_origin_t data_origin
 Origin of the data memory. More...
 
size_t mem_size
 Datagram data memory size. More...
 
size_t data_size
 Size of the data in data. More...
 
uint8_t index
 Index (set by master). More...
 
uint16_t working_counter
 Working counter. More...
 
ec_datagram_state_t state
 State. More...
 
unsigned long jiffies_sent
 Jiffies, when the datagram was sent. More...
 
unsigned long jiffies_received
 Jiffies, when the datagram was received. More...
 
unsigned int skip_count
 Number of requeues when not yet received. More...
 
unsigned long stats_output_jiffies
 Last statistics output. More...
 
char name [EC_DATAGRAM_NAME_SIZE]
 Description of the datagram. More...
 

Detailed Description

EtherCAT datagram.

Definition at line 87 of file datagram.h.

Field Documentation

◆ queue

struct list_head ec_datagram_t::queue

Master datagram queue item.

Definition at line 88 of file datagram.h.

◆ sent

struct list_head ec_datagram_t::sent

Master list item for sent datagrams.

Definition at line 89 of file datagram.h.

◆ device_index

ec_device_index_t ec_datagram_t::device_index

Device via which the datagram shall be / was sent.

Definition at line 90 of file datagram.h.

◆ type

ec_datagram_type_t ec_datagram_t::type

Datagram type (APRD, BWR, etc.).

Definition at line 92 of file datagram.h.

◆ address

uint8_t ec_datagram_t::address[EC_ADDR_LEN]

Recipient address.

Definition at line 93 of file datagram.h.

◆ data

uint8_t* ec_datagram_t::data

Datagram payload.

Definition at line 94 of file datagram.h.

◆ data_origin

ec_origin_t ec_datagram_t::data_origin

Origin of the data memory.

Definition at line 95 of file datagram.h.

◆ mem_size

size_t ec_datagram_t::mem_size

Datagram data memory size.

Definition at line 96 of file datagram.h.

◆ data_size

size_t ec_datagram_t::data_size

Size of the data in data.

Definition at line 97 of file datagram.h.

◆ index

uint8_t ec_datagram_t::index

Index (set by master).

Definition at line 98 of file datagram.h.

◆ working_counter

uint16_t ec_datagram_t::working_counter

Working counter.

Definition at line 99 of file datagram.h.

◆ state

ec_datagram_state_t ec_datagram_t::state

State.

Definition at line 100 of file datagram.h.

◆ jiffies_sent

unsigned long ec_datagram_t::jiffies_sent

Jiffies, when the datagram was sent.

Definition at line 104 of file datagram.h.

◆ jiffies_received

unsigned long ec_datagram_t::jiffies_received

Jiffies, when the datagram was received.

Definition at line 108 of file datagram.h.

◆ skip_count

unsigned int ec_datagram_t::skip_count

Number of requeues when not yet received.

Definition at line 110 of file datagram.h.

◆ stats_output_jiffies

unsigned long ec_datagram_t::stats_output_jiffies

Last statistics output.

Definition at line 111 of file datagram.h.

◆ name

char ec_datagram_t::name[EC_DATAGRAM_NAME_SIZE]

Description of the datagram.

Definition at line 112 of file datagram.h.