IgH EtherCAT Master
1.5.3
|
EtherCAT datagram pair methods. More...
Go to the source code of this file.
Functions | |
int | ec_datagram_pair_init (ec_datagram_pair_t *pair, ec_domain_t *domain, uint32_t logical_offset, uint8_t *data, size_t data_size, const unsigned int used[]) |
Datagram pair constructor. More... | |
void | ec_datagram_pair_clear (ec_datagram_pair_t *pair) |
Datagram pair destructor. More... | |
uint16_t | ec_datagram_pair_process (ec_datagram_pair_t *pair, uint16_t wc_sum[]) |
Process received data. More... | |
EtherCAT datagram pair methods.
Definition in file datagram_pair.c.
int ec_datagram_pair_init | ( | ec_datagram_pair_t * | pair, |
ec_domain_t * | domain, | ||
uint32_t | logical_offset, | ||
uint8_t * | data, | ||
size_t | data_size, | ||
const unsigned int | used[] | ||
) |
Datagram pair constructor.
pair | Datagram pair. |
domain | Parent domain. |
logical_offset | Logical offset. |
data | Data pointer. |
data_size | Data size. |
used | input/output use count. |
Definition at line 48 of file datagram_pair.c.
void ec_datagram_pair_clear | ( | ec_datagram_pair_t * | pair | ) |
Datagram pair destructor.
pair | Datagram pair. |
Definition at line 151 of file datagram_pair.c.
uint16_t ec_datagram_pair_process | ( | ec_datagram_pair_t * | pair, |
uint16_t | wc_sum[] | ||
) |
Process received data.
pair | Datagram pair. |
wc_sum | Working counter sums. |
Definition at line 176 of file datagram_pair.c.