IgH EtherCAT Master  1.6.2
ec_fsm_slave_config Struct Reference

Finite state machine to configure an EtherCAT slave. More...

Data Fields

ec_datagram_tdatagram
 Datagram used in the state machine. More...
 
ec_fsm_change_tfsm_change
 State change state machine. More...
 
ec_fsm_coe_tfsm_coe
 CoE state machine. More...
 
ec_fsm_soe_tfsm_soe
 SoE state machine. More...
 
ec_fsm_pdo_tfsm_pdo
 PDO configuration state machine. More...
 
ec_fsm_eoe_tfsm_eoe
 EoE state machine. More...
 
ec_slave_tslave
 Slave the FSM runs on. More...
 
void(* state )(ec_fsm_slave_config_t *)
 State function. More...
 
unsigned int retries
 Retries on datagram timeout. More...
 
ec_sdo_request_trequest
 SDO request for SDO configuration. More...
 
ec_sdo_request_t request_copy
 Copied SDO request. More...
 
ec_soe_request_tsoe_request
 SDO request for SDO configuration. More...
 
ec_soe_request_t soe_request_copy
 Copied SDO request. More...
 
unsigned long jiffies_start
 For timeout calculations. More...
 
unsigned int take_time
 Store jiffies after datagram reception. More...
 
unsigned long wait_ms
 Wait time (used to wait before SAFEOP). More...
 

Detailed Description

Finite state machine to configure an EtherCAT slave.

Definition at line 46 of file fsm_slave_config.h.

Field Documentation

◆ datagram

ec_datagram_t* ec_fsm_slave_config::datagram

Datagram used in the state machine.

Definition at line 48 of file fsm_slave_config.h.

◆ fsm_change

ec_fsm_change_t* ec_fsm_slave_config::fsm_change

State change state machine.

Definition at line 49 of file fsm_slave_config.h.

◆ fsm_coe

ec_fsm_coe_t* ec_fsm_slave_config::fsm_coe

CoE state machine.

Definition at line 50 of file fsm_slave_config.h.

◆ fsm_soe

ec_fsm_soe_t* ec_fsm_slave_config::fsm_soe

SoE state machine.

Definition at line 51 of file fsm_slave_config.h.

◆ fsm_pdo

ec_fsm_pdo_t* ec_fsm_slave_config::fsm_pdo

PDO configuration state machine.

Definition at line 52 of file fsm_slave_config.h.

◆ fsm_eoe

ec_fsm_eoe_t* ec_fsm_slave_config::fsm_eoe

EoE state machine.

Definition at line 53 of file fsm_slave_config.h.

◆ slave

ec_slave_t* ec_fsm_slave_config::slave

Slave the FSM runs on.

Definition at line 55 of file fsm_slave_config.h.

◆ state

void(* ec_fsm_slave_config::state) (ec_fsm_slave_config_t *)

State function.

Definition at line 56 of file fsm_slave_config.h.

◆ retries

unsigned int ec_fsm_slave_config::retries

Retries on datagram timeout.

Definition at line 57 of file fsm_slave_config.h.

◆ request

ec_sdo_request_t* ec_fsm_slave_config::request

SDO request for SDO configuration.

Definition at line 58 of file fsm_slave_config.h.

◆ request_copy

ec_sdo_request_t ec_fsm_slave_config::request_copy

Copied SDO request.

Definition at line 59 of file fsm_slave_config.h.

◆ soe_request

ec_soe_request_t* ec_fsm_slave_config::soe_request

SDO request for SDO configuration.

Definition at line 60 of file fsm_slave_config.h.

◆ soe_request_copy

ec_soe_request_t ec_fsm_slave_config::soe_request_copy

Copied SDO request.

Definition at line 61 of file fsm_slave_config.h.

◆ jiffies_start

unsigned long ec_fsm_slave_config::jiffies_start

For timeout calculations.

Definition at line 62 of file fsm_slave_config.h.

◆ take_time

unsigned int ec_fsm_slave_config::take_time

Store jiffies after datagram reception.

Definition at line 63 of file fsm_slave_config.h.

◆ wait_ms

unsigned long ec_fsm_slave_config::wait_ms

Wait time (used to wait before SAFEOP).

Definition at line 64 of file fsm_slave_config.h.