# HG changeset patch # User Florian Pose # Date 1271251498 -7200 # Node ID dd7879e2e72b1192777bb14e5648116703ae7490 # Parent b64e3791075d9272166fe395855b4197bc53bf19 Added api doc. diff -r b64e3791075d -r dd7879e2e72b include/ecrt.h --- a/include/ecrt.h Wed Apr 07 13:50:47 2010 +0200 +++ b/include/ecrt.h Wed Apr 14 15:24:58 2010 +0200 @@ -1128,7 +1128,12 @@ /** Outputs the state of the slave configuration. * - * Stores the state information in the given \a state structure. + * Stores the state information in the given \a state structure. The state + * information is updated by the master state machine, so it may take a few + * cycles, until it changes. + * + * \attention If the state of process data exchange shall be monitored in + * realtime, ecrt_domain_state() should be used. */ void ecrt_slave_config_state( const ec_slave_config_t *sc, /**< Slave configuration */ @@ -1244,6 +1249,8 @@ /** Reads the state of a domain. * * Stores the domain state in the given \a state structure. + * + * Using this method, the process data exchange can be monitored in realtime. */ void ecrt_domain_state( const ec_domain_t *domain, /**< Domain. */