GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LSE / V2-0-4 > lseprint / rad750
#include "LSF/LSF_ids.h"
Defines | |
#define | LSE_ID(_base_id) (LSF_ID_K_LSE | (_base_id)) |
Creates a LSE id. | |
#define | LSE_ID_CHECK(_field, _value) |
#define | LSE_ID_CHECK_CNT(_field, _value) |
Typedefs | |
typedef enum _LSE_ID_K | LSE_ID_K |
Typedef of enum _LSE_ID_K. | |
typedef enum _LSE_ID_EVT_VERSION_K | LSE_ID_EVT_VERSION_K |
Typedef for enum _LSE_ID_EVT_VERSION_K. | |
Enumerations | |
enum | _LSE_ID_K { LSE_ID_K_ETX_FULL = LSE_ID(0x0), LSE_ID_K_ETX_ABBREVIATED = LSE_ID(0x1), LSE_ID_K_TIM_FULL = LSE_ID(0x2), LSE_ID_K_TIM_ABBREVIATED = LSE_ID(0x3), LSE_ID_K_EVT = LSE_ID(0x4), LSE_ID_K_ACTIVE = LSE_ID(0x4), LSE_ID_K_ACTIVE_CNT = 0x5, LSE_ID_K_RSVD_6 = LSE_ID(0x6), LSE_ID_K_RSVD_7 = LSE_ID(0x7), LSE_ID_K_RSVD_8 = LSE_ID(0x8), LSE_ID_K_RSVD_9 = LSE_ID(0x9), LSE_ID_K_RSVD_A = LSE_ID(0xA), LSE_ID_K_RSVD_B = LSE_ID(0xB), LSE_ID_K_RSVD_C = LSE_ID(0xC), LSE_ID_K_RSVD_D = LSE_ID(0xD), LSE_ID_K_RSVD_E = LSE_ID(0xE), LSE_ID_K_RSVD_F = LSE_ID(0xF), LSE_ID_K_CNT = 0x10, LSE_ID_K_BASE = LSE_ID(0) } |
Enumerates the offsets for the standard event contributioins. More... | |
enum | _LSE_ID_EVT_VERSION_K { LSE_ID_EVT_VERSION_K_0 = 0, LSE_ID_EVT_VERSION_K_1 = 1, LSE_ID_EVT_VERSION_K_2 = 2 } |
Enumerates the event contribution version numbers. More... |
CVS $Id: LSE_ids.h,v 1.4 2010/07/26 23:48:36 russell Exp $
#define LSE_ID | ( | _base_id | ) | (LSF_ID_K_LSE | (_base_id)) |
Creates a LSE id.
_base_id | The base id |
#define LSE_ID_CHECK | ( | _field, | |||
_value | ) |
Value:
struct _LSE_ID_CHECK ## _field \ { char x[1/((LSE_ID_K_ ## _field - LSF_ID_K_LSE) == _value)];}
_field | The name of the field value to check, e.g.ETX_FULL, TIM_ABBREVIATED | |
_value | The value the user believes it is |
LSE_ID_CHECK (TIM_FULL, 2)
#define LSE_ID_CHECK_CNT | ( | _field, | |||
_value | ) |
Value:
struct _LSE_ID_CHECK ## _field \ { char x[1/(LSE_ID_K_ ## _field == _value)];}
_field | The name of the field value to check, e.g ACTIVE_CNT, | |
_value | The value the user believes it is |
LSE_ID_CHECK_CNT(ACTIVE_CNT, 5)
Typedef for enum _LSE_ID_EVT_VERSION_K.
There is not much coding value in this enumeration. Its main function is to act as a place to document the event contribution versions.
Enumerates the event contribution version numbers.
enum _LSE_ID_K |
Enumerates the offsets for the standard event contributioins.