29 #ifndef __EC_VOE_HANDLER_H__ 30 #define __EC_VOE_HANDLER_H__ 32 #include <linux/list.h> int ec_voe_handler_init(ec_voe_handler_t *, ec_slave_config_t *, size_t)
VoE handler constructor.
ec_datagram_t datagram
State machine datagram.
uint16_t vendor_type
Vendor type for the header.
struct list_head list
List item.
Global definitions and macros.
uint32_t vendor_id
Vendor ID for the header.
ec_internal_request_state_t
Generic request state.
void(* state)(ec_voe_handler_t *)
State function.
ec_internal_request_state_t request_state
Handler state.
size_t data_size
Size of VoE data.
ec_direction_t
Direction type for PDO assignment functions.
unsigned long jiffies_start
Timestamp for timeout calculation.
Vendor specific over EtherCAT handler.
size_t ec_voe_handler_mem_size(const ec_voe_handler_t *)
Get usable memory size.
EtherCAT datagram structure.
unsigned int retries
retries upon datagram timeout
ec_direction_t dir
Direction.
void ec_voe_handler_clear(ec_voe_handler_t *)
VoE handler destructor.
EtherCAT slave configuration.
ec_slave_config_t * config
Parent slave configuration.