GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / V2-12-1 > eds / rhel6-64
#include <EDS/EBF_ebw.h>
#include <EDS/EBF_ctb.h>
Classes | |
struct | _EBF_dirCtbDsc |
A data structure describing a contributors data. More... | |
struct | _EBF_dirAuxDsc |
A data structure describing a TEMs auxillary blocks, i.e. the diagnostic and error blocks. More... | |
struct | _EBF_dirPktDsc |
Describes one packet from the sequence of packets that comprises the event. More... | |
struct | _EBF_dirCtbRestart |
Contributor restart context. More... | |
struct | _EBF_dirTruncated |
Collections information about truncated packets/events. This is used to reassemble the contributor. More... | |
struct | _EBF_dirExpected |
Captures, by value, the expected values of many of the fields in the contributor header words used when checking an event for integrity. More... | |
struct | _EBF_dirRedux |
Encapsulates information gleaned from the event's EDW and each contributor's EBWand ESW. More... | |
struct | _EBF_dir |
A data structure describing all contributors data within an event. More... | |
Defines | |
#define | EBF_DIR_K_PKTS_MAX 32 |
Sets the upper limit on the number of truncated packets allowed per complete event. | |
#define | EBF_DIR_TEMS_CAL(_ctids) ((_ctids) & 0xffff0000) |
Extracts the left justified bit mask giving the TEMs with CAL data. | |
#define | EBF_DIR_TEMS_TKR(_ctids) ((_ctids) << 16) |
Extracts the left justified bit mask giving the TEMs with TKR data. | |
Typedefs | |
typedef enum _EBF_DIR_STATUS_V | EBF_DIR_STATUS_V |
Typedef for enum _EBF_DIR_STATUS_V. | |
typedef enum _EBF_DIR_STATUS_M | EBF_DIR_STATUS_M |
Typedef for enum _EBF_DIR_STATUS_M. | |
typedef struct _EBF_dirCtbDsc | EBF_dirCtbDsc |
Typedef for struct _EBF_dirCtbDsc. | |
typedef struct _EBF_dirAuxDsc | EBF_dirAuxDsc |
Typedef for struct _EBF_dirAuxDsc. | |
typedef struct _EBF_dirPktDsc | EBF_dirPktDsc |
Typedef for EBF_dirPktDsc. | |
typedef struct _EBF_dirCtbRestart | EBF_dirCtbRestart |
Typedef for struct _EBF_dirCtbRestart. | |
typedef struct _EBF_dirTruncated | EBF_dirTruncated |
Typedef for struct _EBF_dirTruncated. | |
typedef struct _EBF_dirExpected | EBF_dirExpected |
Typedef for struct _EBF_dirExpected. | |
typedef struct _EBF_dirRedux | EBF_dirRedux |
Typedef for struct _EBF_dirRedux. | |
typedef struct _EBF_dir | EBF_dir |
typedef unsigned int(* | EBF_dirAuxDscFillRtn )(void *ctx, EBF_dirAuxDsc *aux, const EBF_dirCtbDsc *ctb) |
Callback routine to fill the EBF_dirAuxFill for the specified contribution. | |
Enumerations | |
enum | _EBF_DIR_STATUS_V { EBF_DIR_STATUS_SF_V_SUMMARY = 31, EBF_DIR_STATUS_SF_V_UNDERRUN = 30, EBF_DIR_STATUS_SF_V_OVERRUN = 29, EBF_DIR_STATUS_SF_V_CTB_BADLEN = 28, EBF_DIR_STATUS_SF_V_CTB_MISSING = 27, EBF_DIR_STATUS_SF_V_SIV = 26, EBF_DIR_STATUS_SF_V_ESW_MISMATCH = 25, EBF_DIR_STATUS_SF_V_EBW_MISMATCH = 24, EBF_DIR_STATUS_SE_V_PKTS_MAX = 19, EBF_DIR_STATUS_SE_V_SIV = 18, EBF_DIR_STATUS_SE_V_ESW_MISMATCH = 17, EBF_DIR_STATUS_SE_V_EBW_MISMATCH = 16, EBF_DIR_STATUS_SW_V_SIV = 10, EBF_DIR_STATUS_SW_V_ESW_MISMATCH = 9, EBF_DIR_STATUS_SW_V_EBW_MISMATCH = 8, EBF_DIR_STATUS_SI_V_SIV = 2, EBF_DIR_STATUS_SI_V_ESW_MISMATCH = 1, EBF_DIR_STATUS_SI_V_EBW_MISMATCH = 0 } |
Defines the error summary bits as right-justified shifts. More... | |
enum | _EBF_DIR_STATUS_M { EBF_DIR_STATUS_SF_M_SUMMARY = 1 << EBF_DIR_STATUS_SF_V_SUMMARY, EBF_DIR_STATUS_SF_M_UNDERRUN = 1 << EBF_DIR_STATUS_SF_V_UNDERRUN, EBF_DIR_STATUS_SF_M_OVERRUN = 1 << EBF_DIR_STATUS_SF_V_OVERRUN, EBF_DIR_STATUS_SF_M_CTB_BADLEN = 1 << EBF_DIR_STATUS_SF_V_CTB_BADLEN, EBF_DIR_STATUS_SF_M_CTB_MISSING = 1 << EBF_DIR_STATUS_SF_V_CTB_MISSING, EBF_DIR_STATUS_SF_M_SIV = 1 << EBF_DIR_STATUS_SF_V_SIV, EBF_DIR_STATUS_SF_M_ESW_MISMATCH = 1 << EBF_DIR_STATUS_SF_V_ESW_MISMATCH, EBF_DIR_STATUS_SF_M_EBW_MISMATCH = 1 << EBF_DIR_STATUS_SF_V_EBW_MISMATCH, EBF_DIR_STATUS_SF_M_ANY = 0xff << 24, EBF_DIR_STATUS_SE_M_PKTS_MAX = 1 << EBF_DIR_STATUS_SE_V_PKTS_MAX, EBF_DIR_STATUS_SE_M_SIV = 1 << EBF_DIR_STATUS_SE_V_SIV, EBF_DIR_STATUS_SE_M_ESW_MISMATCH = 1 << EBF_DIR_STATUS_SE_V_ESW_MISMATCH, EBF_DIR_STATUS_SE_M_EBW_MISMATCH = 1 << EBF_DIR_STATUS_SE_V_EBW_MISMATCH, EBF_DIR_STATUS_SE_M_ANY = 0xff << 16, EBF_DIR_STATUS_SW_M_SIV = 1 << EBF_DIR_STATUS_SW_V_SIV, EBF_DIR_STATUS_SW_M_ESW_MISMATCH = 1 << EBF_DIR_STATUS_SW_V_ESW_MISMATCH, EBF_DIR_STATUS_SW_M_EBW_MISMATCH = 1 << EBF_DIR_STATUS_SW_V_EBW_MISMATCH, EBF_DIR_STATUS_SW_M_ANY = 0xff << 8, EBF_DIR_STATUS_SI_M_SIV = 1 << EBF_DIR_STATUS_SI_V_SIV, EBF_DIR_STATUS_SI_M_ESW_MISMATCH = 1 << EBF_DIR_STATUS_SI_V_ESW_MISMATCH, EBF_DIR_STATUS_SI_M_EBW_MISMATCH = 1 << EBF_DIR_STATUS_SI_V_EBW_MISMATCH, EBF_DIR_STATUS_SI_M_ANY = 0xff } |
Defines the error summary bits as in-place masks. More... | |
Functions | |
int | EBF_dirCompose (EBF_dir *dir, unsigned int pktBytes, EBF_pkt *pkt, int siv) |
Composes the directory of the contributor descriptors. | |
int | EBF_dirInit (EBF_dir *dir) |
One-time intialization function for the specified EBF_dir structure. | |
void | EBF_dirReset (EBF_dir *dir) |
Resets the specified EBF_dir structure, thus preparing it for the next event. | |
int | EBF_dirSizeof (void) |
Returns the size, in bytes, of an EBF_dir structure. | |
int | EBF_dirReassemble (EBF_dir *dir, unsigned int cids) |
Reassembles (that is, makes contigious) the specified contributors. | |
int | EBF_dirCalTkrReassemble (EBF_dir *dir, unsigned int ctids) |
Reassembles (that is, makes contigious) the specified CAL and TKR contributors. | |
const EBF_err * | EBF_errLocate (const EBF_ctb *ctb, int *nerr) |
Find the beginning of error contributions consisting only of TKR FIFO overflow errors. | |
int | EBF_errTkrCheck (const EBF_err *err, int max, unsigned int mask) |
Checks the error contribution for only TKR FIFO errors and that once a FIFO FULL error is detected, the failing RCs never begin before RC 2 (that's because the FIFO is 128 and so can alway absorb the first two RCs) and continue, in order until the maximum RC of 8. | |
unsigned int | EBF_dirTkrErrEvaluate (EBF_dir *dir, unsigned int err_ids, int abort) |
Evaluates which error contributions selected from the set of err_ids are purely due to TKR FIFO overflows. | |
unsigned int | EBF_dirAuxFill (EBF_dir *dir, unsigned int cids, EBF_dirAuxDscFillRtn fill_rtn, void *fill_ctx) |
Fills the auxillary descriptor with the specified list of TEM TKR lengths and ERR lengths. | |
static __inline void | EBF__dirReset (EBF_dir *dir) |
Resets the specified EBF_dir structure, thus preparing it for the next event. | |
static __inline int | EBF__dirCtbLen (const EBF_dirCtbDsc *ctbDsc) |
Returns the length, in bytes, of contributor associated with the specified contributor descriptor. | |
static __inline EBF_cal * | EBF__dirCtbCalLocate (const EBF_dirCtbDsc *ctbDsc) |
Returns a pointer to the CAL contribution. | |
static __inline unsigned int | EBF__dirCtbCalSize (const EBF_dirCtbDsc *ctbDsc) |
Returns the size, in bytes, of the CAL contribution. | |
static __inline EBF_tkr * | EBF__dirCtbTkrLocate (const EBF_dirCtbDsc *ctbDsc) |
Returns a pointer to the TKR contribution. | |
static __inline void | EBF__dirAuxTkrLenSet (EBF_dir *dir, int temNum, int tkrLen) |
Convenience function to set the length of the TKR block in the auxillary descriptor. | |
static __inline void | EBF__dirAuxErrLenSet (EBF_dir *dir, int temNum, int errLen) |
Convenience function to set the length of the error block in the auxillary descriptor. | |
static __inline void | EBF__dirAuxDscSet (EBF_dir *dir, int temNum, int tkrLen, int auxLen) |
Convenience function to set the fields in the auxillary descriptor. |
CVS $Id: EBF_dir.h,v 1.12 2012/09/12 23:34:51 russell Exp $
#define EBF_DIR_K_PKTS_MAX 32 |
Sets the upper limit on the number of truncated packets allowed per complete event.
Referenced by add_pkt_dscs().
#define EBF_DIR_TEMS_CAL | ( | _ctids | ) | ((_ctids) & 0xffff0000) |
Extracts the left justified bit mask giving the TEMs with CAL data.
_ctids | The CAL/TKRs id mask |
Referenced by EBF_calEnergyDirSum(), EBF_dirCalTkrReassemble(), EDR_calMapUnpack(), and EDR_calUnpack().
#define EBF_DIR_TEMS_TKR | ( | _ctids | ) | ((_ctids) << 16) |
Extracts the left justified bit mask giving the TEMs with TKR data.
_ctids | The CAL/TKRs id mask |
Referenced by EBF_dirCalTkrReassemble().
Typedef for struct _EBF_dirAuxDsc.
unsigned int(* EBF_dirAuxDscFillRtn)(void *ctx, EBF_dirAuxDsc *dsc, const EBF_dirCtbDsc *ctb) |
Callback routine to fill the EBF_dirAuxFill for the specified contribution.
ctx | A context parameter | |
aux | The auxilliary descriptor to fill | |
ctb | The contributor descriptor |
Typedef for struct _EBF_dirCtbDsc.
Typedef for struct _EBF_dirCtbRestart.
Typedef for EBF_dirPktDsc.
Typedef for struct _EBF_dirRedux.
Typedef for struct _EBF_dirTruncated.
enum _EBF_DIR_STATUS_M |
Defines the error summary bits as in-place masks.
enum _EBF_DIR_STATUS_V |
Defines the error summary bits as right-justified shifts.
static __inline void EBF__dirAuxDscSet | ( | EBF_dir * | dir, | |
int | temNum, | |||
int | tkrLen, | |||
int | errLen | |||
) | [static] |
Convenience function to set the fields in the auxillary descriptor.
dir | The EBF directory structure | |
temNum | The target TEM | |
tkrLen | The length, in bytes, of the TKR block | |
errLen | The length, in bytes, of the error block |
References _EBF_dir::auxs, _EBF_dirAuxDsc::errLen, and _EBF_dirAuxDsc::tkrLen.
static __inline void EBF__dirAuxErrLenSet | ( | EBF_dir * | dir, | |
int | temNum, | |||
int | errLen | |||
) | [static] |
Convenience function to set the length of the error block in the auxillary descriptor.
dir | The EBF directory structure | |
temNum | The target TEM | |
errLen | The length, in bytes, of the error block |
References _EBF_dir::auxs, and _EBF_dirAuxDsc::errLen.
static __inline void EBF__dirAuxTkrLenSet | ( | EBF_dir * | dir, | |
int | temNum, | |||
int | tkrLen | |||
) | [static] |
Convenience function to set the length of the TKR block in the auxillary descriptor.
dir | The EBF directory structure | |
temNum | The target TEM | |
tkrLen | The length, in bytes, of the TKR block |
References _EBF_dir::auxs, and _EBF_dirAuxDsc::tkrLen.
static __inline EBF_cal * EBF__dirCtbCalLocate | ( | const EBF_dirCtbDsc * | ctbDsc | ) | [static] |
Returns a pointer to the CAL contribution.
ctbDsc | The TEM's contributor descriptor. |
References _EBF_dirCtbDsc::ctb, and _EBF_ctb::dat.
Referenced by EBF_calEnergyDirSum(), mapTower4(), unpackTower(), and unpackTower4().
static __inline unsigned int EBF__dirCtbCalSize | ( | const EBF_dirCtbDsc * | ctbDsc | ) | [static] |
Returns the size, in bytes, of the CAL contribution.
ctbDsc | The TEM's contributor descriptor. |
References _EBF_dirCtbDsc::tkroff.
static __inline int EBF__dirCtbLen | ( | const EBF_dirCtbDsc * | ctbDsc | ) | [static] |
Returns the length, in bytes, of contributor associated with the specified contributor descriptor.
ctbDsc | The contributor's descriptor. |
References _EBF_ebw::bf, _EBF_dirCtbDsc::ctb, EBF_EBW_LEN_TO_BYTES, _EBF_ctbHdr::ebw, and _EBF_ctb::hdr.
static __inline EBF_tkr * EBF__dirCtbTkrLocate | ( | const EBF_dirCtbDsc * | ctbDsc | ) | [static] |
Returns a pointer to the TKR contribution.
ctbDsc | The TEM's contributor descriptor. |
References _EBF_dirCtbDsc::ctb, and _EBF_dirCtbDsc::tkroff.
Referenced by EBF_dirAuxFill(), EBF_dirTkrErrEvaluate(), and EDR_errUnpack().
static __inline void EBF__dirReset | ( | EBF_dir * | dir | ) | [static] |
Resets the specified EBF_dir structure, thus preparing it for the next event.
dir | The directory structure |
References _EBF_dir::pkt.
Referenced by EBF_dirInit(), and EBF_dirReset().
unsigned int EBF_dirAuxFill | ( | EBF_dir * | dir, | |
unsigned int | cids, | |||
EBF_dirAuxDscFillRtn | fill_rtn, | |||
void * | fill_ctx | |||
) |
Fills the auxillary descriptor with the specified list of TEM TKR lengths and ERR lengths.
dir | The EBF directory | |
cids | The list of TKR and ERR lengths to fill. This is really two 16 bit lists, with the
| |
fill_rtn | An optional user provided fill routine. Since the calculation of these lengths is potentially computationally expensive, if the user has apriori knowledge of these values, this allows the user to avoid a recomputation. If this routine is not provided, the lengths will be computed using EBF_tkrLenCalc and EBF_errLenCalc. See EBF_dirAuxTemFillRtn for the exact calling sequence. | |
fill_ctx | An arbitrary context parameter provided to fill_rtn |
References _EBF_dir::auxs, _EBF_dir::ctbs, _EBF_dirRedux::dgn_ids, EBF__dirCtbTkrLocate(), EBF__errLocate(), EBF__errSize(), EBF_tkrLenCalc(), _EBF_dirAuxDsc::errLen, _EBF_dir::redux, _EBF_dirRedux::te_aux_ids, and _EBF_dirAuxDsc::tkrLen.
int EBF_dirCalTkrReassemble | ( | EBF_dir * | dir, | |
unsigned int | ctids | |||
) |
Reassembles (that is, makes contigious) the specified CAL and TKR contributors.
dir | The directory structure | |
ctids | Bit map of the CAL/TKR contributors to reassemble, (MSB = CAL contributor 0). |
References _EBF_dirTruncated::ctids, EBF_DIR_TEMS_CAL, EBF_DIR_TEMS_TKR, EBF_dirReassemble(), _EBF_dirTruncated::rctids, and _EBF_dir::truncated.
Composes the directory of the contributor descriptors.
dir | An array of directories to be filled in | |
pktBytes | The size of the packet, in bytes. This includes the 8-word packet header | |
pkt | The source event packet | |
siv | The state information vector. This is from EBF_sivUpdate and is used for dealing with truncated packets. |
References _EBF_CID_IS_TEM, _EBF_CID_MASK, add_pkt_dscs(), _EBF_esw::bf, _EBF_ebw::bf, check_tkr_nonempty(), _EBF_dirCtbDsc::cid, _EBF_dirRedux::cids, _EBF_dirCtbDsc::ctb, _EBF_dirRedux::ctberr_ids, _EBF_dir::ctbs, _EBF_dirTruncated::ctids, _EBF_dirRedux::ctids, _EBF_dirRedux::dgn_ids, _EBF_esw_bf::dgnblk, _EBF_dirExpected::dgns, EBF__ctbAdvance(), EBF__matchEbwCheck(), EBF__matchEswCheck(), EBF__sivIsLast(), EBF__sivIsNotFirst(), EBF_CALLOGCNT_MASK, EBF_DIR_STATUS_SF_M_CTB_BADLEN, EBF_DIR_STATUS_SF_M_SIV, EBF_DIR_STATUS_SF_M_SUMMARY, EBF_EBW_LEN_TO_BYTES, EBF_EBW_M_DSTU, EBF_EBW_V_DSTU, EBF_ESW_M_DGNBLK, EBF_ESW_M_ERRBLK, EBF_ESW_M_RANGE, EBF_SIV_M_ERR, EBF_SIV_M_STATE_MORE, _EBF_ctbHdr::ebw, _EBF_dirRedux::ebw_mismatch, _EBF_dirRedux::err_ids, _EBF_esw_bf::errblk, _EBF_ctbHdr::esw, _EBF_dirExpected::esw_dynamic, _EBF_dirRedux::esw_expected, _EBF_dirRedux::esw_mismatch, _EBF_dirExpected::esw_static, _EBF_dir::evt, _EBF_dirRedux::evt_len, _EBF_dir::expected, finalize_status(), _EBF_ctb::hdr, _EBF_pkt::hdr, init_dir_redux(), init_pkt_dscs(), _EBF_dirCtbRestart::latp_node, _EBF_dirCtbRestart::left, _EBF_dirCtbRestart::lpw_expected, _EBF_dirExpected::lpws, _EBF_dirRedux::ncids, _EBF_dirRedux::nosup_ids, _EBF_dir::pkt, process_tem_normal(), process_tem_truncated(), _EBF_esw_bf::range, _EBF_dir::redux, _EBF_dirTruncated::restart, _EBF_dirRedux::rng_ids, _EBF_dirRedux::siv_err, _EBF_dirCtbRestart::state, _EBF_dirRedux::status, _EBF_esw_bf::suppress, _EBF_dir::truncated, _EBF_ebw::ui, _EBF_esw::ui, update_pkt_dscs(), and update_status().
Referenced by EDS_fwHandlerProcess().
int EBF_dirInit | ( | EBF_dir * | dir | ) |
One-time intialization function for the specified EBF_dir structure.
dir | The directory structure |
References _EBF_matchDb::cids, _EBF_dirExpected::cids, _EBF_matchDb::dgn_ids, _EBF_dirExpected::dgns, EBF__dirReset(), EBF_MatchDb, _EBF_dirExpected::ebw, _EBF_matchDb::ebw_static, _EBF_matchDb::esw_dynamic, _EBF_dirExpected::esw_dynamic, _EBF_matchDb::esw_static, _EBF_dirExpected::esw_static, _EBF_dir::expected, _EBF_matchDb::lpw_expected, and _EBF_dirExpected::lpws.
Referenced by initIxbObjTbl().
int EBF_dirReassemble | ( | EBF_dir * | dir, | |
unsigned int | cids | |||
) |
Reassembles (that is, makes contigious) the specified contributors.
dir | The directory structure | |
cids | Bit map of the contributors to reassemble, (MSB = contributor 0). |
References _EBF_ebw::bf, _EBF_dirTruncated::cids, condense_pkt_dscs(), _EBF_dirCtbDsc::ctb, _EBF_dir::ctbs, EBF_EBW_LEN_TO_BYTES, _EBF_ctbHdr::ebw, _EBF_pkt::hdr, _EBF_ctb::hdr, _EBF_dirPktDsc::nbytes, _EBF_dirTruncated::npktDscs, _EBF_dirPktDsc::pkt, _EBF_dirTruncated::pktDscIdxs, _EBF_dirTruncated::pktDscs, _EBF_dirTruncated::rcids, _EBF_dirTruncated::rctids, _EBF_dir::redux, _EBF_dirRedux::status, _EBF_dir::truncated, and _EBF_ebw::ui.
Referenced by EBF_dirCalTkrReassemble().
void EBF_dirReset | ( | EBF_dir * | dir | ) |
Resets the specified EBF_dir structure, thus preparing it for the next event.
dir | The directory structure |
References EBF__dirReset().
Referenced by initIxbObjTbl().
int EBF_dirSizeof | ( | void | ) |
Returns the size, in bytes, of an EBF_dir structure.
unsigned int EBF_dirTkrErrEvaluate | ( | EBF_dir * | dir, | |
unsigned int | err_ids, | |||
int | abort | |||
) |
Evaluates which error contributions selected from the set of err_ids are purely due to TKR FIFO overflows.
[in,out] | dir | The EBF directory structure |
[in] | err_ids | The set of TEMs to evaluate. This is a left justified 16-bit mask. |
[in] | abort | If non-zero, abort the scanning of any remaining TEMs when a non-complying TEM is encountered. |
Note also that this routine may be called multiple times with different or even overlapping sets of err_ids. The results of TEMs that have been previously evaluated are saved, so that they are not reevaluated.
As a side effect the auxillary block is filled in with the length of the tracker contribution and the length of the error contribution.
References _EBF_dir::auxs, _EBF_dirCtbDsc::ctb, _EBF_dir::ctbs, _EBF_dirRedux::dgn_ids, EBF__dirCtbTkrLocate(), EBF__errLocate(), EBF__errSize(), EBF_errLocate(), EBF_errTkrCheck(), _EBF_dirRedux::err_ids, _EBF_dirAuxDsc::errLen, _EBF_dir::redux, _EBF_dirRedux::te_aux_ids, _EBF_dirAuxDsc::tkrLen, _EBF_dirCtbDsc::tkroff, and _EBF_dirRedux::tov_ids.
const EBF_err* EBF_errLocate | ( | const EBF_ctb * | ctb, | |
int * | nerr | |||
) |
Find the beginning of error contributions consisting only of TKR FIFO overflow errors.
!= | NULL, the beginning of an error contribution consisting only of TKR FIFO overflow errors. | |
== | NULL, this error contribution is not one consisting only of TKR FIFO overflow errors. |
[in] | ctb | The contribution for this TEM. |
[out] | nerr | The number of 16-bit words in the error contribution. This value is set if and only if the returned pointer to the error contribution is not NULL. |
Therefore this alternate method is used. Here the start of the error contribution is attempted to be found by starting at the end of the contribution and working backwards. This is not a good technique for other errors, but for TKR FIFO overflow only, this works.
Many consistency checks are performed as one goes performs this backwards scan to verify this is pristine TKR FIFO overflow only error contribution.
References count_bits(), and EBF__ctbSize().
Referenced by EBF_dirTkrErrEvaluate().
int EBF_errTkrCheck | ( | const EBF_err * | err, | |
int | max, | |||
unsigned int | mask | |||
) |
Checks the error contribution for only TKR FIFO errors and that once a FIFO FULL error is detected, the failing RCs never begin before RC 2 (that's because the FIFO is 128 and so can alway absorb the first two RCs) and continue, in order until the maximum RC of 8.
== | mask if only a TKR FIFO error | |
== | 0 if other errors |
[in] | err | The list of error words |
[in] | max | The number of error words |
[in] | mask | The bit mask for this tower |
References _EBF_errGTRC::bf, EBF_ERR_GTRC_M_FIFOFULL, EBF_ERR_GTRC_M_ID, EBF_ERR_TEM_SUMMARY_M_TKR, EBF_ERR_TEM_SUMMARY_V_TKR, _EBF_errGTRC_bf::id, and _EBF_errGTRC::us.
Referenced by EBF_dirTkrErrEvaluate().