IgH EtherCAT Master
1.5.3
|
Mailbox functionality. More...
Go to the source code of this file.
Functions | |
uint8_t * | ec_slave_mbox_prepare_send (const ec_slave_t *slave, ec_datagram_t *datagram, uint8_t type, size_t size) |
Prepares a mailbox-send datagram. More... | |
int | ec_slave_mbox_prepare_check (const ec_slave_t *slave, ec_datagram_t *datagram) |
Prepares a datagram for checking the mailbox state. More... | |
int | ec_slave_mbox_check (const ec_datagram_t *datagram) |
Processes a mailbox state checking datagram. More... | |
int | ec_slave_mbox_prepare_fetch (const ec_slave_t *slave, ec_datagram_t *datagram) |
Prepares a datagram to fetch mailbox data. More... | |
uint8_t * | ec_slave_mbox_fetch (const ec_slave_t *slave, const ec_datagram_t *datagram, uint8_t *type, size_t *size) |
Processes received mailbox data. More... | |
Variables | |
const ec_code_msg_t | mbox_error_messages [] |
Mailbox error codes. More... | |
Mailbox functionality.
Definition in file mailbox.c.
uint8_t* ec_slave_mbox_prepare_send | ( | const ec_slave_t * | slave, |
ec_datagram_t * | datagram, | ||
uint8_t | type, | ||
size_t | size | ||
) |
int ec_slave_mbox_prepare_check | ( | const ec_slave_t * | slave, |
ec_datagram_t * | datagram | ||
) |
int ec_slave_mbox_check | ( | const ec_datagram_t * | datagram | ) |
int ec_slave_mbox_prepare_fetch | ( | const ec_slave_t * | slave, |
ec_datagram_t * | datagram | ||
) |
uint8_t* ec_slave_mbox_fetch | ( | const ec_slave_t * | slave, |
const ec_datagram_t * | datagram, | ||
uint8_t * | type, | ||
size_t * | size | ||
) |
const ec_code_msg_t mbox_error_messages[] |
Mailbox error codes.