mt2503 How to enable VSIM
时间:10-02
整理:3721RD
点击:
[DESCRIPTION]
How to enable VSIM
[SOLUTION]
void pmu6261_customization_init(void)
{
......
{
PMU_CTRL_LDO_BUCK_SET_EN val;
PMU_CTRL_LDO_BUCK_SET_VOLTAGE voltage_tmp;
voltage_tmp.voltage=PMU_VOLT_01_800000_V; //or PMU_VOLT_03_000000_V
voltage_tmp.mod=VSIM2;
DclPMU_Control(handle, LDO_BUCK_SET_VOLTAGE, (DCL_CTRL_DATA_T *)&voltage_tmp);
val.enable=DCL_TRUE;
val.mod=VSIM2;
DclPMU_Control(handle, LDO_BUCK_SET_EN, (DCL_CTRL_DATA_T *)&val);
DclPMU_Control(handle, LDO_BUCK_SET_VSIM2_GPLDO_EN , (DCL_CTRL_DATA_T *)&val);
}
......
}
How to enable VSIM
[SOLUTION]
void pmu6261_customization_init(void)
{
......
{
PMU_CTRL_LDO_BUCK_SET_EN val;
PMU_CTRL_LDO_BUCK_SET_VOLTAGE voltage_tmp;
voltage_tmp.voltage=PMU_VOLT_01_800000_V; //or PMU_VOLT_03_000000_V
voltage_tmp.mod=VSIM2;
DclPMU_Control(handle, LDO_BUCK_SET_VOLTAGE, (DCL_CTRL_DATA_T *)&voltage_tmp);
val.enable=DCL_TRUE;
val.mod=VSIM2;
DclPMU_Control(handle, LDO_BUCK_SET_EN, (DCL_CTRL_DATA_T *)&val);
DclPMU_Control(handle, LDO_BUCK_SET_VSIM2_GPLDO_EN , (DCL_CTRL_DATA_T *)&val);
}
......
}