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

📄 klm.pcf

📁 做MTK手机开发的硬件测试小工具
💻 PCF
字号:
;  This file is used to configure the 
; 
;  *******************************************************************
;  KEYWORK DISCRIPTION:
;  *******************************************************************
;         ';' : comment of setting document
; 
;  *******************************************************************
;  *      Format of testing items
;  *******************************************************************
;                   
;   Take LCM Test as an example:
;                
;       [LCM TEST] 
;           "RED",      "AT+LCM"
;           "GREEN",    "AT+LCM"
;           "BLUE",     "AT+BLUE"
;           "WHITE",    "AT+WHITE"
;              
;   In the previous samples, we describs in details.
;      [LCM TEST] :  this is the category of the testing items
;         "RED", "AT+LCM"  : this is the red color testing and the second
;                            field the correspond AT command to target.
;         "GREEN", "AT+LCM": this is the second testing item in LCM category
;                              
;
;[CONSTANT DEFINITIOIN]
;   This filed is used for defining the constands that will be used in the
;   MMI TESTING APPLICTIONS.
; 

[LCM TEST]
    "Red",	    1000,	S,	"AT+ELCM=0",	E,	"AT+ELCM=4"
    "Green",    1000,	S,	"AT+ELCM=1",	E,	"AT+ELCM=4"
	"Blue",	    1000,	S,	"AT+ELCM=2",	E,	"AT+ELCM=4"
	"Normal",   1000,   S,  "AT+ELCM=3",    E,	"AT+ELCM=4"

    
[KEYPAD BACKLIGTH]                                                   
    "LEVEL1",   1000,	S,	"AT+EPWM=2,0,65,20",	E,	"AT+EPWM=3,0"
	"LEVEL2",   1000,	S,	"AT+EPWM=2,0,65,40",	E,	"AT+EPWM=3,0"
	"LEVEL3",   1000,	S,	"AT+EPWM=2,0,65,60",	E,	"AT+EPWM=3,0"
	"LEVEL4",   1000,	S,	"AT+EPWM=2,0,65,100",	E,	"AT+EPWM=3,0"
    
                 
[LCM BACKLIGHT]
    "LEVEL1",	1000,	S,	"AT+EPWM=2,1,100,50",	E,	"AT+EPWM=3,1"
    "LEVEL2",	1000,	S,	"AT+EPWM=2,1,100,60",	E,	"AT+EPWM=3,1"
    "LEVEL3",	1000,	S,	"AT+EPWM=2,1,100,70",	E,	"AT+EPWM=3,1"
	"LEVEL4",	1000,	S,	"AT+EPWM=2,1,100,80",	E,	"AT+EPWM=3,1"
    
[3 Color LED]    
    "RED",	    1000,	S,	"AT+EGPIO=0,1",			E, "AT+EGPIO=0,0"
    "GREEN",    1000,	S,  "AT+EGPIO=13,1",		E, "AT+EGPIO=13,0"
	"BLUE",	    1000,	S,	"AT+EGPIO=14,1",		E, "AT+EGPIO=14,0"
                                         

[Vibrator]
	"Vibrator Test",	1000,	S,	"AT+EGPIO=15,1",	E,	"AT+EGPIO=15,0"


[KEYPAD]                                                   
	"KEYPRESS", 1000,	S,	"AT+EKPD=1",	E,	"AT+EKPD=0" 

[ADC]
   "ADC",	1000,	S,	"AT+EADC=1",	E,	"AT+EADC=0"
   
[Interrupt]
    "Charger", 1000,   S,  "AT+CEMS=1",    E, "AT+CEMS=0"
    "Ear Phone", 1000, S,  "AT+CEMS=1",     E, "AT+CEMS=0"
    
[Charger]
    "3.6V",  1000,   S, "AT+EADC=1",     E, "AT+EADC=0"
    "4.17V", 1000,   S, "AT+EADC=1",     E, "AT+EADC=0"
    
[SUB BACKLIGHT]
    "SUB_LCM",	1000,	S,	"AT+EGPIO=2,1",	        E,	"AT+EGPIO=2,0"
    

[RING TONE]
    "Test Ring", 1000,  S,  "AT+CASP=1,151,1",  E,  "AT+CASP=2,151"
        
;[SPEECH]
;	"NORMAL",	1000,	S,	"AT+ESAM=0",	S,	"AT+ESLT=2, 255", S, "AT+EALT=1", E, "AT+EALT=0"
;	"LOUD SPEACKER",1000,	S,	"AT+ESAM=1",	S,	"AT+ESLT=4, 255", S, "AT+EALT=1", E, "AT+EALT=0"


[SIM]
    "SIM DETECT",   1000,   S, "AT+ESIMS?"  , E,    "AT"
   
;[RTC]
;    "RTC"   , 1000, S,  "AT+CCLK=",  S, "AT+CALA", S, "AT+CKPD="E",20, "
    
    

⌨️ 快捷键说明

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