|
IgH EtherCAT Master
1.5.2
|
EtherCAT Mailbox Gateway state machine. More...
Go to the source code of this file.
Data Structures | |
| struct | ec_fsm_mbg |
| Finite state machines for the CANopen over EtherCAT protocol. More... | |
Typedefs | |
| typedef struct ec_fsm_mbg | ec_fsm_mbg_t |
Functions | |
| void | ec_fsm_mbg_init (ec_fsm_mbg_t *) |
| Constructor. | |
| void | ec_fsm_mbg_clear (ec_fsm_mbg_t *) |
| Destructor. | |
| void | ec_fsm_mbg_transfer (ec_fsm_mbg_t *, ec_slave_t *, ec_mbg_request_t *) |
| Starts to transfer a mailbox gateway request to/from a slave. | |
| int | ec_fsm_mbg_exec (ec_fsm_mbg_t *, ec_datagram_t *) |
| Executes the current state of the state machine. More... | |
| int | ec_fsm_mbg_success (const ec_fsm_mbg_t *) |
| Returns, if the state machine terminated with success. More... | |
EtherCAT Mailbox Gateway state machine.
Note: message fragmentation (segmentation) not supported
Definition in file fsm_mbox_gateway.h.
| typedef struct ec_fsm_mbg ec_fsm_mbg_t |
Definition at line 48 of file fsm_mbox_gateway.h.
| int ec_fsm_mbg_exec | ( | ec_fsm_mbg_t * | fsm, |
| ec_datagram_t * | datagram | ||
| ) |
Executes the current state of the state machine.
| fsm | Finite state machine. |
| datagram | Datagram to use. |
Definition at line 107 of file fsm_mbox_gateway.c.
| int ec_fsm_mbg_success | ( | const ec_fsm_mbg_t * | fsm | ) |
Returns, if the state machine terminated with success.
| fsm | Finite state machine |
Definition at line 131 of file fsm_mbox_gateway.c.