GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package

ConfigSIB sib - Telemetry Bitfield


"Power configuration bits from the SIB" (APP/LHK)

View Options: (help)

Ancestry:

Definition:

    Alignment:2-byte boundary
    APID:691/0x2B3
    Attribute(s):
    C type:char
    Length: 8 bits (1 byte)
    Offset:0x010

Description:

    Power configuration bits from the SIB

Layout: (hide detail; help)

    ConfigSIB (bf)
    |  Paduc3 spare (0-2)
    |  select mainfeed (3)
    |  switch PDUprimary (4) ... GASUredundant (7)
    

    typedef struct _LHK_ConfigSIB_Bfl {
    
        #if ENDIANNESS_IS_BIG
    
        /* Explicit 3 bit pad in unsigned char */
        char                 spare:3;
    
        /* Primary/redundant selector */
        char                 mainfeed:1;
    
        /* A switch (usually a power switch) */
        char                 PDUprimary:1;
    
        /* A switch (usually a power switch) */
        char                 PDUredundant:1;
    
        /* A switch (usually a power switch) */
        char                 GASUprimary:1;
    
        /* A switch (usually a power switch) */
        char                 GASUredundant:1;
    
        #elif ENDIANNESS_IS_LITTLE
    
        /* A switch (usually a power switch) */
        char                 GASUredundant:1;
    
        /* A switch (usually a power switch) */
        char                 GASUprimary:1;
    
        /* A switch (usually a power switch) */
        char                 PDUredundant:1;
    
        /* A switch (usually a power switch) */
        char                 PDUprimary:1;
    
        /* Primary/redundant selector */
        char                 mainfeed:1;
    
        /* Explicit 3 bit pad in unsigned char */
        char                 spare:3;
    
        #else
    
        #error _FILE_ ENDIANNESS NOT DEFINED
    
        #endif
    
    } __attribute__((packed)) LHK_ConfigSIB_Bfl;
    
    typedef union _LHK_ConfigSIB {
    
        /* underlying char */
        char                            ui;
    
        /* struct mapped bitfield */
        struct _LHK_ConfigSIB_Bfl       bf;
    
    } LHK_ConfigSIB;
    

Fields:

      Attribute(s):  

      Brief:  "Explicit 3 bit pad in unsigned char"

      Instance(s):  spare

      Explicit 3 bit pad in unsigned char

      Brief:  "Primary/redundant selector"

      Instance(s):  mainfeed

      Primary/redundant selector

      Brief:  "A switch (usually a power switch)"

      Instance(s):  GASUprimary, GASUredundant, PDUprimary, PDUredundant

      A switch (usually a power switch)