/* brief Enables and sets LDO for High Frequency crystal oscillator. return none Sets Enables and sets LDO for High Frequency crystal oscillator.  */
void CLOCK_SetXtalHfLdo(void)
/* brief Enables and sets LDO for High Frequency crystal oscillator. return none Sets Enables and sets LDO for High Frequency crystal oscillator.  */
void CLOCK_SetXtalHfLdo(void)
{
    uint32_t temp;
    const uint32_t u32Mask =
        (ANACTRL_LDO_XO32M_VOUT_MASK | ANACTRL_LDO_XO32M_IBIAS_MASK | ANACTRL_LDO_XO32M_STABMODE_MASK);
    const uint32_t u32Value =
        (ANACTRL_LDO_XO32M_VOUT(0x5) | ANACTRL_LDO_XO32M_IBIAS(0x2) | ANACTRL_LDO_XO32M_STABMODE(0x1));
    temp = ANACTRL->LDO_XO32M;
    if ((temp & u32Mask) != u32Value)
    {
        temp &= ~u32Mask;
        temp |= u32Value;
        ANACTRL->LDO_XO32M = temp;
    }
    PMC->PDRUNCFGCLR0 = PMC_PDRUNCFG0_PDEN_LDOXTALHF_MASK;
}