GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EFC / dev > efc / rhel5-64
#include <PBI/Endianness.h>
#include <EFC/EFC_time.h>
Classes | |
struct | _EFC_time_f |
union | _EFC_time |
Union of a 64 bit integer with the seconds/useconds representation structure. More... | |
Typedefs | |
typedef struct _EFC_time_f | EFC_time_f |
Typedef for struct EFC_time_f. | |
typedef union _EFC_time | EFC_time |
Functions | |
static __inline void | EFC__timeElapsedSet (unsigned int elapsed_reg, unsigned int pps_reg) |
Sets the number of ticks that have elapsed since the last 1 PPS strobe. | |
static __inline unsigned long long int | EFC__timestampGet (void) |
Returns. | |
static __inline unsigned int | EFC__timetoneGet (unsigned int pps, unsigned int *secs, unsigned int *flags) |
Jacketing/emulation routine for THS_timetoneFromEvent. | |
static __inline unsigned int | EFC__timetonesGet (unsigned int cur_pps, unsigned int *cur_secs, unsigned int *cur_flags, unsigned int *prv_secs, unsigned int *prv_flags, unsigned int *prv_pps) |
Jacketing/emulation routine for THS_prevTimtoneFromEvent. | |
Variables | |
EFC_timeServices | EfcTimeServices |
The list of time services needed when filling in such information in the datagrams. |
CVS $Id: EFC_time.ih,v 1.6 2011/03/27 04:55:30 russell Exp $
static __inline void EFC__timeElapsedSet | ( | unsigned int | elapsed_reg, | |
unsigned int | pps_reg | |||
) | [static] |
Sets the number of ticks that have elapsed since the last 1 PPS strobe.
elapsed_reg | The GEM's elapsed time register | |
pps_reg | The GEM's PPS register |
References _EFC_timeServices::elapsedSet.
Referenced by EFA__preprocess().
static __inline unsigned long long int EFC__timestampGet | ( | void | ) | [static] |
Returns.
References _EFC_timeServices::timestampGet.
Referenced by EFS_post().
static __inline void EFC__timetoneGet | ( | unsigned int | pps, | |
unsigned int * | secs, | |||
unsigned int * | flags | |||
) | [static] |
Jacketing/emulation routine for THS_timetoneFromEvent.
pps | The PPS time strobe from the GEM | |
secs | Returned as the GPS time in secs | |
flags | Returned as the Spectrum-Astro Flags and the FSW flags |
References _EFC_timeServices::timetoneGet.
static __inline void EFC__timetonesGet | ( | unsigned int | cur_pps, | |
unsigned int * | cur_secs, | |||
unsigned int * | cur_flags, | |||
unsigned int * | prv_secs, | |||
unsigned int * | prv_flags, | |||
unsigned int * | prv_pps | |||
) | [static] |
Jacketing/emulation routine for THS_prevTimtoneFromEvent.
cur_pps | The PPS time strobe from the GEM for the current event | |
cur_secs | Filled in with the secs for the current event | |
cur_flags | Filled in with the flags for the current event | |
prv_secs | Filled in with the secs for the previous event | |
prv_flags | Filled in with the flags for the previous event | |
prv_pps | Filled in with the PPS for the previous event |
References _EFC_timeServices::timetonesGet.
Referenced by EFA_hdrCompose().
The list of time services needed when filling in such information in the datagrams.