IgH EtherCAT Master
1.5.3
|
EtherCAT master state machine. More...
Go to the source code of this file.
Data Structures | |
struct | ec_sii_write_request_t |
SII write request. More... | |
struct | ec_fsm_master |
Finite state machine of an EtherCAT master. More... | |
Typedefs | |
typedef struct ec_fsm_master | ec_fsm_master_t |
Functions | |
void | ec_fsm_master_init (ec_fsm_master_t *, ec_master_t *, ec_datagram_t *) |
Constructor. | |
void | ec_fsm_master_clear (ec_fsm_master_t *) |
Destructor. | |
void | ec_fsm_master_reset (ec_fsm_master_t *) |
Reset state machine. | |
int | ec_fsm_master_exec (ec_fsm_master_t *) |
Executes the current state of the state machine. More... | |
int | ec_fsm_master_idle (const ec_fsm_master_t *) |
EtherCAT master state machine.
Definition in file fsm_master.h.
typedef struct ec_fsm_master ec_fsm_master_t |
Definition at line 62 of file fsm_master.h.
int ec_fsm_master_exec | ( | ec_fsm_master_t * | fsm | ) |
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 | Master state machine. |
Definition at line 160 of file fsm_master.c.
int ec_fsm_master_idle | ( | const ec_fsm_master_t * | fsm | ) |
fsm | Master state machine. |
Definition at line 179 of file fsm_master.c.