⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tmbsltda18271local.h

📁 nxp silicon tuner 18271 sample code
💻 H
📖 第 1 页 / 共 3 页
字号:
        {                                
            UInt8 EXTENDED_BYTE_3;          /* address 0x12 */
        }uBx12;                             /* Extended byte 3 */


        union                                
        {                                
            UInt8 EXTENDED_BYTE_4;          /* address 0x13 */
                                            /* Extended byte 4 */
            struct
            {            
#ifdef _BIG_ENDIAN
                UInt8 UNUSED_2          :2; /* Reserved */
                UInt8 LO_ForceSrce      :1;
                UInt8 UNUSED_1          :5; /* Reserved */
#else
                UInt8 UNUSED_1          :5; /* Reserved */
                UInt8 LO_ForceSrce      :1;
                UInt8 UNUSED_2          :2; /* Reserved */
#endif
            }bF;
        }uBx13;    

        union                                
        {                                
            UInt8 EXTENDED_BYTE_5;           /* address 0x14 */
        }uBx14;                              /* Extended byte 5 */

        union                                
        {                                
            UInt8 EXTENDED_BYTE_6;          /* address 0x15 */
        }uBx15;                             /* Extended byte 6 */

        union                                
        {                                
            UInt8 EXTENDED_BYTE_7;          /* address 0x16 */
                                            /* Extended byte 7 */
            struct
            {            
#ifdef _BIG_ENDIAN
                UInt8 UNUSED_2          :2; /* Reserved */
                UInt8 CAL_ForceSrce     :1;
                UInt8 UNUSED_1          :4; /* Reserved */
                UInt8 CAL_Lock          :1;
#else
                UInt8 CAL_Lock          :1;
                UInt8 UNUSED_1          :4; /* Reserved */
                UInt8 CAL_ForceSrce     :1;
                UInt8 UNUSED_2          :2; /* Reserved */
#endif
            }bF;
        }uBx16;    

        union                                
        {                                
            UInt8 EXTENDED_BYTE_8;          /* address 0x17 */
                                            /* Extended byte 8 */
            struct
            {            
#ifdef _BIG_ENDIAN
                UInt8 CID_Alarm         :1;
                UInt8 UNUSED            :7; /* Reserved */
#else
                UInt8 UNUSED            :7; /* Reserved */
                UInt8 CID_Alarm         :1;
#endif
            }bF;
        }uBx17;

        union                                
        {                                
            UInt8 EXTENDED_BYTE_9;          /* address 0x18 */
        }uBx18;                             /* Extended byte 9 */

        union                                
        {                                
            UInt8 EXTENDED_BYTE_10;         /* address 0x19 */
                                            /* Extended byte 10 */
            struct
            {            
#ifdef _BIG_ENDIAN
                UInt8 UNUSED            :2; /* Reserved */
                UInt8 CID_Gain          :6; 
#else
                UInt8 CID_Gain          :6;
                UInt8 UNUSED            :2; /* Reserved */
#endif
            }bF;
        }uBx19;

        union                                
        {                                
            UInt8 EXTENDED_BYTE_11;         /* address 0x1A */
        }uBx1A;                             /* extended byte 11 */

        union                                
        {                                
            UInt8 EXTENDED_BYTE_12;         /* address 0x1B */
                                            /* Extended byte 12 */
            struct
            {            
#ifdef _BIG_ENDIAN
                UInt8 UNUSED_2          :2; /* Reserved */
                UInt8 PD_AGC1_Det       :1;
                UInt8 PD_AGC2_Det       :1;
                UInt8 UNUSED_1          :4; /* Reserved */
#else
                UInt8 UNUSED_1          :4; /* Reserved */
                UInt8 PD_AGC2_Det       :1;
                UInt8 PD_AGC1_Det       :1;
                UInt8 UNUSED_2          :2; /* Reserved */
#endif
            }bF;
        }uBx1B;

        union                                
        {                                
            UInt8 EXTENDED_BYTE_13;         /* address 0x1C */
                                            /* Extended byte 13 */
            struct
            {            
#ifdef _BIG_ENDIAN
                UInt8 UNUSED_2          :1; /* Reserved */
                UInt8 RFC_K             :3;
                UInt8 RFC_M             :2;
                UInt8 UNUSED_1          :2; /* Reserved */
#else
                UInt8 UNUSED_1          :2; /* Reserved */
                UInt8 RFC_M             :2;
                UInt8 RFC_K             :3;
                UInt8 UNUSED_2          :1; /* Reserved */
#endif
            }bF;
        }uBx1C;

        union                                
        {                                
            UInt8 EXTENDED_BYTE_14;         /* address 0x1D */
                                            /* Extended byte 14 */
            UInt8 RFC_Cprog;
        }uBx1D;

        union                                
        {                                
            UInt8 EXTENDED_BYTE_15;         /* address 0x1E */
        }uBx1E;                             /* Extended byte 15 */

        union                                
        {                                
            UInt8 EXTENDED_BYTE_16;         /* address 0x1F */
        }uBx1F;                             /* Extended byte 16 */

        union                                
        {                                
            UInt8 EXTENDED_BYTE_17;         /* address 0x20 */
        }uBx20;                             /* Extended byte 17 */

        union                                
        {                                
            UInt8 EXTENDED_BYTE_18;         /* address 0x21 */
                                            /* Extended byte 18 */
            struct                            
            {            
#ifdef _BIG_ENDIAN
                UInt8 AGC1_loop_off     :1;
                UInt8 UNUSED            :5; /* Reserved */
                UInt8 AGC1_Gain         :2;
#else
                UInt8 AGC1_Gain         :2;
                UInt8 UNUSED            :5; /* Reserved */
                UInt8 AGC1_loop_off     :1;
#endif
            }bF;
        }uBx21;    

        union                                
        {                                
            UInt8 EXTENDED_BYTE_19;         /* address 0x22 */
        }uBx22;                             /* extended byte 19 */

        union                                
        {                                
            UInt8 EXTENDED_BYTE_20;         /* address 0x23 */
                                            /* Extended byte 20 */
            struct                            
            {            
#ifdef _BIG_ENDIAN
                UInt8 UNUSED_2          :2; /* Reserved */
                UInt8 Force_Lock        :1;
                UInt8 UNUSED_1          :5; /* Reserved */
#else
                UInt8 UNUSED_1          :5; /* Reserved */
                UInt8 Force_Lock        :1;
                UInt8 UNUSED_2          :2; /* Reserved */
#endif
            }bF;
        }uBx23;

        union                                
        {                                
            UInt8 EXTENDED_BYTE_21;         /* address 0x24 */
                                            /* Extended byte 21 */
            struct                            
            {            
#ifdef _BIG_ENDIAN
                UInt8 AGC2_loop_off     :1;
                UInt8 UNUSED            :5; /* Reserved */
                UInt8 AGC2_Gain         :2;
#else
                UInt8 AGC2_Gain         :2;
                UInt8 UNUSED            :5; /* Reserved */
                UInt8 AGC2_loop_off     :1;
#endif
            }bF;
        }uBx24;    

        union                                
        {                                
            UInt8 EXTENDED_BYTE_22;         /* address 0x25 */
        }uBx25;                             /* Extended byte 22 */

        union                                
        {                                
            UInt8 EXTENDED_BYTE_23;         /* address 0x26 */
                                            /* Extended byte 23 */
            struct                            
            {            
#ifdef _BIG_ENDIAN
                UInt8 FM_LNAGain        :2;
                UInt8 UNUSED_2          :3; /* Reserved */
                UInt8 ForceLP_Fc2_En    :1;
                UInt8 LP_Fc             :1;
                UInt8 UNUSED_1          :1; /* Reserved */
#else
                UInt8 UNUSED_1          :1; /* Reserved */
                UInt8 LP_Fc             :1;
                UInt8 ForceLP_Fc2_En    :1;
                UInt8 UNUSED_2          :3; /* Reserved */
                UInt8 FM_LNAGain        :2;
#endif
            }bF;
        }uBx26;    

    } tmTDA18271I2CMap_t, *ptmTDA18271I2CMap_t;                                    


    typedef struct _tmTDA18271Object_t {
        tmUnitSelect_t              tUnit;
        Bool                        init;
        tmbslFrontEndIoFunc_t       sRWFunc;
        tmbslFrontEndTimeFunc_t     sTime;
        tmbslFrontEndDebugFunc_t    sDebug;
        tmTDA18271PowerState_t      curPowerState;
        tmTDA18271StandardMode_t    StandardMode;
        tmTDA18271Config_t          Config;
        tmTDA18271I2CMap_t          I2CMap;
    } tmTDA18271Object_t, *ptmTDA18271Object_t, **pptmTDA18271Object_t;

/*-----------------------------------------------------------------------------*/
/* Function:                                                                   */
/*-----------------------------------------------------------------------------*/




#ifdef __cplusplus
}
#endif

#endif /* _TMBSL_TDA18271LOCAL_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -