lib/reg_request.h
branchstable-1.5
changeset 2443 2c3ccdde3919
equal deleted inserted replaced
2442:86ebf18a029f 2443:2c3ccdde3919
       
     1 /******************************************************************************
       
     2  *
       
     3  *  $Id$
       
     4  *
       
     5  *  Copyright (C) 2012  Florian Pose, Ingenieurgemeinschaft IgH
       
     6  *
       
     7  *  This file is part of the IgH EtherCAT master userspace library.
       
     8  *
       
     9  *  The IgH EtherCAT master userspace library is free software; you can
       
    10  *  redistribute it and/or modify it under the terms of the GNU Lesser General
       
    11  *  Public License as published by the Free Software Foundation; version 2.1
       
    12  *  of the License.
       
    13  *
       
    14  *  The IgH EtherCAT master userspace library is distributed in the hope that
       
    15  *  it will be useful, but WITHOUT ANY WARRANTY; without even the implied
       
    16  *  warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       
    17  *  GNU Lesser General Public License for more details.
       
    18  *
       
    19  *  You should have received a copy of the GNU Lesser General Public License
       
    20  *  along with the IgH EtherCAT master userspace library. If not, see
       
    21  *  <http://www.gnu.org/licenses/>.
       
    22  *
       
    23  *  ---
       
    24  *
       
    25  *  The license mentioned above concerns the source code only. Using the
       
    26  *  EtherCAT technology and brand is only permitted in compliance with the
       
    27  *  industrial property and similar rights of Beckhoff Automation GmbH.
       
    28  *
       
    29  *****************************************************************************/
       
    30 
       
    31 #include "include/ecrt.h"
       
    32 
       
    33 /*****************************************************************************/
       
    34 
       
    35 struct ec_reg_request {
       
    36     ec_reg_request_t *next; /**< List header. */
       
    37     ec_slave_config_t *config; /**< Parent slave configuration. */
       
    38     unsigned int index; /**< Request index (identifier). */
       
    39     uint8_t *data; /**< Data memory. */
       
    40     size_t mem_size; /**< Size of \a data. */
       
    41 };
       
    42 
       
    43 /*****************************************************************************/
       
    44 
       
    45 void ec_reg_request_clear(ec_reg_request_t *);
       
    46 
       
    47 /*****************************************************************************/