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

📄 p_mphc.val

📁 GSM手机设计软件代码
💻 VAL
📖 第 1 页 / 共 2 页
字号:
#define SI_EBLOCK_1                    (0x200)    /* TC 1 extended                  */
#define SI_EBLOCK_2                    (0x400)    /* TC 2 extended                  */
#define SI_EBLOCK_3                    (0x800)    /* TC 3 extended                  */
#define SI_EBLOCK_4                    (0x1000)   /* TC 4 extended                  */
#define SI_EBLOCK_5                    (0x2000)   /* TC 5 extended                  */
#define SI_EBLOCK_6                    (0x4000)   /* TC 6 extended                  */
#define SI_EBLOCK_7                    (0x8000)   /* TC 7 extended                  */
#define NCELL_BCCH_SI_2                (0x2)      /* PLMN Search                    */
#define NCELL_BCCH_SI_3_4              (0xcc)     /* Ncell BCCH                     */
#define NCELL_BCCH_SI_2_3_4            (0xce)     /* PLMN Search                    */
#define NCELL_BCCH_SI_3_7_8            (0x8844)   /* Ncell BCCH                     */
/*
 * Value constants for gprs_prio
 */
#define GPRS_PRIO_TOP                  (0x0)      /* Higher than serving cell       */
#define GPRS_PRIO_HIGH                 (0x1)      /* Higher than normal ncell bcch reading */
#define GPRS_PRIO_NORM                 (0x2)      /* Normal                         */
/*
 * Value constants for cbch_select
 */
#define CBCH_READ_EXT                  (0x1)      /* read extended CBCH             */
#define CBCH_READ_NORM                 (0x0)      /* read normal CBCH               */
/*
 * Value constants for schedule_length
 */
#define CBCH_NO_SCHED                  (0x0)      /* no scheduling provided         */
/*
 * Value constants for tb_bitmap
 */
#define CBCH_NORM_BLOCK2               (0x1)      /* norm block 2                   */
#define CBCH_NORM_BLOCK3               (0x2)      /* norm block 3                   */
#define CBCH_NORM_BLOCK4               (0x4)      /* norm block 4                   */
#define CBCH_EXT_BLOCK2                (0x8)      /* ext block 2                    */
#define CBCH_EXT_BLOCK3                (0x10)     /* ext block 3                    */
#define CBCH_EXT_BLOCK4                (0x20)     /* ext block 4                    */
#define CBCH_NORM_BLOCK234             (0x7)      /* request all blocks             */
#define CBCH_EXT_BLOCK234              (0x38)     /* all ext blocks                 */
/*
 * Value constants for normal_cbch
 */
#define CBCH_DONT_STOP                 (0x0)      /* dont stop cbch                 */
#define CBCH_STOP                      (0x1)      /* stop cbch                      */
/*
 * Value constants for powerclass_gsm
 */
#define POW_CLASS_1                    (0x1)      /* Class 1                        */
#define POW_CLASS_2                    (0x2)      /* Class 2                        */
#define POW_CLASS_3                    (0x3)      /* Class 3                        */
#define POW_CLASS_4                    (0x4)      /* Class 4                        */
#define POW_CLASS_5                    (0x5)      /* Class 5                        */
/*
 * Value constants for dtx_allowed
 */
#define DTX_NOTALLOWED                 (0x0)      /* DTX is not allowed             */
#define DTX_ALLOWED                    (0x1)      /* DTX is allowed                 */
/*
 * Value constants for pwrc
 */
#define PWRC_NOT_SET                   (0x0)      /* PWRC is not set                */
#define PWRC_SET                       (0x1)      /* PWRC is set                    */
/*
 * Value constants for cause
 */
#define HO_COMPLETE                    (0x0)      /* success                        */
#define HO_TIMEOUT                     (0x1)      /* timeout                        */
/*
 * Value constants for nci
 */
#define HO_TA_OUT_IGNORED              (0x0)      /* timing advance out of range is ignored */
#define HO_TA_OUT_NOT_IGNORED          (0x1)      /* timing advance out of range is not ignored */
/*
 * Value constants for timing_advance_valid
 */
#define HO_TA_NOT_VALID                (0x0)      /* timing advance information is not valid */
#define HO_TA_VALID                    (0x1)      /* timing advance information is valid */
/*
 * Value constants for channel_mode
 */
