00001 /***************************************************************************** 00002 * 00003 * $Id$ 00004 * 00005 * Copyright (C) 2012 Florian Pose <fp@igh-essen.com> 00006 * 00007 * This file is part of the IgH EtherCAT master. 00008 * 00009 * The IgH EtherCAT master is free software; you can redistribute it and/or 00010 * modify it under the terms of the GNU General Public License as published 00011 * by the Free Software Foundation; version 2 of the License. 00012 * 00013 * The IgH EtherCAT master is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General 00016 * Public License for more details. 00017 * 00018 * You should have received a copy of the GNU General Public License along 00019 * with the IgH EtherCAT master. If not, see <http://www.gnu.org/licenses/>. 00020 * 00021 * The license mentioned above concerns the source code only. Using the 00022 * EtherCAT technology and brand is only permitted in compliance with the 00023 * industrial property and similar rights of Beckhoff Automation GmbH. 00024 * 00025 ****************************************************************************/ 00026 00031 #ifndef __EC_RTDM_H__ 00032 #define __EC_RTDM_H__ 00033 00034 #include "../include/ecrt.h" /* ec_master_t */ 00035 00036 /*****************************************************************************/ 00037 00038 struct rtdm_device; 00039 00040 /*****************************************************************************/ 00041 00044 typedef struct ec_rtdm_dev { 00045 ec_master_t *master; 00046 struct rtdm_device *dev; 00047 } ec_rtdm_dev_t; 00048 00049 /*****************************************************************************/ 00050 00051 int ec_rtdm_dev_init(ec_rtdm_dev_t *, ec_master_t *); 00052 void ec_rtdm_dev_clear(ec_rtdm_dev_t *); 00053 00054 /****************************************************************************/ 00055 00056 #endif
1.5.6