master/pdo.h
branchstable-1.4
changeset 1686 e206f4485f60
parent 1685 399ef727bf62
equal deleted inserted replaced
1685:399ef727bf62 1686:e206f4485f60
    41 #include "globals.h"
    41 #include "globals.h"
    42 #include "pdo_entry.h"
    42 #include "pdo_entry.h"
    43 
    43 
    44 /*****************************************************************************/
    44 /*****************************************************************************/
    45 
    45 
    46 /** Pdo description.
    46 /** PDO description.
    47  */
    47  */
    48 typedef struct {
    48 typedef struct {
    49     struct list_head list; /**< List item. */
    49     struct list_head list; /**< List item. */
    50     uint16_t index; /**< Pdo index. */
    50     uint16_t index; /**< PDO index. */
    51     int8_t sync_index; /**< Assigned sync manager. \todo remove? */
    51     int8_t sync_index; /**< Assigned sync manager. \todo remove? */
    52     char *name; /**< Pdo name. */
    52     char *name; /**< PDO name. */
    53     struct list_head entries; /**< List of Pdo entries. */
    53     struct list_head entries; /**< List of PDO entries. */
    54 } ec_pdo_t;
    54 } ec_pdo_t;
    55 
    55 
    56 /*****************************************************************************/
    56 /*****************************************************************************/
    57 
    57 
    58 void ec_pdo_init(ec_pdo_t *);
    58 void ec_pdo_init(ec_pdo_t *);