#define CM_SIGNALLING_ONLY             (0x0)      /* signalling only                */
#define CM_TCH_FS                      (0x1)      /* TCH full rate speech           */
#define CM_TCH_HS                      (0x2)      /* TCH half rate speech           */
#define CM_TCH_96                      (0x3)      /* TCH data 9600                  */
#define CM_TCH_F_48                    (0x4)      /* TCH data full rate 4800        */
#define CM_TCH_H_48                    (0x5)      /* TCH data half rate 4800        */
#define CM_TCH_F_24                    (0x6)      /* TCH data full rate 2400        */
#define CM_TCH_H_24                    (0x7)      /* TCH data half rate 2400        */
#define CM_TCH_EFR                     (0x8)      /* TCH                            */
#define CM_TCH_144                     (0x9)      /* TCH                            */
#define CM_TCH_AHS                     (0xa)      /* TCH AMR half rate              */
#define CM_TCH_AFS                     (0xb)      /* TCH AMR full rate              */
/*
 * Value constants for dtx_used
 */
#define DTX_NOT_USED                   (0x0)      /* DTX was not used               */
#define DTX_USED                       (0x1)      /* DTX was used                   */
/*
 * Value constants for meas_valid
 */
#define MEAS_ARE_NOT_VALID             (0x0)      /* measurement values are not valid */
#define MEAS_ARE_VALID                 (0x1)      /* measurement values are valid   */
/*
 * Value constants for frame_erasure
 */
#define TCH_LOOP_A                     (0x0)      /* TCH loop A                     */
#define TCH_LOOP_B                     (0x1)      /* TCH loop B                     */
#define TCH_LOOP_C                     (0x2)      /* TCH loop C                     */
#define TCH_LOOP_D                     (0x3)      /* TCH loop D                     */
#define TCH_LOOP_E                     (0x4)      /* TCH loop E                     */
#define TCH_LOOP_F                     (0x5)      /* TCH loop F                     */
/*
 * Value constants for tested_device
 */
#define DAI_NO_TEST                    (0x0)      /* no test                        */
#define DAI_S_DEC                      (0x1)      /* speech decoder                 */
#define DAI_S_COD                      (0x2)      /* speech coder                   */
#define DAI_ACOUSTIC                   (0x4)      /* acoustic tests                 */
/*
 * Value constants for sleep_mode
 */
#define NO_SLEEP                       (0x0)      /* no sleep mode                  */
#define SMALL_SLEEP                    (0x1)      /* small sleep mode               */
#define BIG_SLEEP                      (0x2)      /* big sleep mode                 */
#define DEEP_SLEEP                     (0x3)      /* deep sleep mode                */
#define ALL_SLEEP                      (0x4)      /* all sleep modes                */
/*
 * Value constants for Clocks
 */
#define CL_ARMIO                       (0x1)      /* ARMIO_CLK                      */
#define CL_RIFR                        (0x2)      /* RIF_CLKR                       */
#define CL_RIFX                        (0x4)      /* RIF_CLKX                       */
#define CL_RIF13                       (0x10)     /* RIF_CLK13                      */
#define CL_NCLK                        (0x20)     /* UWIRE_CLK                      */
#define CL_SIM                         (0x40)     /* SIM_CLK                        */
#define CL_TSP                         (0x80)     /* TSP_CLK                        */
#define CL_TIMER                       (0x100)    /* TIMER_CLK                      */
#define CL_TPU                         (0x200)    /* TPU_CLK                        */
#define CL_UART                        (0x400)    /* UART_CLK                       */
#define CL_SW_CLOCK                    (0x800)    /* SWITCH_IRQ_CLK                 */
/*
 * Value constants for radio_band_config
 */
#define STD_900                        (0x1)      /* GSM 900                        */
#define STD_EGSM                       (0x2)      /* extended GSM                   */
#define STD_1900                       (0x3)      /* PCS 1900                       */
#define STD_1800                       (0x4)      /* DCS 1800                       */
#define STD_DUAL                       (0x5)      /* GSM 900 / DCS 1800             */
#define STD_DUAL_EGSM                  (0x6)      /* extended GSM / DCS 1800        */
#define STD_850                        (0x7)      /* GSM 850                        */
#define STD_DUAL_US                    (0x8)      /* GSM 850 / PCS 1900             */

/*
 * user defined constants
 */
#define BA_LIST_SIZE                   (0x21)     
#define MAX_NCELL_EOTD_L1              (0xc)      
#define MAX_NCELL                      (0x6)      
#define MAX_CARRIERS                   (0x224)    
#define BCCH_LIST_SIZE                 (0x20)     
#define MAX_MEAS_VALUES                (0x8)      
#define MAX_L2_FRAME_SIZE              (0x17)     
#define MAX_MA_CARRIER                 (0x40)     
#define MAX_SCHED_SIZE                 (0xa)      
#define ADC_LIST_SIZE                  (0x5)      

#include "CDG_LEAVE.h"


#endif

⌨️ 快捷键说明

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