IgH EtherCAT Master
1.6.2
|
Finite state machine of an EtherCAT master. More...
Data Fields | |
ec_master_t * | master |
master the FSM runs on | |
ec_datagram_t * | datagram |
datagram used in the state machine | |
unsigned int | retries |
retries on datagram timeout. More... | |
void(* | state )(ec_fsm_master_t *) |
master state function | |
ec_device_index_t | dev_idx |
Current device index (for scanning etc.). | |
int | idle |
state machine is in idle phase | |
unsigned long | scan_jiffies |
beginning of slave scanning | |
uint8_t | link_state [EC_MAX_NUM_DEVICES] |
Last link state for every device. More... | |
unsigned int | slaves_responding [EC_MAX_NUM_DEVICES] |
Number of responding slaves for every device. More... | |
unsigned int | rescan_required |
A bus rescan is required. More... | |
ec_slave_state_t | slave_states [EC_MAX_NUM_DEVICES] |
AL states of responding slaves for every device. More... | |
ec_slave_t * | slave |
current slave | |
ec_sii_write_request_t * | sii_request |
SII write request. | |
off_t | sii_index |
index to SII write request data | |
ec_sdo_request_t * | sdo_request |
SDO request to process. More... | |
ec_soe_request_t * | soe_request |
SoE request to process. More... | |
ec_fsm_coe_t | fsm_coe |
CoE state machine. | |
ec_fsm_soe_t | fsm_soe |
SoE state machine. | |
ec_fsm_pdo_t | fsm_pdo |
PDO configuration state machine. More... | |
ec_fsm_eoe_t | fsm_eoe |
EoE state machine. | |
ec_fsm_change_t | fsm_change |
State change state machine. | |
ec_fsm_slave_config_t | fsm_slave_config |
slave state machine | |
ec_fsm_slave_scan_t | fsm_slave_scan |
slave state machine | |
ec_fsm_sii_t | fsm_sii |
SII state machine. | |
Finite state machine of an EtherCAT master.
Definition at line 60 of file fsm_master.h.
unsigned int ec_fsm_master::retries |
retries on datagram timeout.
Definition at line 63 of file fsm_master.h.
uint8_t ec_fsm_master::link_state[EC_MAX_NUM_DEVICES] |
Last link state for every device.
Definition at line 70 of file fsm_master.h.
unsigned int ec_fsm_master::slaves_responding[EC_MAX_NUM_DEVICES] |
Number of responding slaves for every device.
Definition at line 72 of file fsm_master.h.
unsigned int ec_fsm_master::rescan_required |
A bus rescan is required.
Definition at line 75 of file fsm_master.h.
ec_slave_state_t ec_fsm_master::slave_states[EC_MAX_NUM_DEVICES] |
AL states of responding slaves for every device.
Definition at line 76 of file fsm_master.h.
ec_sdo_request_t* ec_fsm_master::sdo_request |
SDO request to process.
Definition at line 82 of file fsm_master.h.
ec_soe_request_t* ec_fsm_master::soe_request |
SoE request to process.
Definition at line 83 of file fsm_master.h.
ec_fsm_pdo_t ec_fsm_master::fsm_pdo |
PDO configuration state machine.
Definition at line 87 of file fsm_master.h.