ec_fsm Struct Reference


Detailed Description

Finite state machine of an EtherCAT master.

Definition at line 56 of file fsm.h.

Data Fields

ec_master_tmaster
 master the FSM runs on
ec_slave_tslave
 slave the FSM runs on
ec_datagram_t datagram
 datagram used in the state machine
void(* master_state )(ec_fsm_t *)
 master state function
unsigned int master_slaves_responding
 number of responding slaves
ec_slave_state_t master_slave_states
 states of responding slaves
unsigned int master_validation
 non-zero, if validation to do
void(* slave_state )(ec_fsm_t *)
 slave state function
void(* sii_state )(ec_fsm_t *)
 SII state function.
uint16_t sii_offset
 input: offset in SII
unsigned int sii_mode
 SII reading done by APRD (0) or NPRD (1).
uint8_t sii_value [4]
 raw SII value (32bit)
cycles_t sii_start
 sii start
void(* change_state )(ec_fsm_t *)
 slave state change state function
uint8_t change_new
 input: new state
cycles_t change_start
 change start


Generated on Wed Aug 2 18:41:44 2006 for IgH EtherCAT master by  doxygen 1.4.6