master/reg_request.h
branchstable-1.5
changeset 2529 c7e1f2616a9d
parent 2522 ec403cf308eb
equal deleted inserted replaced
2528:8bb574da5da2 2529:c7e1f2616a9d
    52     ec_direction_t dir; /**< Direction. EC_DIR_OUTPUT means writing to the
    52     ec_direction_t dir; /**< Direction. EC_DIR_OUTPUT means writing to the
    53                           slave, EC_DIR_INPUT means reading from the slave. */
    53                           slave, EC_DIR_INPUT means reading from the slave. */
    54     uint16_t address; /**< Register address. */
    54     uint16_t address; /**< Register address. */
    55     size_t transfer_size; /**< Size of the data to transfer. */
    55     size_t transfer_size; /**< Size of the data to transfer. */
    56     ec_internal_request_state_t state; /**< Request state. */
    56     ec_internal_request_state_t state; /**< Request state. */
       
    57     uint16_t ring_position; /**< Ring position for emergency requests. */
    57 };
    58 };
    58 
    59 
    59 /*****************************************************************************/
    60 /*****************************************************************************/
    60 
    61 
    61 int ec_reg_request_init(ec_reg_request_t *, size_t);
    62 int ec_reg_request_init(ec_reg_request_t *, size_t);