|
IgH EtherCAT Master
1.5.2
|
EtherCAT slave configuration state machine. More...
Go to the source code of this file.
Data Structures | |
| struct | ec_fsm_slave_config |
| Finite state machine to configure an EtherCAT slave. More... | |
Typedefs | |
| typedef struct ec_fsm_slave_config | ec_fsm_slave_config_t |
Functions | |
| void | ec_fsm_slave_config_init (ec_fsm_slave_config_t *, ec_slave_t *, ec_fsm_change_t *, ec_fsm_coe_t *, ec_fsm_soe_t *, ec_fsm_pdo_t *) |
| Constructor. | |
| void | ec_fsm_slave_config_clear (ec_fsm_slave_config_t *) |
| Destructor. | |
| void | ec_fsm_slave_config_start (ec_fsm_slave_config_t *) |
| Start slave configuration state machine. | |
| void | ec_fsm_slave_config_quick_start (ec_fsm_slave_config_t *) |
| Start slave configuration state machine for "quick" SAFEOP->OP. | |
| int | ec_fsm_slave_config_exec (ec_fsm_slave_config_t *, ec_datagram_t *) |
| Executes the current state of the state machine. More... | |
| int | ec_fsm_slave_config_success (const ec_fsm_slave_config_t *) |
EtherCAT slave configuration state machine.
Definition in file fsm_slave_config.h.
| typedef struct ec_fsm_slave_config ec_fsm_slave_config_t |
Definition at line 50 of file fsm_slave_config.h.
| int ec_fsm_slave_config_exec | ( | ec_fsm_slave_config_t * | fsm, |
| ec_datagram_t * | datagram | ||
| ) |
Executes the current state of the state machine.
If the state machine's datagram is not sent or received yet, the execution of the state machine is delayed to the next cycle.
| fsm | slave state machine |
| datagram | Datagram to use. |
Definition at line 198 of file fsm_slave_config.c.
| int ec_fsm_slave_config_success | ( | const ec_fsm_slave_config_t * | fsm | ) |
| fsm | slave state machine |
Definition at line 222 of file fsm_slave_config.c.