MT2502充電電流

SZX511發表於2018-12-11

1.MT2502支援16級電流,每種電流均用CHR_CS_VTH描述。注意:紅色標記的部分與預設值不同,該值將被修改。

const DCL_UINT32 chr_CS_VTH[CS_VTH_SIZE]=

{

PMU_CHARGE_CURRENT_1600_00_MA, PMU_CHARGE_CURRENT_1500_00_MA,

PMU_CHARGE_CURRENT_1400_00_MA, PMU_CHARGE_CURRENT_1300_00_MA,


PMU_CHARGE_CURRENT_1200_00_MA, PMU_CHARGE_CURRENT_1100_00_MA,

PMU_CHARGE_CURRENT_1000_00_MA, PMU_CHARGE_CURRENT_900_00_MA,

PMU_CHARGE_CURRENT_800_00_MA, PMU_CHARGE_CURRENT_700_00_MA,

PMU_CHARGE_CURRENT_650_00_MA, PMU_CHARGE_CURRENT_550_00_MA,

PMU_CHARGE_CURRENT_450_00_MA, PMU_CHARGE_CURRENT_300_00_MA,

PMU_CHARGE_CURRENT_200_00_MA, PMU_CHARGE_CURRENT_70_00_MA

};


2.當USB充電電流無法更改時,修改如下:

void bmt_set_chr_current(void) //hal\peripheral\src\bmt_utility.c

{

......

case PW_USB_CHR:


chr_current =CHR_USB_CHARGE_CURRENT;

drv_trace0(TRACE_GROUP_10, BMT_SET_USB_CHARGE_CURRENT_TRC);

kal_prompt_trace(MOD_BMT, "USB:chr_current= %d",chr_current);

break;

......

}


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/31529038/viewspace-2284829/,如需轉載,請註明出處,否則將追究法律責任。

相關文章