master/pdo.h
changeset 814 a51f857b1b2d
parent 799 068a58b96965
child 842 40e27e5a8dce
equal deleted inserted replaced
813:bfc3f1ab52de 814:a51f857b1b2d
    47 
    47 
    48 #include "globals.h"
    48 #include "globals.h"
    49 
    49 
    50 /*****************************************************************************/
    50 /*****************************************************************************/
    51 
    51 
    52 /** PDO description.
    52 /** Pdo description.
    53  */
    53  */
    54 typedef struct {
    54 typedef struct {
    55     struct list_head list; /**< List item. */
    55     struct list_head list; /**< List item. */
    56     ec_direction_t dir; /**< PDO direction. */
    56     ec_direction_t dir; /**< Pdo direction. */
    57     uint16_t index; /**< PDO index. */
    57     uint16_t index; /**< Pdo index. */
    58     int8_t sync_index; /**< Assigned sync manager. */
    58     int8_t sync_index; /**< Assigned sync manager. */
    59     char *name; /**< PDO name. */
    59     char *name; /**< Pdo name. */
    60     struct list_head entries; /**< List of PDO entries. */
    60     struct list_head entries; /**< List of Pdo entries. */
    61 } ec_pdo_t;
    61 } ec_pdo_t;
    62 
    62 
    63 /*****************************************************************************/
    63 /*****************************************************************************/
    64 
    64 
    65 /** PDO entry description.
    65 /** Pdo entry description.
    66  */
    66  */
    67 typedef struct {
    67 typedef struct {
    68     struct list_head list; /**< list item */
    68     struct list_head list; /**< list item */
    69     uint16_t index; /**< PDO entry index */
    69     uint16_t index; /**< Pdo entry index */
    70     uint8_t subindex; /**< PDO entry subindex */
    70     uint8_t subindex; /**< Pdo entry subindex */
    71     char *name; /**< entry name */
    71     char *name; /**< entry name */
    72     uint8_t bit_length; /**< entry length in bit */
    72     uint8_t bit_length; /**< entry length in bit */
    73 } ec_pdo_entry_t;
    73 } ec_pdo_entry_t;
    74 
    74 
    75 /*****************************************************************************/
    75 /*****************************************************************************/