28 #ifndef __EC_FSM_SLAVE_CONFIG_H__ 29 #define __EC_FSM_SLAVE_CONFIG_H__ void ec_fsm_slave_config_start(ec_fsm_slave_config_t *, ec_slave_t *)
Start slave configuration state machine.
Finite state machines for the Sercos over EtherCAT protocol.
int ec_fsm_slave_config_success(const ec_fsm_slave_config_t *)
ec_sdo_request_t * request
SDO request for SDO configuration.
EtherCAT state change FSM.
ec_fsm_change_t * fsm_change
State change state machine.
EtherCAT slave structure.
EtherCAT PDO configuration state machine structures.
void ec_fsm_slave_config_clear(ec_fsm_slave_config_t *)
Destructor.
EtherCAT EoE set IP parameter state machines.
ec_fsm_eoe_t * fsm_eoe
EoE state machine.
ec_sdo_request_t request_copy
Copied SDO request.
void ec_fsm_slave_config_init(ec_fsm_slave_config_t *, ec_datagram_t *, ec_fsm_change_t *, ec_fsm_coe_t *, ec_fsm_soe_t *, ec_fsm_pdo_t *, ec_fsm_eoe_t *)
Constructor.
Global definitions and macros.
EtherCAT CoE state machines.
ec_fsm_pdo_t * fsm_pdo
PDO configuration state machine.
ec_datagram_t * datagram
Datagram used in the state machine.
unsigned long wait_ms
Wait time (used to wait before SAFEOP).
void(* state)(ec_fsm_slave_config_t *)
State function.
int ec_fsm_slave_config_exec(ec_fsm_slave_config_t *)
Executes the current state of the state machine.
EtherCAT datagram structure.
ec_fsm_coe_t * fsm_coe
CoE state machine.
PDO configuration state machine.
ec_fsm_soe_t * fsm_soe
SoE state machine.
unsigned int take_time
Store jiffies after datagram reception.
Finite state machine to configure an EtherCAT slave.
ec_slave_t * slave
Slave the FSM runs on.
ec_soe_request_t soe_request_copy
Copied SDO request.
ec_soe_request_t * soe_request
SDO request for SDO configuration.
Sercos-over-EtherCAT request.
EtherCAT state change FSM.
Finite state machines for the Ethernet over EtherCAT protocol.
unsigned long jiffies_start
For timeout calculations.
Finite state machines for the CANopen over EtherCAT protocol.
unsigned int retries
Retries on datagram timeout.