domain.h File Reference


Detailed Description

EtherCAT domain structure.

Definition in file domain.h.

Go to the source code of this file.

Data Structures

struct  ec_domain
 EtherCAT domain. More...

Functions

int ec_domain_init (ec_domain_t *, ec_master_t *, unsigned int)
 Domain constructor.
void ec_domain_clear (struct kobject *)
 Domain destructor.
int ec_domain_alloc (ec_domain_t *, uint32_t)
 Creates a domain.
void ec_domain_queue (ec_domain_t *)
 Places all process data datagrams in the masters datagram queue.


Function Documentation

int ec_domain_init ec_domain_t domain,
ec_master_t master,
unsigned int  index
 

Domain constructor.

Returns:
0 in case of success, else < 0
Parameters:
domain  EtherCAT domain
master  owning master
index  domain index

Definition at line 99 of file domain.c.

int ec_domain_alloc ec_domain_t domain,
uint32_t  base_address
 

Creates a domain.

Reserves domain memory, calculates the logical addresses of the corresponding FMMUs and sets the process data pointer of the registered process data.

Returns:
0 in case of success, else < 0
Parameters:
domain  EtherCAT domain
base_address  logical base address

Definition at line 283 of file domain.c.


Generated on Fri Sep 1 14:56:56 2006 for IgH EtherCAT master by  doxygen 1.4.6