GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package
CONFIGBITS valu - Telecommand Bitfield
|
"Definition of trace enable bits" (APP/LSW) View Options: (help) Ancestry:
Definition:
Description:
Layout: (hide detail; help)
CONFIGBITS (bf) | ENABLE_PAD pad (0-28) | ENABLE_EX9 exc_9 (29) | ENABLE_EX5 exc_5 (30) | ENABLE_FLUSH flush (31)
typedef struct _LSW_CONFIGBITS_Bfl {
#if ENDIANNESS_IS_BIG
/* Pad bitfield out to 32 bits */
unsigned int pad:29;
/* Enable exception 0x900 (decrementer) tracing */
unsigned int exc_9:1;
/* Enable exception 0x500 (external hardware interrupt) tracing */
unsigned int exc_5:1;
/* Enable cache flushing during task switches */
unsigned int flush:1;
#elif ENDIANNESS_IS_LITTLE
/* Enable cache flushing during task switches */
unsigned int flush:1;
/* Enable exception 0x500 (external hardware interrupt) tracing */
unsigned int exc_5:1;
/* Enable exception 0x900 (decrementer) tracing */
unsigned int exc_9:1;
/* Pad bitfield out to 32 bits */
unsigned int pad:29;
#else
#error _FILE_ ENDIANNESS NOT DEFINED
#endif
} __attribute__((packed)) LSW_CONFIGBITS_Bfl;
typedef union _LSW_CONFIGBITS {
/* underlying unsigned int */
unsigned int ui;
/* struct mapped bitfield */
struct _LSW_CONFIGBITS_Bfl bf;
} LSW_CONFIGBITS;
|