Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

fsm_coe.h File Reference


Detailed Description

EtherCAT CoE state machines.

Definition in file fsm_coe.h.

Go to the source code of this file.

Data Structures

struct  ec_fsm_coe
 Finite state machine of an EtherCAT master. More...

Typedefs

typedef ec_fsm_coe ec_fsm_coe_t

Functions

void ec_fsm_coe_init (ec_fsm_coe_t *, ec_datagram_t *)
 Constructor.
void ec_fsm_coe_clear (ec_fsm_coe_t *)
 Destructor.
void ec_fsm_coe_dictionary (ec_fsm_coe_t *, ec_slave_t *)
 Starts reading a slaves' SDO dictionary.
void ec_fsm_coe_download (ec_fsm_coe_t *, ec_slave_t *, ec_sdo_data_t *)
 Starts to download an SDO to a slave.
void ec_fsm_coe_upload (ec_fsm_coe_t *, ec_slave_t *, ec_sdo_request_t *)
 Starts to upload an SDO from a slave.
int ec_fsm_coe_exec (ec_fsm_coe_t *)
 Executes the current state of the state machine.
int ec_fsm_coe_success (ec_fsm_coe_t *)
 Returns, if the state machine terminated with success.


Typedef Documentation

typedef struct ec_fsm_coe ec_fsm_coe_t
 

See also:
ec_fsm_coe

Definition at line 52 of file fsm_coe.h.


Function Documentation

int ec_fsm_coe_exec ec_fsm_coe_t fsm  ) 
 

Executes the current state of the state machine.

Returns:
false, if state machine has terminated
Parameters:
fsm  finite state machine

Definition at line 219 of file fsm_coe.c.

int ec_fsm_coe_success ec_fsm_coe_t fsm  ) 
 

Returns, if the state machine terminated with success.

Returns:
non-zero if successful.
Parameters:
fsm  Finite state machine

Definition at line 233 of file fsm_coe.c.


Generated on Tue Nov 7 15:03:37 2006 for IgH EtherCAT master by  doxygen 1.4.4