/* switch high-driver mode this bit set by software only when IRC16M or HXTAL used as system clock  */
void pmu_highdriver_switch_select(uint32_t highdr_switch)
/* switch high-driver mode this bit set by software only when IRC16M or HXTAL used as system clock  */
void pmu_highdriver_switch_select(uint32_t highdr_switch)
{
    while(SET != pmu_flag_get(PMU_FLAG_HDRF)) {
    }
    PMU_CTL &= ~PMU_CTL_HDS;
    PMU_CTL |= highdr_switch;
}