master/pdo.h
changeset 1327 4d179b06dd3c
parent 1326 ef907b0b5125
child 1363 11c0b2caa253
equal deleted inserted replaced
1326:ef907b0b5125 1327:4d179b06dd3c
    39 #include "globals.h"
    39 #include "globals.h"
    40 #include "pdo_entry.h"
    40 #include "pdo_entry.h"
    41 
    41 
    42 /*****************************************************************************/
    42 /*****************************************************************************/
    43 
    43 
    44 /** Pdo description.
    44 /** PDO description.
    45  */
    45  */
    46 typedef struct {
    46 typedef struct {
    47     struct list_head list; /**< List item. */
    47     struct list_head list; /**< List item. */
    48     uint16_t index; /**< Pdo index. */
    48     uint16_t index; /**< PDO index. */
    49     int8_t sync_index; /**< Assigned sync manager. \todo remove? */
    49     int8_t sync_index; /**< Assigned sync manager. \todo remove? */
    50     char *name; /**< Pdo name. */
    50     char *name; /**< PDO name. */
    51     struct list_head entries; /**< List of Pdo entries. */
    51     struct list_head entries; /**< List of PDO entries. */
    52 } ec_pdo_t;
    52 } ec_pdo_t;
    53 
    53 
    54 /*****************************************************************************/
    54 /*****************************************************************************/
    55 
    55 
    56 void ec_pdo_init(ec_pdo_t *);
    56 void ec_pdo_init(ec_pdo_t *);