master/voe_handler.h
changeset 1218 6f3a973fc29e
parent 1209 8be462afb7f4
child 1264 e7882f246d7a
equal deleted inserted replaced
1217:e8a9785e63c3 1218:6f3a973fc29e
    52  */
    52  */
    53 struct ec_voe_handler {
    53 struct ec_voe_handler {
    54     struct list_head list; /**< List item. */
    54     struct list_head list; /**< List item. */
    55     ec_slave_config_t *config; /**< Parent slave configuration. */
    55     ec_slave_config_t *config; /**< Parent slave configuration. */
    56     ec_datagram_t datagram; /**< State machine datagram. */
    56     ec_datagram_t datagram; /**< State machine datagram. */
       
    57     uint32_t vendor_id; /**< Vendor ID for the header. */
       
    58     uint16_t vendor_type; /**< Vendor type for the header. */
    57     size_t data_size; /**< Size of Sdo data. */
    59     size_t data_size; /**< Size of Sdo data. */
    58     ec_direction_t dir; /**< Direction. EC_DIR_OUTPUT means writing to
    60     ec_direction_t dir; /**< Direction. EC_DIR_OUTPUT means writing to
    59                           the slave, EC_DIR_INPUT means reading from the
    61                           the slave, EC_DIR_INPUT means reading from the
    60                           slave. */
    62                           slave. */
    61     void (*state)(ec_voe_handler_t *); /**< State function */
    63     void (*state)(ec_voe_handler_t *); /**< State function */