GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package
PDUACDPWR acdpwr - Telemetry Bitfield
|
"PDU ADC Power Management Register" (APP/LHK) View Options: (help) Ancestry:
Definition:
Description: Layout: (hide detail; help)
PDUACDPWR (bf) | Padus3 spare0 (0-2) | status temread (3) | Padus3 spare1 (4-6) | status epuread (7) | Padus3 spare2 (8-10) | switch acdread (11) | Padus2 spare3 (12-13) | select supply (14) | switch acd (15)
typedef struct _LHK_PDUACDPWR_Bfl {
#if ENDIANNESS_IS_BIG
/* Explicit 3 bit pad in unsigned short */
unsigned short spare0:3;
/* Readout status (ADC or switch) */
unsigned short temread:1;
/* Explicit 3 bit pad in unsigned short */
unsigned short spare1:3;
/* Readout status (ADC or switch) */
unsigned short epuread:1;
/* Explicit 3 bit pad in unsigned short */
unsigned short spare2:3;
/* A switch (usually a power switch) */
unsigned short acdread:1;
/* Explicit 2 bit pad in unsigned short */
unsigned short spare3:2;
/* Primary/redundant selector */
unsigned short supply:1;
/* A switch (usually a power switch) */
unsigned short acd:1;
#elif ENDIANNESS_IS_LITTLE
/* A switch (usually a power switch) */
unsigned short acd:1;
/* Primary/redundant selector */
unsigned short supply:1;
/* Explicit 2 bit pad in unsigned short */
unsigned short spare3:2;
/* A switch (usually a power switch) */
unsigned short acdread:1;
/* Explicit 3 bit pad in unsigned short */
unsigned short spare2:3;
/* Readout status (ADC or switch) */
unsigned short epuread:1;
/* Explicit 3 bit pad in unsigned short */
unsigned short spare1:3;
/* Readout status (ADC or switch) */
unsigned short temread:1;
/* Explicit 3 bit pad in unsigned short */
unsigned short spare0:3;
#else
#error _FILE_ ENDIANNESS NOT DEFINED
#endif
} __attribute__((packed)) LHK_PDUACDPWR_Bfl;
typedef union _LHK_PDUACDPWR {
/* underlying unsigned short */
unsigned short us;
/* struct mapped bitfield */
struct _LHK_PDUACDPWR_Bfl bf;
} LHK_PDUACDPWR;
Fields:
Explicit 2 bit pad in unsigned short
Explicit 3 bit pad in unsigned short
Primary/redundant selector
Readout status. If set, read out failed for the designated ADC/switch.
A switch (usually a power switch)
A switch (usually a power switch) |