master/sdo_entry.h
branchstable-1.4
changeset 1686 e206f4485f60
parent 1685 399ef727bf62
child 1363 11c0b2caa253
equal deleted inserted replaced
1685:399ef727bf62 1686:e206f4485f60
    24  *
    24  *
    25  *****************************************************************************/
    25  *****************************************************************************/
    26 
    26 
    27 /**
    27 /**
    28    \file
    28    \file
    29    EtherCAT CANopen Sdo entry structure.
    29    EtherCAT CANopen SDO entry structure.
    30 */
    30 */
    31 
    31 
    32 /*****************************************************************************/
    32 /*****************************************************************************/
    33 
    33 
    34 #ifndef __EC_SDO_ENTRY_H__
    34 #ifndef __EC_SDO_ENTRY_H__
    44 struct ec_sdo;
    44 struct ec_sdo;
    45 typedef struct ec_sdo ec_sdo_t; /**< \see ec_sdo. */
    45 typedef struct ec_sdo ec_sdo_t; /**< \see ec_sdo. */
    46 
    46 
    47 /*****************************************************************************/
    47 /*****************************************************************************/
    48 
    48 
    49 /** CANopen Sdo entry.
    49 /** CANopen SDO entry.
    50  */
    50  */
    51 typedef struct {
    51 typedef struct {
    52     struct list_head list; /**< List item. */
    52     struct list_head list; /**< List item. */
    53     ec_sdo_t *sdo; /**< Parent Sdo. */
    53     ec_sdo_t *sdo; /**< Parent SDO. */
    54     uint8_t subindex; /**< Subindex. */
    54     uint8_t subindex; /**< Subindex. */
    55     uint16_t data_type; /**< Data type. */
    55     uint16_t data_type; /**< Data type. */
    56     uint16_t bit_length; /**< Data size in bit. */
    56     uint16_t bit_length; /**< Data size in bit. */
    57     char *description; /**< Description. */
    57     char *description; /**< Description. */
    58 } ec_sdo_entry_t;
    58 } ec_sdo_entry_t;