From 1ea54532015070486bca9808e320815ad3dbcd14 Mon Sep 17 00:00:00 2001
From: Florian Pose <fp@igh-essen.com>
Date: Mon, 7 Apr 2008 10:26:13 +0000
Subject: [PATCH] Added a few docs.

---
 include/ecrt.h | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/include/ecrt.h b/include/ecrt.h
index 3f683dc4..8876a5e6 100644
--- a/include/ecrt.h
+++ b/include/ecrt.h
@@ -649,9 +649,12 @@ uint8_t *ecrt_domain_data(
         ec_domain_t *domain /**< Domain. */
         );
 
-/** Processes received datagrams.
+/** Determines the states of the domain's datagrams.
  *
- * \todo doc
+ * Evaluates the working counters of the received datagrams and outputs
+ * statistics, if necessary. This must be called after ecrt_master_receive()
+ * is expected to receive the domain datagrams in order to make
+ * ecrt_domain_state() return the result of the last process data exchange.
  */
 void ecrt_domain_process(
         ec_domain_t *domain /**< Domain. */
@@ -659,7 +662,8 @@ void ecrt_domain_process(
 
 /** (Re-)queues all domain datagrams in the master's datagram queue.
  *
- * \todo doc
+ * Call this function to mark the domain's datagrams for exchanging at the
+ * next call of ecrt_master_send().
  */
 void ecrt_domain_queue(
         ec_domain_t *domain /**< Domain. */
@@ -667,7 +671,7 @@ void ecrt_domain_queue(
 
 /** Reads the state of a domain.
  *
- * Stores the domain state in the giveb \a state structure.
+ * Stores the domain state in the given \a state structure.
  */
 void ecrt_domain_state(
         const ec_domain_t *domain, /**< Domain. */
-- 
GitLab