00001 00002 /* 00003 * Method for interfacing irig time sync 00004 * It uses a cyclic linked list. 00005 */ 00006 00007 #ifndef _CACE_IRIG_H_ 00008 #define _CACE_IRIR_H_ 00009 00010 #define _MAX_IRIG 300 //know about the <n> previous ts's (n*sec time) 00011 00012 struct __refts 00013 { unsigned long 00014 irig_ts_sec, 00015 irig_ts_nsec; //IRIG reference set 00016 00017 struct 00018 { unsigned long 00019 can_ts_sec, 00020 can_ts_nsec; 00021 }*canrefs[CAN_MAXCHANNELS]; //CAN reference sets 00022 }; 00023 00024 struct _reftsLink 00025 { struct _reftsLink *next, //nodes 00026 *prev; 00027 struct __refts data; 00028 int index; 00029 }; 00030 00031 00032 #endif
1.4.4