# HG changeset patch # User Florian Pose # Date 1168426729 0 # Node ID 3eea086385225a16852b258f3623801d011aa7d5 # Parent 56522899acd15fc8926378e9a776d2380a683ca2 Added some documentation. diff -r 56522899acd1 -r 3eea08638522 master/datagram.h --- a/master/datagram.h Wed Jan 10 10:51:43 2007 +0000 +++ b/master/datagram.h Wed Jan 10 10:58:49 2007 +0000 @@ -89,12 +89,15 @@ typedef union { + /** + * Physical address. + */ struct { uint16_t slave; /**< configured or autoincrement address */ uint16_t mem; /**< physical memory address */ } - physical; /**< physical address */ + physical; uint32_t logical; /**< logical address */ } diff -r 56522899acd1 -r 3eea08638522 master/master.c --- a/master/master.c Wed Jan 10 10:51:43 2007 +0000 +++ b/master/master.c Wed Jan 10 10:58:49 2007 +0000 @@ -374,6 +374,7 @@ /*****************************************************************************/ /** + * Transition function from ORPHANED to IDLE mode. */ int ec_master_enter_idle_mode(ec_master_t *master /**< EtherCAT master */) @@ -394,6 +395,7 @@ /*****************************************************************************/ /** + * Transition function from IDLE to ORPHANED mode. */ void ec_master_leave_idle_mode(ec_master_t *master /**< EtherCAT master */) @@ -408,6 +410,7 @@ /*****************************************************************************/ /** + * Transition function from IDLE to OPERATION mode. */ int ec_master_enter_operation_mode(ec_master_t *master /**< EtherCAT master */) @@ -467,6 +470,7 @@ /*****************************************************************************/ /** + * Transition function from OPERATION to IDLE mode. */ void ec_master_leave_operation_mode(ec_master_t *master