GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package
CADDR32 addr - Telecommand Bitfield
|
"32-Bit Address/Offset Bitfield" (SVC/MEM) View Options: (help) Ancestry:
Definition:
Description:
Layout: (hide detail; help)
CADDR32 (bf) | CADDRHI hi (0-15) | CADDRLO lo (16-31)
typedef struct _MEM_CADDR32_Bfl {
#if ENDIANNESS_IS_BIG
/* Upper 16 Bits of Address/Offset */
unsigned int hi:16;
/* Lower 16 Bits of Address/Offset */
unsigned int lo:16;
#elif ENDIANNESS_IS_LITTLE
/* Lower 16 Bits of Address/Offset */
unsigned int lo:16;
/* Upper 16 Bits of Address/Offset */
unsigned int hi:16;
#else
#error _FILE_ ENDIANNESS NOT DEFINED
#endif
} __attribute__((packed)) MEM_CADDR32_Bfl;
typedef union _MEM_CADDR32 {
/* underlying unsigned int */
unsigned int ui;
/* struct mapped bitfield */
struct _MEM_CADDR32_Bfl bf;
} MEM_CADDR32;
|