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

SIBconfig - Telemetry Bitfield


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

View Options: (help)

Definition:

    Alignment:4-byte boundary
    APID:596/0x254
    Attribute(s):
    C type:unsigned int
    Length: 32 bits (4 bytes)

Description:

    Power configuration bits from the SIB

Layout: (hide detail; help)

    SIBconfig (bf)
    |  Padui16 spare0 (0-15)
    |  Padui8 spare1 (16-23)
    |  Padui3 spare2 (24-26)
    |  select mainfeed (27)
    |  switch PDUprimary (28) ... GASUredundant (31)
    

    typedef struct _LHK_SIBconfig_Bfl {
    
        #if ENDIANNESS_IS_BIG
    
        /* Explicit 16 bit pad in unsigned int */
        unsigned int         spare0:16;
    
        /* Explicit 8 bit pad in unsigned int */
        unsigned int         spare1:8;
    
        /* Explicit 3 bit pad in unsigned int */
        unsigned int         spare2:3;
    
        /* Primary/redundant selector */
        unsigned int         mainfeed:1;
    
        /* A switch (usually a power switch) */
        unsigned int         PDUprimary:1;
    
        /* A switch (usually a power switch) */
        unsigned int         PDUredundant:1;
    
        /* A switch (usually a power switch) */
        unsigned int         GASUprimary:1;
    
        /* A switch (usually a power switch) */
        unsigned int         GASUredundant:1;
    
        #elif ENDIANNESS_IS_LITTLE
    
        /* A switch (usually a power switch) */
        unsigned int         GASUredundant:1;
    
        /* A switch (usually a power switch) */
        unsigned int         GASUprimary:1;
    
        /* A switch (usually a power switch) */
        unsigned int         PDUredundant:1;
    
        /* A switch (usually a power switch) */
        unsigned int         PDUprimary:1;
    
        /* Primary/redundant selector */
        unsigned int         mainfeed:1;
    
        /* Explicit 3 bit pad in unsigned int */
        unsigned int         spare2:3;
    
        /* Explicit 8 bit pad in unsigned int */
        unsigned int         spare1:8;
    
        /* Explicit 16 bit pad in unsigned int */
        unsigned int         spare0:16;
    
        #else
    
        #error _FILE_ ENDIANNESS NOT DEFINED
    
        #endif
    
    } __attribute__((packed)) LHK_SIBconfig_Bfl;
    
    typedef union _LHK_SIBconfig {
    
        /* underlying unsigned int */
        unsigned int                    ui;
    
        /* struct mapped bitfield */
        struct _LHK_SIBconfig_Bfl       bf;
    
    } LHK_SIBconfig;
    

Fields:

      Attribute(s):  

      Brief:  "Explicit 16 bit pad in unsigned int"

      Instance(s):  spare0

      Explicit 16 bit pad in unsigned int

      Attribute(s):  

      Brief:  "Explicit 3 bit pad in unsigned int"

      Instance(s):  spare2

      Explicit 3 bit pad in unsigned int

      Attribute(s):  

      Brief:  "Explicit 8 bit pad in unsigned int"

      Instance(s):  spare1

      Explicit 8 bit pad in unsigned int

      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)

Used by: