ec_master Struct Reference


Detailed Description

EtherCAT master.

Manages slaves, domains and IO.

Definition at line 89 of file master.h.

Data Fields

list_head list
 list item for module's master list
unsigned int reserved
 non-zero, if the master is reserved for RT
unsigned int index
 master index
kobject kobj
 kobject
list_head slaves
 list of slaves on the bus
unsigned int slave_count
 number of slaves on the bus
ec_device_tdevice
 EtherCAT device.
list_head datagram_queue
 datagram queue
uint8_t datagram_index
 current datagram index
list_head domains
 list of domains
ec_datagram_t simple_datagram
 datagram structure for initialization
unsigned int timeout
 timeout in synchronous IO
int debug_level
 master debug level
ec_stats_t stats
 cyclic statistics
workqueue_struct * workqueue
 master workqueue
work_struct idle_work
 free run work object
ec_fsm_t fsm
 master state machine
ec_master_mode_t mode
 master mode
timer_list eoe_timer
 EoE timer object.
unsigned int eoe_running
 non-zero, if EoE processing is active.
list_head eoe_handlers
 Ethernet-over-EtherCAT handlers.
spinlock_t internal_lock
 spinlock used in idle mode
int(* request_cb )(void *)
 lock request callback
void(* release_cb )(void *)
 lock release callback
void * cb_data
 data parameter of locking callbacks
uint8_t eeprom_write_enable
 allow write operations to EEPROMs


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