GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package
NODEPAD - Telecommand Bitfield
|
"Compound of node ID and padding" (APP/LCM) View Options: (help) Definition:
Description:
Layout: (hide detail; help)
NODEPAD (bf) | NODE nid (0-3) | PAD12 pad12 (4-15)
typedef struct _LCM_NODEPAD_Bfl {
#if ENDIANNESS_IS_BIG
/* Computer to send the command to */
unsigned short nid:4;
/* A twelve-bit padding field */
unsigned short pad12:12;
#elif ENDIANNESS_IS_LITTLE
/* A twelve-bit padding field */
unsigned short pad12:12;
/* Computer to send the command to */
unsigned short nid:4;
#else
#error _FILE_ ENDIANNESS NOT DEFINED
#endif
} __attribute__((packed)) LCM_NODEPAD_Bfl;
typedef union _LCM_NODEPAD {
/* underlying unsigned short */
unsigned short us;
/* struct mapped bitfield */
struct _LCM_NODEPAD_Bfl bf;
} LCM_NODEPAD;
Used by:
|