37 #ifndef __EC_FSM_SLAVE_SCAN_H__ 38 #define __EC_FSM_SLAVE_SCAN_H__ ec_slave_t * slave
Slave the FSM runs on.
ec_datagram_t * datagram
Datagram used in the state machine.
EtherCAT state change FSM.
void ec_fsm_slave_scan_start(ec_fsm_slave_scan_t *, ec_slave_t *)
Start slave scan state machine.
Slave information interface FSM.
EtherCAT slave structure.
EtherCAT PDO configuration state machine structures.
Global definitions and macros.
EtherCAT CoE state machines.
ec_fsm_slave_config_t * fsm_slave_config
Slave configuration state machine to use.
ec_fsm_pdo_t * fsm_pdo
PDO configuration state machine to use.
ec_fsm_sii_t fsm_sii
SII state machine.
Finite state machine for scanning an EtherCAT slave.
int ec_fsm_slave_scan_exec(ec_fsm_slave_scan_t *)
Executes the current state of the state machine.
unsigned int retries
Retries on datagram timeout.
EtherCAT datagram structure.
PDO configuration state machine.
EtherCAT slave information interface FSM structure.
void ec_fsm_slave_scan_clear(ec_fsm_slave_scan_t *)
Destructor.
Finite state machine to configure an EtherCAT slave.
void(* state)(ec_fsm_slave_scan_t *)
State function.
uint16_t sii_offset
SII offset in words.
int ec_fsm_slave_scan_success(const ec_fsm_slave_scan_t *)
void ec_fsm_slave_scan_init(ec_fsm_slave_scan_t *, ec_datagram_t *, ec_fsm_slave_config_t *, ec_fsm_pdo_t *)
Constructor.