IgH EtherCAT Master  1.5.3
fmmu_config.h
Go to the documentation of this file.
1 /******************************************************************************
2  *
3  * $Id$
4  *
5  * Copyright (C) 2006-2008 Florian Pose, Ingenieurgemeinschaft IgH
6  *
7  * This file is part of the IgH EtherCAT Master.
8  *
9  * The IgH EtherCAT Master is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU General Public License version 2, as
11  * published by the Free Software Foundation.
12  *
13  * The IgH EtherCAT Master is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
16  * Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License along
19  * with the IgH EtherCAT Master; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21  *
22  * ---
23  *
24  * The license mentioned above concerns the source code only. Using the
25  * EtherCAT technology and brand is only permitted in compliance with the
26  * industrial property and similar rights of Beckhoff Automation GmbH.
27  *
28  *****************************************************************************/
29 
34 /*****************************************************************************/
35 
36 #ifndef __EC_FMMU_CONFIG_H__
37 #define __EC_FMMU_CONFIG_H__
38 
39 #include "globals.h"
40 #include "sync.h"
41 
42 /*****************************************************************************/
43 
46 typedef struct {
47  struct list_head list;
50  uint8_t sync_index;
53  unsigned int data_size;
55 
56 /*****************************************************************************/
57 
59  ec_domain_t *, uint8_t, ec_direction_t);
60 
61 void ec_fmmu_config_page(const ec_fmmu_config_t *, const ec_sync_t *,
62  uint8_t *);
63 
64 /*****************************************************************************/
65 
66 #endif
const ec_slave_config_t * sc
EtherCAT slave config.
Definition: fmmu_config.h:48
FMMU configuration.
Definition: fmmu_config.h:46
unsigned int data_size
Covered PDO size.
Definition: fmmu_config.h:53
Global definitions and macros.
uint32_t logical_start_address
Logical start address.
Definition: fmmu_config.h:52
const ec_domain_t * domain
Domain.
Definition: fmmu_config.h:49
uint8_t sync_index
Index of sync manager to use.
Definition: fmmu_config.h:50
Sync manager.
Definition: sync.h:47
ec_direction_t
Direction type for PDO assignment functions.
Definition: ecrt.h:446
EtherCAT sync manager.
void ec_fmmu_config_page(const ec_fmmu_config_t *, const ec_sync_t *, uint8_t *)
Initializes an FMMU configuration page.
Definition: fmmu_config.c:76
EtherCAT slave configuration.
Definition: slave_config.h:117
ec_direction_t dir
FMMU direction.
Definition: fmmu_config.h:51
EtherCAT domain.
Definition: domain.h:54
void ec_fmmu_config_init(ec_fmmu_config_t *, ec_slave_config_t *, ec_domain_t *, uint8_t, ec_direction_t)
FMMU configuration constructor.
Definition: fmmu_config.c:50