HOPS
HOPS class reference
Classes | Macros
type_120.h File Reference
#include "mk4_typedefs.h"

Go to the source code of this file.

Classes

struct  auto_global
 
struct  auto_per_lag
 
struct  counts_global
 
struct  counts_per_lag
 
union  flag_wgt
 
union  lag_data
 
struct  lag_tag
 
struct  spectral
 
struct  type_120
 

Macros

#define AUTO_GLOBAL   3
 
#define AUTO_PER_LAG   4
 
#define COUNTS_GLOBAL   2
 
#define COUNTS_PER_LAG   1
 
#define E_DLY_3_CARRY
 
#define E_MISSED_AP_MIDS   0x00000002 /* Failed to capture the mid-ap parms */
 
#define E_MISSED_CF_SERV   0x00000001 /* Missed a cf service */
 
#define E_REF_BADD   0x00001000 /* Ref cf number marked as 0xbadd */
 
#define E_REF_CFNUM   0x00000800 /* Ref cf number error */
 
#define E_REF_CHKSUM   0x00000400 /* Ref checksum error */
 
#define E_REF_CHN_ID   0x00000200 /* Ref chn id error */
 
#define E_REF_LINK   0x00004000 /* Ref link error (dav=0,err=1,rdy=0) */
 
#define E_REF_SU_ID   0x00000100 /* Ref su id error */
 
#define E_REF_SYNC   0x00008000 /* Ref link not synced */
 
#define E_REF_ZERO   0x00002000 /* Ref checksum = 0 */
 
#define E_REM_BADD   0x01000000 /* Rem cf number marked as 0xbadd */
 
#define E_REM_CFNUM   0x00800000 /* Rem cf number error */
 
#define E_REM_CHKSUM   0x00400000 /* Rem checksum error */
 
#define E_REM_CHN_ID   0x00200000 /* Rem chn id error */
 
#define E_REM_LINK   0x04000000 /* Rem link error (dav=0,err=1,rdy=0) */
 
#define E_REM_SU_ID   0x00100000 /* Rem su id error */
 
#define E_REM_SYNC   0x08000000 /* Rem link not synced */
 
#define E_REM_ZERO   0x02000000 /* Rem checkksum = 0 */
 
#define E_TAP_OVERRUN   0x00000004 /* Hw shifted dly tap beyond end */
 
#define SPECTRAL   5
 
#define T120_VERSION   0
 
#define type_120_v0   type_120
 

Class Documentation

◆ auto_global

struct auto_global
Class Members
int cosbits
int coscor[1]
char unused[4]

◆ auto_per_lag

struct auto_per_lag
Class Members
int cosbits
int coscor

◆ counts_global

struct counts_global
Class Members
int cosbits
struct lag_tag lags[1]
int sinbits

◆ counts_per_lag

struct counts_per_lag
Class Members
int cosbits
int coscor
int sinbits
int sincor

◆ flag_wgt

union flag_wgt
Class Members
int flag
float weight

◆ lag_data

union lag_data
Class Members
struct auto_global ag
struct auto_per_lag apl[1]
struct counts_global cg
struct counts_per_lag cpl[1]
struct spectral spec[1]

◆ lag_tag

struct lag_tag
Class Members
int coscor
int sincor

◆ spectral

struct spectral
Class Members
float im
float re

◆ type_120

struct type_120
Class Members
int ap
char baseline[2]
int delay_rate
int fr_delay
union flag_wgt fw
int index
union lag_data ld
short nlags
char record_id[3]
char rootcode[6]
int status
char type
char version_no[2]

Macro Definition Documentation

◆ AUTO_GLOBAL

#define AUTO_GLOBAL   3

◆ AUTO_PER_LAG

#define AUTO_PER_LAG   4

◆ COUNTS_GLOBAL

#define COUNTS_GLOBAL   2

◆ COUNTS_PER_LAG

#define COUNTS_PER_LAG   1

◆ E_DLY_3_CARRY

#define E_DLY_3_CARRY
Value:
0x00000008 /* Hw attempted a simultaneous carry out
* of all 3 dly regs (ref, rem, baseline)
*/

◆ E_MISSED_AP_MIDS

#define E_MISSED_AP_MIDS   0x00000002 /* Failed to capture the mid-ap parms */

◆ E_MISSED_CF_SERV

#define E_MISSED_CF_SERV   0x00000001 /* Missed a cf service */

◆ E_REF_BADD

#define E_REF_BADD   0x00001000 /* Ref cf number marked as 0xbadd */

◆ E_REF_CFNUM

#define E_REF_CFNUM   0x00000800 /* Ref cf number error */

◆ E_REF_CHKSUM

#define E_REF_CHKSUM   0x00000400 /* Ref checksum error */

◆ E_REF_CHN_ID

#define E_REF_CHN_ID   0x00000200 /* Ref chn id error */

◆ E_REF_LINK

#define E_REF_LINK   0x00004000 /* Ref link error (dav=0,err=1,rdy=0) */

◆ E_REF_SU_ID

#define E_REF_SU_ID   0x00000100 /* Ref su id error */

◆ E_REF_SYNC

#define E_REF_SYNC   0x00008000 /* Ref link not synced */

◆ E_REF_ZERO

#define E_REF_ZERO   0x00002000 /* Ref checksum = 0 */

◆ E_REM_BADD

#define E_REM_BADD   0x01000000 /* Rem cf number marked as 0xbadd */

◆ E_REM_CFNUM

#define E_REM_CFNUM   0x00800000 /* Rem cf number error */

◆ E_REM_CHKSUM

#define E_REM_CHKSUM   0x00400000 /* Rem checksum error */

◆ E_REM_CHN_ID

#define E_REM_CHN_ID   0x00200000 /* Rem chn id error */

◆ E_REM_LINK

#define E_REM_LINK   0x04000000 /* Rem link error (dav=0,err=1,rdy=0) */

◆ E_REM_SU_ID

#define E_REM_SU_ID   0x00100000 /* Rem su id error */

◆ E_REM_SYNC

#define E_REM_SYNC   0x08000000 /* Rem link not synced */

◆ E_REM_ZERO

#define E_REM_ZERO   0x02000000 /* Rem checkksum = 0 */

◆ E_TAP_OVERRUN

#define E_TAP_OVERRUN   0x00000004 /* Hw shifted dly tap beyond end */

◆ SPECTRAL

#define SPECTRAL   5

◆ T120_VERSION

#define T120_VERSION   0

◆ type_120_v0

#define type_120_v0   type_120