Definition in file mailbox.c.
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. | |
| int | ec_slave_mbox_prepare_check (const ec_slave_t *slave, ec_datagram_t *datagram) |
| Prepares a datagram for checking the mailbox state. | |
| int | ec_slave_mbox_check (const ec_datagram_t *datagram) |
| Processes a mailbox state checking datagram. | |
| int | ec_slave_mbox_prepare_fetch (const ec_slave_t *slave, ec_datagram_t *datagram) |
| Prepares a datagram to fetch mailbox data. | |
| uint8_t * | ec_slave_mbox_fetch (const ec_slave_t *slave, ec_datagram_t *datagram, uint8_t *type, size_t *size) |
| Processes received mailbox data. | |
Variables | |
| const ec_code_msg_t | mbox_error_messages [] |
| Mailbox error codes. | |
|
||||||||||||||||||||
|
Prepares a mailbox-send datagram.
|
|
||||||||||||
|
Prepares a datagram for checking the mailbox state.
|
|
|
Processes a mailbox state checking datagram.
|
|
||||||||||||
|
Prepares a datagram to fetch mailbox data.
|
|
||||||||||||||||||||
|
Processes received mailbox data.
|
|
|
Initial value: {
{0x00000001, "MBXERR_SYNTAX"},
{0x00000002, "MBXERR_UNSUPPORTEDPROTOCOL"},
{0x00000003, "MBXERR_INVAILDCHANNEL"},
{0x00000004, "MBXERR_SERVICENOTSUPPORTED"},
{0x00000005, "MBXERR_INVALIDHEADER"},
{0x00000006, "MBXERR_SIZETOOSHORT"},
{0x00000007, "MBXERR_NOMOREMEMORY"},
{0x00000008, "MBXERR_INVALIDSIZE"},
{}
}
|
1.4.4