IgH EtherCAT Master  1.5.2
ec_voe_handler Struct Reference

Vendor specific over EtherCAT handler. More...

#include <voe_handler.h>

Data Fields

struct list_head list
 List item.
 
ec_slave_config_tconfig
 Parent slave configuration.
 
ec_datagram_t datagram
 State machine datagram.
 
uint32_t vendor_id
 Vendor ID for the header.
 
uint16_t vendor_type
 Vendor type for the header.
 
size_t data_size
 Size of VoE data.
 
ec_direction_t dir
 Direction.
 
void(* state )(ec_voe_handler_t *)
 State function.
 
ec_internal_request_state_t request_state
 Handler state.
 
unsigned int retries
 retries upon datagram timeout
 
unsigned long jiffies_start
 Timestamp for timeout calculation.
 

Detailed Description

Vendor specific over EtherCAT handler.

Definition at line 49 of file voe_handler.h.

Field Documentation

◆ list

struct list_head ec_voe_handler::list

List item.

Definition at line 50 of file voe_handler.h.

◆ config

ec_slave_config_t* ec_voe_handler::config

Parent slave configuration.

Definition at line 51 of file voe_handler.h.

◆ datagram

ec_datagram_t ec_voe_handler::datagram

State machine datagram.

Definition at line 52 of file voe_handler.h.

◆ vendor_id

uint32_t ec_voe_handler::vendor_id

Vendor ID for the header.

Definition at line 53 of file voe_handler.h.

◆ vendor_type

uint16_t ec_voe_handler::vendor_type

Vendor type for the header.

Definition at line 54 of file voe_handler.h.

◆ data_size

size_t ec_voe_handler::data_size

Size of VoE data.

Definition at line 55 of file voe_handler.h.

◆ dir

ec_direction_t ec_voe_handler::dir

Direction.

EC_DIR_OUTPUT means writing to the slave, EC_DIR_INPUT means reading from the slave.

Definition at line 56 of file voe_handler.h.

◆ state

void(* ec_voe_handler::state) (ec_voe_handler_t *)

State function.

Definition at line 59 of file voe_handler.h.

◆ request_state

ec_internal_request_state_t ec_voe_handler::request_state

Handler state.

Definition at line 60 of file voe_handler.h.

◆ retries

unsigned int ec_voe_handler::retries

retries upon datagram timeout

Definition at line 61 of file voe_handler.h.

◆ jiffies_start

unsigned long ec_voe_handler::jiffies_start

Timestamp for timeout calculation.

Definition at line 62 of file voe_handler.h.