/* Switch high speed to high performance, set the drive ability.  */
int32_t PWC_HighSpeedToHighPerformance(void)
/* Switch high speed to high performance, set the drive ability.  */
int32_t PWC_HighSpeedToHighPerformance(void)
{
    DDL_ASSERT(IS_PWC_UNLOCKED());
    MODIFY_REG8(CM_PWC->PWRC2, PWC_PWRC2_DDAS | PWC_PWRC2_DVS, PWC_PWRC2_DDAS);
    WRITE_REG8(CM_PWC->MDSWCR, PWC_MD_SWITCH_CMD);
    DDL_DelayUS(PWC_MD_SWITCH_TIMEOUT);
    return LL_OK;
}