/* configure the HXTAL divider used as input of PLL  */
void rcu_hxtal_prediv_config(uint32_t hxtal_prediv)
/* configure the HXTAL divider used as input of PLL  */
void rcu_hxtal_prediv_config(uint32_t hxtal_prediv)
{
    uint32_t prediv = 0;
    prediv = RCU_CFG1;
    prediv &= ~RCU_CFG1_HXTALPREDV;
    RCU_CFG1 = (prediv | hxtal_prediv);
}