/* brief Exit Limp mode warning The PLL should be set and locked prior to exiting Limp mode  */
void clock_exit_limp(void)
/* brief Exit Limp mode warning The PLL should be set and locked prior to exiting Limp mode  */
void clock_exit_limp(void)
{
	ccm_t *ccm = (ccm_t *)MMAP_CCM;
	pll_t *pll = (pll_t *)MMAP_PLL;
	clrbits_be16(&ccm->misccr, CCM_MISCCR_LIMP);
	while (!(in_be32(&pll->psr) & PLL_PSR_LOCK))
		;
}