IgH EtherCAT Master
1.6.2
|
EtherCAT datagram pair structure. More...
Go to the source code of this file.
Data Structures | |
struct | ec_datagram_pair_t |
Domain datagram pair. More... | |
Functions | |
int | ec_datagram_pair_init (ec_datagram_pair_t *, ec_domain_t *, uint32_t, uint8_t *, size_t, const unsigned int []) |
Datagram pair constructor. More... | |
void | ec_datagram_pair_clear (ec_datagram_pair_t *) |
Datagram pair destructor. | |
uint16_t | ec_datagram_pair_process (ec_datagram_pair_t *, uint16_t[]) |
Process received data. More... | |
EtherCAT datagram pair structure.
Definition in file datagram_pair.h.
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 40 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 168 of file datagram_pair.c.