IgH EtherCAT Master  1.5.3
voe_handler.h File Reference

Vendor specific over EtherCAT protocol handler. More...

Go to the source code of this file.

Data Structures

struct  ec_voe_handler
 Vendor specific over EtherCAT handler. More...
 

Functions

int ec_voe_handler_init (ec_voe_handler_t *, ec_slave_config_t *, size_t)
 VoE handler constructor. More...
 
void ec_voe_handler_clear (ec_voe_handler_t *)
 VoE handler destructor.
 
size_t ec_voe_handler_mem_size (const ec_voe_handler_t *)
 Get usable memory size. More...
 

Detailed Description

Vendor specific over EtherCAT protocol handler.

Definition in file voe_handler.h.

Function Documentation

◆ ec_voe_handler_init()

int ec_voe_handler_init ( ec_voe_handler_t voe,
ec_slave_config_t sc,
size_t  size 
)

VoE handler constructor.

Returns
Return value of ec_datagram_prealloc().
Parameters
voeVoE handler.
scParent slave configuration.
sizeSize of memory to reserve.

Definition at line 72 of file voe_handler.c.

◆ ec_voe_handler_mem_size()

size_t ec_voe_handler_mem_size ( const ec_voe_handler_t voe)

Get usable memory size.

Returns
Memory size.
Parameters
voeVoE handler.

Definition at line 108 of file voe_handler.c.