GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LSE / V2-0-1 > lsew / sun-gcc
#include "LSEW_ctx.h"
#include "PBI/Endianness.h"
#include "LSE/LSE_time.h"
Classes | |
struct | _LSE_time_f |
union | _LSE_time |
Union of a 64 bit integer with the seconds/useconds representation structure. More... | |
Typedefs | |
typedef struct _LSE_time_f | LSE_time_f |
Typedef for struct LSE_time_f. | |
typedef union _LSE_time | LSE_time |
Functions | |
void | LSE_timetonesGet (unsigned int cur_pps, LSEW_ctxTim *cur, LSEW_ctxTim *prv) |
static __inline void | LSE__elapsedSet (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 | LSE__timestampGet (void) |
Returns. | |
static __inline unsigned int | LSE__timetoneGet (unsigned int pps, unsigned int *secs, unsigned int *flags) |
Jacketing/emulation routine for THS_timetoneFromEvent. | |
static __inline unsigned int | LSE__timetonesGet (unsigned int cur_pps, LSEW_ctxTim *cur, LSEW_ctxTim *prv) |
Jacketing/emulation routine for THS_prevTimtoneFromEvent. | |
Variables | |
LSE_timeServices | LseTimeServices |
The list of time services needed when filling in such information in the datagrams. |
CVS $Id: LSE_time.ih,v 1.5 2006/11/19 15:47:30 russell Exp $
static __inline void LSE__elapsedSet | ( | unsigned int | elapsed_reg, | |
unsigned int | pps_reg | |||
) | [static] |
Sets the number of ticks that have elapsed since the last 1 PPS strobe.
static __inline unsigned long long int LSE__timestampGet | ( | void | ) | [static] |
Returns.
static __inline void LSE__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 |
static__inline void LSE__timetonesGet | ( | unsigned int | cur_pps, | |
LSEW_ctxTim * | cur, | |||
LSEW_ctxTim * | prv | |||
) | [static] |
Jacketing/emulation routine for THS_prevTimtoneFromEvent.
cur_pps | The PPS time strobe from the GEM for the current event | |
cur | Filled in with the secs and flags for the current event | |
prv | Filled in with the secs and flags for the message previous to the current |
The list of time services needed when filling in such information in the datagrams.