IgH EtherCAT Master  1.5.3
reg_request.h File Reference

EtherCAT register request structure. More...

Go to the source code of this file.

Data Structures

struct  ec_reg_request
 Register request. More...
 

Functions

int ec_reg_request_init (ec_reg_request_t *, size_t)
 Register request constructor. More...
 
void ec_reg_request_clear (ec_reg_request_t *)
 Register request destructor.
 

Detailed Description

EtherCAT register request structure.

Definition in file reg_request.h.

Function Documentation

◆ ec_reg_request_init()

int ec_reg_request_init ( ec_reg_request_t reg,
size_t  size 
)

Register request constructor.

Returns
Zero on success, otherwise a negative error code.
Parameters
regRegister request.
sizeMemory size.

Definition at line 48 of file reg_request.c.