/* Transition from the PBE (PLL Bypassed External) to the PEE (PLL Engaged External) mode.  */
static void clock_pbe_to_pee(void)
/* Transition from the PBE (PLL Bypassed External) to the PEE (PLL Engaged External) mode.  */
static void clock_pbe_to_pee(void)
{
	KINETIS_MCG->c1 =
		(KINETIS_MCG->c1 & ~KINETIS_MCG_C1_CLKS_MSK) |
		KINETIS_MCG_C1_CLKS_FLLPLL_MSK;
	while ((KINETIS_MCG->status & KINETIS_MCG_S_CLKST_MSK) !=
		KINETIS_MCG_S_CLKST_PLL);
}