IgH EtherCAT Master
1.5.3
|
EtherCAT PDO configuration state machine structures. More...
Go to the source code of this file.
Data Structures | |
struct | ec_fsm_pdo |
PDO configuration state machine. More... | |
Typedefs | |
typedef struct ec_fsm_pdo | ec_fsm_pdo_t |
Functions | |
void | ec_fsm_pdo_init (ec_fsm_pdo_t *, ec_fsm_coe_t *) |
Constructor. | |
void | ec_fsm_pdo_clear (ec_fsm_pdo_t *) |
Destructor. | |
void | ec_fsm_pdo_start_reading (ec_fsm_pdo_t *, ec_slave_t *) |
Start reading the PDO configuration. | |
void | ec_fsm_pdo_start_configuration (ec_fsm_pdo_t *, ec_slave_t *) |
Start writing the PDO configuration. | |
int | ec_fsm_pdo_exec (ec_fsm_pdo_t *, ec_datagram_t *) |
Executes the current state of the state machine. More... | |
int | ec_fsm_pdo_success (const ec_fsm_pdo_t *) |
Get execution result. More... | |
EtherCAT PDO configuration state machine structures.
Definition in file fsm_pdo.h.
typedef struct ec_fsm_pdo ec_fsm_pdo_t |
int ec_fsm_pdo_exec | ( | ec_fsm_pdo_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 | PDO configuration state machine. |
datagram | Datagram to use. |
int ec_fsm_pdo_success | ( | const ec_fsm_pdo_t * | fsm | ) |