IgH EtherCAT Master
1.5.3
|
EtherCAT process data object methods. More...
Go to the source code of this file.
Functions | |
void | ec_pdo_init (ec_pdo_t *pdo) |
PDO constructor. More... | |
int | ec_pdo_init_copy (ec_pdo_t *pdo, const ec_pdo_t *other_pdo) |
PDO copy constructor. More... | |
void | ec_pdo_clear (ec_pdo_t *pdo) |
PDO destructor. More... | |
void | ec_pdo_clear_entries (ec_pdo_t *pdo) |
Clear PDO entry list. More... | |
int | ec_pdo_set_name (ec_pdo_t *pdo, const char *name) |
Set PDO name. More... | |
ec_pdo_entry_t * | ec_pdo_add_entry (ec_pdo_t *pdo, uint16_t index, uint8_t subindex, uint8_t bit_length) |
Add a new PDO entry to the configuration. More... | |
int | ec_pdo_copy_entries (ec_pdo_t *pdo, const ec_pdo_t *other) |
Copy PDO entries from another PDO. More... | |
int | ec_pdo_equal_entries (const ec_pdo_t *pdo1, const ec_pdo_t *pdo2) |
Compares the entries of two PDOs. More... | |
unsigned int | ec_pdo_entry_count (const ec_pdo_t *pdo) |
Get the number of PDO entries. More... | |
const ec_pdo_entry_t * | ec_pdo_find_entry_by_pos_const (const ec_pdo_t *pdo, unsigned int pos) |
Finds a PDO entry via its position in the list. More... | |
void | ec_pdo_print_entries (const ec_pdo_t *pdo) |
Outputs the PDOs in the list. More... | |
EtherCAT process data object methods.
Definition in file pdo.c.
void ec_pdo_init | ( | ec_pdo_t * | pdo | ) |
void ec_pdo_clear | ( | ec_pdo_t * | pdo | ) |
void ec_pdo_clear_entries | ( | ec_pdo_t * | pdo | ) |
int ec_pdo_set_name | ( | ec_pdo_t * | pdo, |
const char * | name | ||
) |
ec_pdo_entry_t* ec_pdo_add_entry | ( | ec_pdo_t * | pdo, |
uint16_t | index, | ||
uint8_t | subindex, | ||
uint8_t | bit_length | ||
) |
unsigned int ec_pdo_entry_count | ( | const ec_pdo_t * | pdo | ) |
const ec_pdo_entry_t* ec_pdo_find_entry_by_pos_const | ( | const ec_pdo_t * | pdo, |
unsigned int | pos | ||
) |