diff -r 003cc3c63855 -r f49e5a6b7804 doc/doxygen/html/sync_8c.html --- a/doc/doxygen/html/sync_8c.html Fri Jun 08 09:02:43 2007 +0200 +++ b/doc/doxygen/html/sync_8c.html Fri Jun 08 09:23:56 2007 +0200 @@ -1,6 +1,6 @@ -CanFestival: /home/epimerde/documents/tc11/CanFestival-3/src/sync.c File Reference +CanFestival: src/sync.c File Reference @@ -8,35 +8,58 @@
-

/home/epimerde/documents/tc11/CanFestival-3/src/sync.c File Reference

#include "data.h"
-#include "sync.h"
-#include "canfestival.h"
- -

-Include dependency graph for sync.c:

+ +

sync.c File Reference

#include "data.h"
+#include "sync.h"
+#include "canfestival.h"
+ +

+Include dependency graph for sync.c:

+ + + + + + + + + + + + + + + + + + +

Go to the source code of this file. - - - - - - - - - - - + + + + + + + + + + + @@ -56,6 +79,7 @@ + @@ -77,6 +101,7 @@ + @@ -98,13 +123,13 @@ - + - + @@ -136,7 +161,7 @@

Definition at line 69 of file sync.c.

-References startSYNC(). +References struct_s_timer_entry::d, and startSYNC().

Referenced by startSYNC().

@@ -150,7 +175,8 @@ - + + @@ -162,13 +188,13 @@

- + - + @@ -190,36 +216,22 @@
Returns:

-pointer to the var which is mapped to a pdo

-pointer fo the var which holds the mapping parameter of an mapping entry

-pointer to the transmissiontype...

-only operational state allows PDO transmission

-So, the node is in operational state

-study all PDO stored in the objects dictionary

-get the PDO transmission type

-check if transmission type is after (this) SYNC

-The message may not be transmited every SYNC but every n SYNC

-get PDO CobId

-get mapped objects number to transmit with this PDO

-get mapping parameters

-get data to transmit

-copy bit per bit in little endian

-loop to get all the data to transmit -

Definition at line 141 of file sync.c.

-References CopyBits(), getODentry(), and PDOmGR(). +References td_indextable::bSubCount, CopyBits(), struct_s_process_var::count, struct_CO_Data::count_sync, struct_s_timer_entry::d, struct_s_process_var::data, struct_CO_Data::firstIndex, getODentry(), struct_CO_Data::lastIndex, MSG_ERR, MSG_WAR, struct_CO_Data::nodeState, struct_CO_Data::objdict, OD_SUCCESSFUL, Operational, s_quick_index::PDO_TRS, s_quick_index::PDO_TRS_MAP, PDOmGR(), td_subindex::pObject, struct_CO_Data::post_sync, struct_CO_Data::post_TPDO, struct_CO_Data::process_var, td_indextable::pSubindex, state10, state11, state3, state4, state5, state7, state8, state9, TRANS_SYNC_MAX, TRANS_SYNC_MIN, UNS16, UNS32, and UNS8.

Referenced by canDispatch(), and sendSYNC().

Here is the call graph for this function:

- - - + + + - + + + @@ -231,7 +243,7 @@ - + @@ -261,19 +273,21 @@

Definition at line 118 of file sync.c.

-References proceedSYNC(). +References struct_CO_Data::canHandle, canSend(), Message::cob_id, struct_s_timer_entry::d, Message::len, MSG_WAR, NOT_A_REQUEST, proceedSYNC(), Message::rtr, UNS8, and SHORT_CAN::w.

Referenced by SyncAlarm().

Here is the call graph for this function:

- - - - - - - + + + + + + + + + @@ -285,7 +299,7 @@ - + @@ -304,26 +318,26 @@

Definition at line 80 of file sync.c.

-References OnCOB_ID_SyncUpdate(), RegisterSetODentryCallBack(), SetAlarm(), stopSYNC(), and SyncAlarm(). +References struct_CO_Data::COB_ID_Sync, struct_s_timer_entry::d, OnCOB_ID_SyncUpdate(), RegisterSetODentryCallBack(), SetAlarm(), stopSYNC(), struct_CO_Data::Sync_Cycle_Period, SyncAlarm(), struct_CO_Data::syncTimer, and US_TO_TIMEVAL.

Referenced by OnCOB_ID_SyncUpdate(), and switchCommunicationState().

Here is the call graph for this function:

- - - + + + - - + + - - - - - - + + + + + + @@ -335,7 +349,7 @@ - + @@ -354,7 +368,7 @@

Definition at line 105 of file sync.c.

-References DelAlarm(). +References struct_s_timer_entry::d, DelAlarm(), and struct_CO_Data::syncTimer.

Referenced by startSYNC(), and switchCommunicationState().

@@ -372,7 +386,7 @@

- + @@ -401,25 +415,26 @@

Definition at line 55 of file sync.c.

-References sendSYNC(). +References struct_CO_Data::COB_ID_Sync, struct_s_timer_entry::d, and sendSYNC().

Referenced by startSYNC().

Here is the call graph for this function:

- - - - - - - - - - - -

-


Generated on Tue Jun 5 18:32:11 2007 for CanFestival by  + + + + + + + + + + + + +

+


Generated on Fri Jun 8 08:52:16 2007 for CanFestival by  doxygen 1.5.1

Functions

void SyncAlarm (CO_Data *d, UNS32 id)
UNS32 OnCOB_ID_SyncUpdate (CO_Data *d, const indextable *unsused_indextable, UNS8 unsused_bSubindex)
void startSYNC (CO_Data *d)
void stopSYNC (CO_Data *d)
UNS8 sendSYNC (CO_Data *d, UNS32 cob_id)
UNS8 proceedSYNC (CO_Data *d, Message *m)
void SyncAlarm (CO_Data *d, UNS32 id)
UNS32 OnCOB_ID_SyncUpdate (CO_Data *d, const indextable *unsused_indextable, UNS8 unsused_bSubindex)
void startSYNC (CO_Data *d)
void stopSYNC (CO_Data *d)
UNS8 sendSYNC (CO_Data *d, UNS32 cob_id)
UNS8 proceedSYNC (CO_Data *d, Message *m)
void _post_sync ()
void _post_sync (void   ) 
void _post_TPDO (void   ) 
UNS32 OnCOB_ID_SyncUpdate (CO_Data * CO_Data d,
const indextable * const indextable unsused_indextable,
UNS8 proceedSYNC (CO_Data * CO_Data d,
Message * Message m 
UNS8 sendSYNC (CO_Data * CO_Data d,
void startSYNC (CO_Data * CO_Data d  ) 
void stopSYNC (CO_Data * CO_Data d  ) 
void SyncAlarm (CO_Data * CO_Data d,