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