# HG changeset patch # User Florian Pose # Date 1326186658 -3600 # Node ID ecaff0d1d16509cc9999fe446289c08f62cd12f5 # Parent 76d092535367882d4b404706b6804cea3b212606 Added slave_info documentation. diff -r 76d092535367 -r ecaff0d1d165 include/ecrt.h --- a/include/ecrt.h Fri Apr 30 11:17:26 2010 +0200 +++ b/include/ecrt.h Tue Jan 10 10:10:58 2012 +0100 @@ -267,12 +267,14 @@ uint16_t alias; /**< The slaves alias if not equal to 0. */ int16_t current_on_ebus; /**< Used current in mA. */ struct { - ec_slave_port_desc_t desc; - ec_slave_port_link_t link; - uint32_t receive_time; - uint16_t next_slave; - uint32_t delay_to_next_dc; - } ports[EC_MAX_PORTS]; + ec_slave_port_desc_t desc; /**< Physical port type. */ + ec_slave_port_link_t link; /**< Port link state. */ + uint32_t receive_time; /**< Receive time on DC transmission delay + measurement. */ + uint16_t next_slave; /**< Ring position of next DC slave on that + port. */ + uint32_t delay_to_next_dc; /**< Delay [ns] to next DC slave. */ + } ports[EC_MAX_PORTS]; /**< Port information. */ uint8_t al_state; /**< Current state of the slave. */ uint8_t error_flag; /**< Error flag for that slave. */ uint8_t sync_count; /**< Number of sync managers. */