/* param base DCDC peripheral base address. param VDDRun Target value in run mode. 25 mV each step from 0x00 to 0x1F. 00 is for 0.8V, 0x1F is for 1.575V.  */
void DCDC_AdjustRunTargetVoltage(DCDC_Type *base, uint32_t VDDRun)
/* param base DCDC peripheral base address. param VDDRun Target value in run mode. 25 mV each step from 0x00 to 0x1F. 00 is for 0.8V, 0x1F is for 1.575V.  */
void DCDC_AdjustRunTargetVoltage(DCDC_Type *base, uint32_t VDDRun)
{
    uint32_t tmp32;
    base->REG3 &= ~DCDC_REG3_DISABLE_STEP_MASK;
    tmp32 = base->REG3 & ~DCDC_REG3_TRG_MASK;
    tmp32 |= DCDC_REG3_TRG(VDDRun);
    base->REG3 = tmp32;
    while (DCDC_REG0_STS_DC_OK_MASK != (DCDC_REG0_STS_DC_OK_MASK & base->REG0))
    {
    }
}