GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LSE / V2-1-0 > lsew / linux-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.6 2011/03/26 17:35:24 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.
References _LSE_timeServices::elapsedSet.
Referenced by LSEW_ctxUpdateAdd().
static __inline unsigned long long int LSE__timestampGet | ( | void | ) | [static] |
Returns.
References _LSE_timeServices::timestampGet.
Referenced by ccsds_complete().
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 |
References _LSE_timeServices::timetoneGet.
Referenced by ctx_update().
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 |
References _LSEW_ctxTim::flags, _LSEW_ctxTim::pps, _LSEW_ctxTim::secs, and _LSE_timeServices::timetonesGet.
Referenced by complete_etx().
The list of time services needed when filling in such information in the datagrams.