SWDatabase
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
s3_ssector.h
Go to the documentation of this file.
1 /* $Id: s3_ssector.h,v 1.5 1998/12/07 18:12:39 ad Exp $ */
2 #include "hdfi.h"
3 
4 #define SSEC_N 20 /* number of matrix rates */
5 #define SSEC_S 8 /* number of sectors */
6 #define SSEC_CYC 6 /* number of cycles per SR = 60 / 10 */
7 
8  /* total size (in bytes) of SMON data (including slack) in a full SR */
9 #define SSEC_TSZ 1440
10 
11  /* size (in bytes) of SSEC cycle (including slack) */
12 #define SSEC_CSZ SSEC_TSZ/SSEC_CYC
13 
14 #define SSEC_ESZ SSEC_TSZ/60 /* size (in bytes) of SSEC area in EDB */
15 
16 /* Sectored rates are collected over 10 spins and output during the next */
17 /* 10 spins (or edb's). There are 6 sectored rate collection cycles per */
18 /* Science Record */
19 
20 /* sctime_readout: spacecraft clock of first minor frame of the */
21 /* first edb of the sectored rate output cycle */
22 
23 /* sctime_collection: time of the start of the first spin in the */
24 /* collection cycle, in spacecraft clock time units */
25 
26 /* ssector structure contains basic rates for 1 10-spin collection cycle */
27 
28 struct ssector{
29 
30  uint32 sctime_readout; /* 32 bit spacecraft time */
31  float64 sctime_collection; /* spacecraft time, sub-second resolution */
32  uint32 QAC; /* Number of missing frames in this 10-spin cycle */
33 
34  uint16 SECTOR[SSEC_N][SSEC_S]; /* 20 Sectored rates, 8 sectors */
35 };
uint16 SECTOR[SSEC_N][SSEC_S]
Definition: s3_ssector.h:34
#define SSEC_S
Definition: s3_ssector.h:5
Definition: s3_ssector.h:28
#define SSEC_N
Definition: s3_ssector.h:4
uint32 sctime_readout
Definition: s3_ssector.h:30
uint32 QAC
Definition: s3_ssector.h:32
float64 sctime_collection
Definition: s3_ssector.h:31