|
IgH EtherCAT Master
1.5.2
|
EtherCAT slave reboot FSM. More...
Go to the source code of this file.
Macros | |
| #define | EC_FSM_ERR(fsm, fmt, args...) |
EtherCAT slave reboot FSM.
Definition in file fsm_reboot.c.
| #define EC_FSM_ERR | ( | fsm, | |
| fmt, | |||
| args... | |||
| ) |
Definition at line 43 of file fsm_reboot.c.
| void ec_fsm_reboot_state_start | ( | ec_fsm_reboot_t * | fsm | ) |
Reboot state: START.
| fsm | finite state machine |
Definition at line 151 of file fsm_reboot.c.
| void ec_fsm_reboot_state_one | ( | ec_fsm_reboot_t * | fsm | ) |
| void ec_fsm_reboot_state_two | ( | ec_fsm_reboot_t * | fsm | ) |
| void ec_fsm_reboot_state_three | ( | ec_fsm_reboot_t * | fsm | ) |
Reboot state: THREE.
| fsm | finite state machine |
Definition at line 259 of file fsm_reboot.c.
| void ec_fsm_reboot_state_wait | ( | ec_fsm_reboot_t * | fsm | ) |
| void ec_fsm_reboot_state_end | ( | ec_fsm_reboot_t * | fsm | ) |
| void ec_fsm_reboot_state_error | ( | ec_fsm_reboot_t * | fsm | ) |
| void ec_fsm_reboot_init | ( | ec_fsm_reboot_t * | fsm, |
| ec_datagram_t * | datagram | ||
| ) |
Constructor.
| fsm | finite state machine |
| datagram | datagram |
Definition at line 68 of file fsm_reboot.c.
| void ec_fsm_reboot_clear | ( | ec_fsm_reboot_t * | fsm | ) |
| void ec_fsm_reboot_single | ( | ec_fsm_reboot_t * | fsm, |
| ec_slave_t * | slave | ||
| ) |
Starts the reboot state machine for a single slave.
| fsm | finite state machine |
| slave | EtherCAT slave |
Definition at line 92 of file fsm_reboot.c.
| void ec_fsm_reboot_all | ( | ec_fsm_reboot_t * | fsm, |
| ec_master_t * | master | ||
| ) |
Starts the reboot state machine for all slaves on a master.
| fsm | finite state machine |
| master | EtherCAT master |
Definition at line 107 of file fsm_reboot.c.
| int ec_fsm_reboot_exec | ( | ec_fsm_reboot_t * | fsm | ) |
Executes the current state of the state machine.
| fsm | finite state machine |
Definition at line 123 of file fsm_reboot.c.
| int ec_fsm_reboot_success | ( | ec_fsm_reboot_t * | fsm | ) |
Returns, if the state machine terminated with success.
| fsm | Finite state machine |
Definition at line 138 of file fsm_reboot.c.