GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / V2-12-1 > eds / rhel6-64
#include <EDS/EBF_esw.h>
#include <EDS/EBF_ebw.h>
Defines | |
#define | EBF_MATCH_M_EBW_EXPECTED(_latp_node) EBF_MATCH_M_EBW_STATIC_EXPECTED | (_latp_node << EBF_EBW_V_DST) |
Defines the values for the expected values of the static fields of the EBW plus the LAT node number field. | |
#define | EBF_MATCH_SET_K_LATP_NODE_ASIS (-1) |
Sentinel value to EBF_matchSet indicating to leave the LATp node number as is. | |
#define | EBF_MATCH_SET_K_DGN_IDS_ASIS (-1) |
Sentinel value to EBF_matchSet indicating to leave the diagnostic bit mask as is. | |
#define | EBF_MATCH_SET_K_CIDS_ASIS ( 0) |
Sentinal value to EBF_matchSet indicating to leave the contributor bit mask as is. | |
#define | EBF_MATCH_SET_K_ORDER_ASIS ((const signed char *)0) |
Sentinel value to EBF_matchSet indicating to leave the diagnostic bit mask as is. | |
Typedefs | |
typedef enum _EBF_MATCH_M | EBF_MATCH_M |
Typedef for enum _EBF_MATCH_M. | |
Enumerations | |
enum | _EBF_MATCH_M { EBF_MATCH_M_EBW_STATIC, EBF_MATCH_M_EBW_EXTERNAL, EBF_MATCH_M_EBW_INTERNAL = ( EBF_EBW_M_PARITY), EBF_MATCH_M_EBW_ALL, EBF_MATCH_M_EBW_STATIC_EXPECTED, EBF_MATCH_M_EBW_ERRORS = ( EBF_MATCH_M_EBW_ALL ), EBF_MATCH_M_EBW_EXCEPTIONS = ( 0 ), EBF_MATCH_M_ESW_STATIC, EBF_MATCH_M_ESW_EXTERNAL = 0, EBF_MATCH_M_ESW_INTERNAL, EBF_MATCH_M_ESW_ALL, EBF_MATCH_M_ESW_STATIC_EXPECTED, EBF_MATCH_M_ESW_ERRORS = ( EBF_MATCH_M_ESW_ALL & ~EBF_ESW_M_ERRBLK), EBF_MATCH_M_ESW_EXCEPTIONS = ( EBF_ESW_M_ERRBLK) } |
Bit masks that detail the nature of matching criteria of the fields within the ESW. More... | |
Functions | |
int | EBF_matchSet (unsigned int latp_node, unsigned int dgn_ids, unsigned int cids, const signed char order[32]) |
Sets the values of the expected readout parameters. |
CVS $Id: EBF_match.h,v 1.5 2011/03/25 22:16:54 russell Exp $
Typedef for enum _EBF_MATCH_M.
enum _EBF_MATCH_M |
Bit masks that detail the nature of matching criteria of the fields within the ESW.
int EBF_matchSet | ( | unsigned int | latp_node, | |
unsigned int | dgn_ids, | |||
unsigned int | cids, | |||
const signed char | order[32] | |||
) |
Sets the values of the expected readout parameters.
-1 | latp_node address is invalid | |
-2 | The list of contributors (cids) either stored away or the one being added, contains references to cids that are not mentioned in the order array. |
latp_node | This must be a number between 0x20 and 0x3f, although in the anticipated values are more likely to be limited to 0x20, 0x21, 0x22, 0x23, 0x24, 0x25. The check on the LATp destination field is
| |
dgn_ids | A bit mask representing the set of contributors with the diagnostic bit set. The order is MSb is contributor 0. If specified as EBF_MATCH_SET_K_DGN_IDS_ASIS, the current value will not be modified. | |
cids | Bit mask representing the set of contributors. It is considered an error if this decoded set does not exactly match this set. If specified as EBF_MATCH_SET_K_CIDS_ASIS, the current value will not be modified. | |
order | An array of 32 giving the readout order. Contributors not present in the set as specified by cids will be ignored. Specifying it in this way allows one to have a standard ordering array that can be pared down if the set of contributors is not the complete set. If specified as EBF_MATCH_ORDER_ASIS, the current value will not be modified. |
References _EBF_matchDb::cids, _EBF_matchDb::dgn_ids, EBF_MATCH_M_EBW_EXPECTED, EBF_MATCH_SET_K_CIDS_ASIS, EBF_MATCH_SET_K_DGN_IDS_ASIS, EBF_MATCH_SET_K_LATP_NODE_ASIS, EBF_MATCH_SET_K_ORDER_ASIS, _EBF_matchDb::ebw_static, _EBF_matchDb::lpw_expected, and _EBF_matchDb::order.