/* configure the PREDV0 division factor and clock source  */
void rcu_predv0_config(uint32_t predv0_source, uint32_t predv0_div)
/* configure the PREDV0 division factor and clock source  */
void rcu_predv0_config(uint32_t predv0_source, uint32_t predv0_div)
{
    uint32_t reg = 0U;
    reg = RCU_CFG1;
    reg &= ~(RCU_CFG1_PREDV0SEL | RCU_CFG1_PREDV0);
    reg |= (predv0_source | predv0_div);
    RCU_CFG1 = reg;
}