lib/sdo_request.h
changeset 1995 7d748d9cf9e8
parent 1959 656f114153c2
child 2421 bc2d4bf9cbe5
equal deleted inserted replaced
1994:b369f3f92eb8 1995:7d748d9cf9e8
    31 #include "include/ecrt.h"
    31 #include "include/ecrt.h"
    32 
    32 
    33 /*****************************************************************************/
    33 /*****************************************************************************/
    34 
    34 
    35 struct ec_sdo_request {
    35 struct ec_sdo_request {
       
    36     ec_sdo_request_t *next; /**< List header. */
    36     ec_slave_config_t *config; /**< Parent slave configuration. */
    37     ec_slave_config_t *config; /**< Parent slave configuration. */
    37     unsigned int index; /**< Request index (identifier). */
    38     unsigned int index; /**< Request index (identifier). */
    38     uint16_t sdo_index; /**< SDO index. */
    39     uint16_t sdo_index; /**< SDO index. */
    39     uint8_t sdo_subindex; /**< SDO subindex. */
    40     uint8_t sdo_subindex; /**< SDO subindex. */
    40     uint8_t *data; /**< Pointer to SDO data. */
    41     uint8_t *data; /**< Pointer to SDO data. */
    41     size_t mem_size; /**< Size of SDO data memory. */
    42     size_t mem_size; /**< Size of SDO data memory. */
    42     size_t data_size; /**< Size of SDO data. */
    43     size_t data_size; /**< Size of SDO data. */
    43 };
    44 };
    44 
    45 
    45 /*****************************************************************************/
    46 /*****************************************************************************/
       
    47 
       
    48 void ec_sdo_request_clear(ec_sdo_request_t *);
       
    49 
       
    50 /*****************************************************************************/