diff -r 003cc3c63855 -r f49e5a6b7804 doc/doxygen/html/sync_8h.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/doxygen/html/sync_8h.html Fri Jun 08 09:23:56 2007 +0200 @@ -0,0 +1,346 @@ + + +CanFestival: include/sync.h File Reference + + + + +
+
+
+
+ +

sync.h File Reference

+

+This graph shows which files directly or indirectly include this file:

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

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + +

Typedefs

typedef void(*) post_sync_t (void)
typedef void(*) post_TPDO_t (void)

Functions

void startSYNC (CO_Data *d)
void stopSYNC (CO_Data *d)
void _post_sync (void)
void _post_TPDO (void)
UNS8 sendSYNC (CO_Data *d, UNS32 cob_id)
UNS8 proceedSYNC (CO_Data *d, Message *m)
+


Typedef Documentation

+ +
+
+ + + + +
typedef void(*) post_sync_t(void)
+
+
+ +

+ +

+Definition at line 30 of file sync.h. +

+

+ +

+
+ + + + +
typedef void(*) post_TPDO_t(void)
+
+
+ +

+ +

+Definition at line 33 of file sync.h. +

+

+


Function Documentation

+ +
+
+ + + + + + + + + +
void _post_sync (void   ) 
+
+
+ +

+ +

+Definition at line 293 of file sync.c. +

+

+ +

+
+ + + + + + + + + +
void _post_TPDO (void   ) 
+
+
+ +

+ +

+Definition at line 294 of file sync.c. +

+

+ +

+
+ + + + + + + + + + + + + + + + + + +
UNS8 proceedSYNC (CO_Data d,
Message m 
)
+
+
+ +

+

Parameters:
+ + + +
d 
m 
+
+
Returns:
+ +

+Definition at line 141 of file sync.c. +

+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:

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

+ +

+
+ + + + + + + + + + + + + + + + + + +
UNS8 sendSYNC (CO_Data d,
UNS32  cob_id 
)
+
+
+ +

+

Parameters:
+ + + +
d 
cob_id 
+
+
Returns:
+ +

+Definition at line 118 of file sync.c. +

+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:

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

+ +

+
+ + + + + + + + + +
void startSYNC (CO_Data d  ) 
+
+
+ +

+

Parameters:
+ + +
d 
+
+ +

+Definition at line 80 of file sync.c. +

+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:

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

+ +

+
+ + + + + + + + + +
void stopSYNC (CO_Data d  ) 
+
+
+ +

+

Parameters:
+ + +
d 
+
+ +

+Definition at line 105 of file sync.c. +

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

+Referenced by startSYNC(), and switchCommunicationState(). +

+Here is the call graph for this function:

+ + + + +
+

+


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