IgH EtherCAT Master
1.6.2
|
EtherCAT process data object entry methods. More...
Go to the source code of this file.
Functions | |
void | ec_pdo_entry_init (ec_pdo_entry_t *entry) |
PDO entry constructor. More... | |
int | ec_pdo_entry_init_copy (ec_pdo_entry_t *entry, const ec_pdo_entry_t *other) |
PDO entry copy constructor. More... | |
void | ec_pdo_entry_clear (ec_pdo_entry_t *entry) |
PDO entry destructor. More... | |
int | ec_pdo_entry_set_name (ec_pdo_entry_t *entry, const char *name) |
Set PDO entry name. More... | |
int | ec_pdo_entry_equal (const ec_pdo_entry_t *entry1, const ec_pdo_entry_t *entry2) |
Compares two PDO entries. More... | |
EtherCAT process data object entry methods.
Definition in file pdo_entry.c.
void ec_pdo_entry_init | ( | ec_pdo_entry_t * | entry | ) |
int ec_pdo_entry_init_copy | ( | ec_pdo_entry_t * | entry, |
const ec_pdo_entry_t * | other | ||
) |
PDO entry copy constructor.
0 | Success. |
<0 | Error code. |
entry | PDO entry. |
other | PDO entry to copy from. |
Definition at line 51 of file pdo_entry.c.
void ec_pdo_entry_clear | ( | ec_pdo_entry_t * | entry | ) |
int ec_pdo_entry_set_name | ( | ec_pdo_entry_t * | entry, |
const char * | name | ||
) |
Set PDO entry name.
0 | Success. |
<0 | Error code. |
entry | PDO entry. |
name | New name. |
Definition at line 81 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.
1 | The entries are equal. |
0 | The entries differ. |
entry1 | First PDO entry. |
entry2 | Second PDO entry. |
Definition at line 114 of file pdo_entry.c.