ec_master Struct Reference


Detailed Description

EtherCAT master.

Manages slaves, domains and IO.

Definition at line 91 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
ec_device_tdevice
 EtherCAT device.
ec_fsm_t fsm
 master state machine
ec_master_mode_t mode
 master mode
list_head slaves
 list of slaves on the bus
unsigned int slave_count
 number of slaves on the bus
list_head datagram_queue
 datagram queue
uint8_t datagram_index
 current datagram index
list_head domains
 list of domains
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
uint32_t idle_cycle_times [HZ]
 Idle cycle times ring.
unsigned int idle_cycle_time_pos
 time ring buffer position
timer_list eoe_timer
 EoE timer object.
uint32_t eoe_cycle_times [HZ]
 EoE cycle times ring.
unsigned int eoe_cycle_time_pos
 time ring buffer position
unsigned int eoe_running
 non-zero, if EoE processing is active.
unsigned int eoe_checked
 non-zero, if EoE processing is not necessary.
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 Fri Sep 1 14:56:57 2006 for IgH EtherCAT master by  doxygen 1.4.6