/* param base CMC peripheral base address. param mode System clock mode.  */
void CMC_SetClockMode(CMC_Type *base, cmc_clock_mode_t mode)
/* param base CMC peripheral base address. param mode System clock mode.  */
void CMC_SetClockMode(CMC_Type *base, cmc_clock_mode_t mode)
{
    uint32_t reg;
    reg = base->CKCTRL;
    reg &= ~CMC_CKCTRL_CKMODE_MASK;
    reg |= CMC_CKCTRL_CKMODE((mode));
    base->CKCTRL = reg;
}