pdo_entry.h File Reference

EtherCAT Process data object structure. More...

Go to the source code of this file.

Data Structures

struct  ec_pdo_entry_t
 PDO entry description. More...

Functions

void ec_pdo_entry_init (ec_pdo_entry_t *)
 PDO entry constructor.
int ec_pdo_entry_init_copy (ec_pdo_entry_t *, const ec_pdo_entry_t *)
 PDO entry copy constructor.
void ec_pdo_entry_clear (ec_pdo_entry_t *)
 PDO entry destructor.
int ec_pdo_entry_set_name (ec_pdo_entry_t *, const char *)
 Set PDO entry name.
int ec_pdo_entry_equal (const ec_pdo_entry_t *, const ec_pdo_entry_t *)
 Compares two PDO entries.


Detailed Description

EtherCAT Process data object structure.

Definition in file pdo_entry.h.


Function Documentation

int ec_pdo_entry_init_copy ( ec_pdo_entry_t entry,
const ec_pdo_entry_t other 
)

PDO entry copy constructor.

Return values:
0 Success.
<0 Error code.
Parameters:
entry  PDO entry.
other  PDO entry to copy from.

Definition at line 59 of file pdo_entry.c.

int ec_pdo_entry_set_name ( ec_pdo_entry_t entry,
const char *  name 
)

Set PDO entry name.

Return values:
0 Success.
<0 Error code.
Parameters:
entry  PDO entry.
name  New name.

Definition at line 89 of file pdo_entry.c.

int ec_pdo_entry_equal ( const ec_pdo_entry_t entry1,
const ec_pdo_entry_t entry2 
)

Compares two PDO entries.

Return values:
1 The entries are equal.
0 The entries differ.
Parameters:
entry1  First PDO entry.
entry2  Second PDO entry.

Definition at line 122 of file pdo_entry.c.


Generated on Mon Jun 20 09:31:31 2016 for IgH EtherCAT Master by  doxygen 1.5.6