fp@2443: /****************************************************************************** fp@2443: * fp@2443: * $Id$ fp@2443: * fp@2443: * Copyright (C) 2012 Florian Pose, Ingenieurgemeinschaft IgH fp@2443: * fp@2443: * This file is part of the IgH EtherCAT master userspace library. fp@2443: * fp@2443: * The IgH EtherCAT master userspace library is free software; you can fp@2443: * redistribute it and/or modify it under the terms of the GNU Lesser General fp@2443: * Public License as published by the Free Software Foundation; version 2.1 fp@2443: * of the License. fp@2443: * fp@2443: * The IgH EtherCAT master userspace library is distributed in the hope that fp@2443: * it will be useful, but WITHOUT ANY WARRANTY; without even the implied fp@2443: * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the fp@2443: * GNU Lesser General Public License for more details. fp@2443: * fp@2443: * You should have received a copy of the GNU Lesser General Public License fp@2443: * along with the IgH EtherCAT master userspace library. If not, see fp@2443: * . fp@2443: * fp@2443: * --- fp@2443: * fp@2443: * The license mentioned above concerns the source code only. Using the fp@2443: * EtherCAT technology and brand is only permitted in compliance with the fp@2443: * industrial property and similar rights of Beckhoff Automation GmbH. fp@2443: * fp@2443: *****************************************************************************/ fp@2443: fp@2443: #include "include/ecrt.h" fp@2443: fp@2443: /*****************************************************************************/ fp@2443: fp@2443: struct ec_reg_request { fp@2443: ec_reg_request_t *next; /**< List header. */ fp@2443: ec_slave_config_t *config; /**< Parent slave configuration. */ fp@2443: unsigned int index; /**< Request index (identifier). */ fp@2443: uint8_t *data; /**< Data memory. */ fp@2443: size_t mem_size; /**< Size of \a data. */ fp@2443: }; fp@2443: fp@2443: /*****************************************************************************/ fp@2443: fp@2443: void ec_reg_request_clear(ec_reg_request_t *); fp@2443: fp@2443: /*****************************************************************************/