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