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

siu_cfg - Telecommand Bitfield


"SIU on configuration" (DAQ/ISIS)

View Options: (help)

Definition:

    Alignment:2-byte boundary
    APID:1672/0x688:16
    Attribute(s):
    C type:unsigned short
    Length: 16 bits (2 bytes)

Description:

Layout: (hide detail; help)

    Start Stop Size Item Type and Name

    typedef struct _ISIS_siu_cfg_Bfl {
    
        #if ENDIANNESS_IS_BIG
    
        /* Identifies the SIU */
        unsigned short       siu:2;
    
        /* Simple primary-seconday selector */
        unsigned short       mf:1;
    
        /* Simple on-off selector */
        unsigned short       pdu_0:1;
    
        /* Simple on-off selector */
        unsigned short       pdu_1:1;
    
        /* Simple primary-seconday selector */
        unsigned short       dab:1;
    
        /* Simple on-off selector */
        unsigned short       pps_i:1;
    
        /* Simple primary-seconday selector */
        unsigned short       pps:1;
    
        /* Simple primary-seconday selector */
        unsigned short       gbm:1;
    
        /* Simple primary-seconday selector */
        unsigned short       ssr:1;
    
        /* Bits, 6 wide */
        unsigned short       pad:6;
    
        #elif ENDIANNESS_IS_LITTLE
    
        /* Bits, 6 wide */
        unsigned short       pad:6;
    
        /* Simple primary-seconday selector */
        unsigned short       ssr:1;
    
        /* Simple primary-seconday selector */
        unsigned short       gbm:1;
    
        /* Simple primary-seconday selector */
        unsigned short       pps:1;
    
        /* Simple on-off selector */
        unsigned short       pps_i:1;
    
        /* Simple primary-seconday selector */
        unsigned short       dab:1;
    
        /* Simple on-off selector */
        unsigned short       pdu_1:1;
    
        /* Simple on-off selector */
        unsigned short       pdu_0:1;
    
        /* Simple primary-seconday selector */
        unsigned short       mf:1;
    
        /* Identifies the SIU */
        unsigned short       siu:2;
    
        #else
    
        #error _FILE_ ENDIANNESS NOT DEFINED
    
        #endif
    
    } __attribute__((packed)) ISIS_siu_cfg_Bfl;
    
    typedef union _ISIS_siu_cfg {
    
        /* underlying unsigned short */
        unsigned short                  us;
    
        /* struct mapped bitfield */
        struct _ISIS_siu_cfg_Bfl        bf;
    
    } ISIS_siu_cfg;
    

Used by: